@mlightcad/cad-simple-viewer 1.8.0-preview.3 → 1.8.0-preview.4

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 (664) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +206 -204
  3. package/dist/cad-simple-viewer-AcApSimpleUiChrome-D_0b6okm.js +890 -0
  4. package/dist/cad-simple-viewer-AcApSimpleUiChrome-DcZiBNvh.js +1 -0
  5. package/dist/cad-simple-viewer-AcUiFileOpenSession-AGSCe0Nv.js +324 -0
  6. package/dist/{cad-simple-viewer-AcUiFileOpenSession-BCcqBAH9.js → cad-simple-viewer-AcUiFileOpenSession-Bo3U3wCu.js} +707 -167
  7. package/dist/cad-simple-viewer-file-open-panel.js +26 -24
  8. package/dist/cad-simple-viewer-file-open-panel.umd.cjs +1 -1
  9. package/dist/cad-simple-viewer.js +64409 -41558
  10. package/dist/cad-simple-viewer.umd.cjs +1659 -497
  11. package/dist/mtext-renderer-worker.js +4 -5
  12. package/file-open-panel.ts +6 -6
  13. package/icons.ts +7 -7
  14. package/lib/app/AcApClipboard.d.ts +97 -0
  15. package/lib/app/AcApClipboard.d.ts.map +1 -0
  16. package/lib/app/AcApClipboard.js +270 -0
  17. package/lib/app/AcApClipboard.js.map +1 -0
  18. package/lib/app/AcApContext.d.ts +10 -0
  19. package/lib/app/AcApContext.d.ts.map +1 -1
  20. package/lib/app/AcApContext.js +24 -8
  21. package/lib/app/AcApContext.js.map +1 -1
  22. package/lib/app/AcApDocManager.d.ts +63 -0
  23. package/lib/app/AcApDocManager.d.ts.map +1 -1
  24. package/lib/app/AcApDocManager.js +264 -35
  25. package/lib/app/AcApDocManager.js.map +1 -1
  26. package/lib/app/AcApDocument.d.ts.map +1 -1
  27. package/lib/app/AcApDocument.js +11 -11
  28. package/lib/app/AcApDocument.js.map +1 -1
  29. package/lib/app/AcApOpenFileDialog.d.ts +2 -2
  30. package/lib/app/AcApOpenFileDialog.js +2 -2
  31. package/lib/app/AcApPaletteService.d.ts +154 -0
  32. package/lib/app/AcApPaletteService.d.ts.map +1 -0
  33. package/lib/app/AcApPaletteService.js +327 -0
  34. package/lib/app/AcApPaletteService.js.map +1 -0
  35. package/lib/app/acapHealModelLayoutLink.d.ts +30 -0
  36. package/lib/app/acapHealModelLayoutLink.d.ts.map +1 -0
  37. package/lib/app/acapHealModelLayoutLink.js +192 -0
  38. package/lib/app/acapHealModelLayoutLink.js.map +1 -0
  39. package/lib/app/dataSource/AcApLocalDataSource.d.ts +1 -1
  40. package/lib/app/dataSource/AcApLocalDataSource.js +2 -2
  41. package/lib/app/dataSource/AcApLocalDataSource.js.map +1 -1
  42. package/lib/app/dataSource/AcApUrlDataSource.js +1 -1
  43. package/lib/app/dataSource/AcApUrlDataSource.js.map +1 -1
  44. package/lib/app/index.d.ts +2 -0
  45. package/lib/app/index.d.ts.map +1 -1
  46. package/lib/app/index.js +2 -0
  47. package/lib/app/index.js.map +1 -1
  48. package/lib/command/AcApShortCutToolbarDocBind.d.ts.map +1 -1
  49. package/lib/command/AcApShortCutToolbarDocBind.js +30 -3
  50. package/lib/command/AcApShortCutToolbarDocBind.js.map +1 -1
  51. package/lib/command/AcApUcsCmd.d.ts +26 -0
  52. package/lib/command/AcApUcsCmd.d.ts.map +1 -0
  53. package/lib/command/AcApUcsCmd.js +545 -0
  54. package/lib/command/AcApUcsCmd.js.map +1 -0
  55. package/lib/command/AcApViewRestoreCmd.d.ts +13 -0
  56. package/lib/command/AcApViewRestoreCmd.d.ts.map +1 -0
  57. package/lib/command/AcApViewRestoreCmd.js +101 -0
  58. package/lib/command/AcApViewRestoreCmd.js.map +1 -0
  59. package/lib/command/block/AcApDashBSearchCmd.d.ts +57 -0
  60. package/lib/command/block/AcApDashBSearchCmd.d.ts.map +1 -0
  61. package/lib/command/block/AcApDashBSearchCmd.js +618 -0
  62. package/lib/command/block/AcApDashBSearchCmd.js.map +1 -0
  63. package/lib/command/block/index.d.ts +2 -0
  64. package/lib/command/block/index.d.ts.map +1 -0
  65. package/lib/command/block/index.js +2 -0
  66. package/lib/command/block/index.js.map +1 -0
  67. package/lib/command/clipboard/AcApClipboardUtils.d.ts +61 -0
  68. package/lib/command/clipboard/AcApClipboardUtils.d.ts.map +1 -0
  69. package/lib/command/clipboard/AcApClipboardUtils.js +203 -0
  70. package/lib/command/clipboard/AcApClipboardUtils.js.map +1 -0
  71. package/lib/command/clipboard/AcApCopyBaseCmd.d.ts +13 -0
  72. package/lib/command/clipboard/AcApCopyBaseCmd.d.ts.map +1 -0
  73. package/lib/command/clipboard/AcApCopyBaseCmd.js +95 -0
  74. package/lib/command/clipboard/AcApCopyBaseCmd.js.map +1 -0
  75. package/lib/command/clipboard/AcApCopyClipCmd.d.ts +15 -0
  76. package/lib/command/clipboard/AcApCopyClipCmd.d.ts.map +1 -0
  77. package/lib/command/clipboard/AcApCopyClipCmd.js +85 -0
  78. package/lib/command/clipboard/AcApCopyClipCmd.js.map +1 -0
  79. package/lib/command/clipboard/AcApCutClipCmd.d.ts +11 -0
  80. package/lib/command/clipboard/AcApCutClipCmd.d.ts.map +1 -0
  81. package/lib/command/clipboard/AcApCutClipCmd.js +91 -0
  82. package/lib/command/clipboard/AcApCutClipCmd.js.map +1 -0
  83. package/lib/command/clipboard/AcApPasteBlockCmd.d.ts +23 -0
  84. package/lib/command/clipboard/AcApPasteBlockCmd.d.ts.map +1 -0
  85. package/lib/command/clipboard/AcApPasteBlockCmd.js +127 -0
  86. package/lib/command/clipboard/AcApPasteBlockCmd.js.map +1 -0
  87. package/lib/command/clipboard/AcApPasteClipCmd.d.ts +14 -0
  88. package/lib/command/clipboard/AcApPasteClipCmd.d.ts.map +1 -0
  89. package/lib/command/clipboard/AcApPasteClipCmd.js +100 -0
  90. package/lib/command/clipboard/AcApPasteClipCmd.js.map +1 -0
  91. package/lib/command/clipboard/AcApPasteOrigCmd.d.ts +15 -0
  92. package/lib/command/clipboard/AcApPasteOrigCmd.d.ts.map +1 -0
  93. package/lib/command/clipboard/AcApPasteOrigCmd.js +99 -0
  94. package/lib/command/clipboard/AcApPasteOrigCmd.js.map +1 -0
  95. package/lib/command/clipboard/AcApPastePreviewJig.d.ts +37 -0
  96. package/lib/command/clipboard/AcApPastePreviewJig.d.ts.map +1 -0
  97. package/lib/command/clipboard/AcApPastePreviewJig.js +87 -0
  98. package/lib/command/clipboard/AcApPastePreviewJig.js.map +1 -0
  99. package/lib/command/clipboard/index.d.ts +9 -0
  100. package/lib/command/clipboard/index.d.ts.map +1 -0
  101. package/lib/command/clipboard/index.js +9 -0
  102. package/lib/command/clipboard/index.js.map +1 -0
  103. package/lib/command/convert/AcApBlockPreviewConvertor.d.ts +8 -0
  104. package/lib/command/convert/AcApBlockPreviewConvertor.d.ts.map +1 -1
  105. package/lib/command/convert/AcApBlockPreviewConvertor.js +16 -0
  106. package/lib/command/convert/AcApBlockPreviewConvertor.js.map +1 -1
  107. package/lib/command/convert/AcApEntityPreviewConvertor.d.ts +32 -0
  108. package/lib/command/convert/AcApEntityPreviewConvertor.d.ts.map +1 -1
  109. package/lib/command/convert/AcApEntityPreviewConvertor.js +70 -14
  110. package/lib/command/convert/AcApEntityPreviewConvertor.js.map +1 -1
  111. package/lib/command/draw/AcApDimBlockUtil.d.ts +7 -0
  112. package/lib/command/draw/AcApDimBlockUtil.d.ts.map +1 -1
  113. package/lib/command/draw/AcApDimBlockUtil.js +16 -54
  114. package/lib/command/draw/AcApDimBlockUtil.js.map +1 -1
  115. package/lib/command/draw/AcApLeaderCmd.d.ts +49 -0
  116. package/lib/command/draw/AcApLeaderCmd.d.ts.map +1 -0
  117. package/lib/command/draw/AcApLeaderCmd.js +611 -0
  118. package/lib/command/draw/AcApLeaderCmd.js.map +1 -0
  119. package/lib/command/draw/AcApMLeaderCmd.d.ts +41 -0
  120. package/lib/command/draw/AcApMLeaderCmd.d.ts.map +1 -0
  121. package/lib/command/draw/AcApMLeaderCmd.js +632 -0
  122. package/lib/command/draw/AcApMLeaderCmd.js.map +1 -0
  123. package/lib/command/draw/AcApMLeaderCmdUtil.d.ts +137 -0
  124. package/lib/command/draw/AcApMLeaderCmdUtil.d.ts.map +1 -0
  125. package/lib/command/draw/AcApMLeaderCmdUtil.js +411 -0
  126. package/lib/command/draw/AcApMLeaderCmdUtil.js.map +1 -0
  127. package/lib/command/draw/AcApMLeaderEditCmd.d.ts +13 -0
  128. package/lib/command/draw/AcApMLeaderEditCmd.d.ts.map +1 -0
  129. package/lib/command/draw/AcApMLeaderEditCmd.js +245 -0
  130. package/lib/command/draw/AcApMLeaderEditCmd.js.map +1 -0
  131. package/lib/command/draw/acedRenderDimStylePreview.d.ts +7 -0
  132. package/lib/command/draw/acedRenderDimStylePreview.d.ts.map +1 -0
  133. package/lib/command/draw/acedRenderDimStylePreview.js +141 -0
  134. package/lib/command/draw/acedRenderDimStylePreview.js.map +1 -0
  135. package/lib/command/draw/dimStylePreview.d.ts +62 -0
  136. package/lib/command/draw/dimStylePreview.d.ts.map +1 -0
  137. package/lib/command/draw/dimStylePreview.js +723 -0
  138. package/lib/command/draw/dimStylePreview.js.map +1 -0
  139. package/lib/command/draw/index.d.ts +6 -0
  140. package/lib/command/draw/index.d.ts.map +1 -1
  141. package/lib/command/draw/index.js +6 -0
  142. package/lib/command/draw/index.js.map +1 -1
  143. package/lib/command/group/AcApDashGroupCmd.d.ts +18 -0
  144. package/lib/command/group/AcApDashGroupCmd.d.ts.map +1 -0
  145. package/lib/command/group/AcApDashGroupCmd.js +457 -0
  146. package/lib/command/group/AcApDashGroupCmd.js.map +1 -0
  147. package/lib/command/group/AcApGroupCmd.d.ts +18 -0
  148. package/lib/command/group/AcApGroupCmd.d.ts.map +1 -0
  149. package/lib/command/group/AcApGroupCmd.js +253 -0
  150. package/lib/command/group/AcApGroupCmd.js.map +1 -0
  151. package/lib/command/group/AcApGroupEditCmd.d.ts +14 -0
  152. package/lib/command/group/AcApGroupEditCmd.d.ts.map +1 -0
  153. package/lib/command/group/AcApGroupEditCmd.js +241 -0
  154. package/lib/command/group/AcApGroupEditCmd.js.map +1 -0
  155. package/lib/command/group/AcApUngroupCmd.d.ts +20 -0
  156. package/lib/command/group/AcApUngroupCmd.d.ts.map +1 -0
  157. package/lib/command/group/AcApUngroupCmd.js +249 -0
  158. package/lib/command/group/AcApUngroupCmd.js.map +1 -0
  159. package/lib/command/group/index.d.ts +5 -0
  160. package/lib/command/group/index.d.ts.map +1 -0
  161. package/lib/command/group/index.js +5 -0
  162. package/lib/command/group/index.js.map +1 -0
  163. package/lib/command/index.d.ts +5 -0
  164. package/lib/command/index.d.ts.map +1 -1
  165. package/lib/command/index.js +5 -0
  166. package/lib/command/index.js.map +1 -1
  167. package/lib/command/markup/AcApMarkupSessionBootstrap.d.ts +9 -1
  168. package/lib/command/markup/AcApMarkupSessionBootstrap.d.ts.map +1 -1
  169. package/lib/command/markup/AcApMarkupSessionBootstrap.js +21 -7
  170. package/lib/command/markup/AcApMarkupSessionBootstrap.js.map +1 -1
  171. package/lib/command/markup/index.d.ts +1 -1
  172. package/lib/command/markup/index.d.ts.map +1 -1
  173. package/lib/command/markup/index.js +4 -2
  174. package/lib/command/markup/index.js.map +1 -1
  175. package/lib/command/measure/AcApMeasureArcCmd.d.ts +7 -0
  176. package/lib/command/measure/AcApMeasureArcCmd.d.ts.map +1 -1
  177. package/lib/command/measure/AcApMeasureArcCmd.js +183 -73
  178. package/lib/command/measure/AcApMeasureArcCmd.js.map +1 -1
  179. package/lib/command/measure/AcApMeasureArcLock.d.ts +23 -1
  180. package/lib/command/measure/AcApMeasureArcLock.d.ts.map +1 -1
  181. package/lib/command/measure/AcApMeasureArcLock.js +57 -1
  182. package/lib/command/measure/AcApMeasureArcLock.js.map +1 -1
  183. package/lib/command/measure/entity/AcApMeasureDrawUtil.d.ts +3 -1
  184. package/lib/command/measure/entity/AcApMeasureDrawUtil.d.ts.map +1 -1
  185. package/lib/command/measure/entity/AcApMeasureDrawUtil.js +44 -4
  186. package/lib/command/measure/entity/AcApMeasureDrawUtil.js.map +1 -1
  187. package/lib/command/modify/AcApScaleCmd.d.ts +115 -0
  188. package/lib/command/modify/AcApScaleCmd.d.ts.map +1 -0
  189. package/lib/command/modify/AcApScaleCmd.js +347 -0
  190. package/lib/command/modify/AcApScaleCmd.js.map +1 -0
  191. package/lib/command/modify/AcApScalePreviewJig.d.ts +56 -0
  192. package/lib/command/modify/AcApScalePreviewJig.d.ts.map +1 -0
  193. package/lib/command/modify/AcApScalePreviewJig.js +115 -0
  194. package/lib/command/modify/AcApScalePreviewJig.js.map +1 -0
  195. package/lib/command/modify/index.d.ts +1 -0
  196. package/lib/command/modify/index.d.ts.map +1 -1
  197. package/lib/command/modify/index.js +1 -0
  198. package/lib/command/modify/index.js.map +1 -1
  199. package/lib/command/ui/AcApFindUiCmd.d.ts +26 -0
  200. package/lib/command/ui/AcApFindUiCmd.d.ts.map +1 -0
  201. package/lib/command/ui/AcApFindUiCmd.js +83 -0
  202. package/lib/command/ui/AcApFindUiCmd.js.map +1 -0
  203. package/lib/command/ui/AcApLayerUiCmd.d.ts +65 -0
  204. package/lib/command/ui/AcApLayerUiCmd.d.ts.map +1 -0
  205. package/lib/command/ui/AcApLayerUiCmd.js +142 -0
  206. package/lib/command/ui/AcApLayerUiCmd.js.map +1 -0
  207. package/lib/command/ui/AcApMarkupPanelUiCmd.d.ts +26 -0
  208. package/lib/command/ui/AcApMarkupPanelUiCmd.d.ts.map +1 -0
  209. package/lib/command/ui/AcApMarkupPanelUiCmd.js +83 -0
  210. package/lib/command/ui/AcApMarkupPanelUiCmd.js.map +1 -0
  211. package/lib/command/ui/AcApMeasurementPanelUiCmd.d.ts +26 -0
  212. package/lib/command/ui/AcApMeasurementPanelUiCmd.d.ts.map +1 -0
  213. package/lib/command/ui/AcApMeasurementPanelUiCmd.js +83 -0
  214. package/lib/command/ui/AcApMeasurementPanelUiCmd.js.map +1 -0
  215. package/lib/command/ui/index.d.ts +5 -0
  216. package/lib/command/ui/index.d.ts.map +1 -0
  217. package/lib/command/ui/index.js +5 -0
  218. package/lib/command/ui/index.js.map +1 -0
  219. package/lib/editor/grip/AcEdGripEditSession.d.ts +13 -0
  220. package/lib/editor/grip/AcEdGripEditSession.d.ts.map +1 -1
  221. package/lib/editor/grip/AcEdGripEditSession.js +44 -9
  222. package/lib/editor/grip/AcEdGripEditSession.js.map +1 -1
  223. package/lib/editor/grip/AcEdGripManager.d.ts +21 -1
  224. package/lib/editor/grip/AcEdGripManager.d.ts.map +1 -1
  225. package/lib/editor/grip/AcEdGripManager.js +204 -22
  226. package/lib/editor/grip/AcEdGripManager.js.map +1 -1
  227. package/lib/editor/grip/AcEdGripPreviewJig.d.ts +7 -0
  228. package/lib/editor/grip/AcEdGripPreviewJig.d.ts.map +1 -1
  229. package/lib/editor/grip/AcEdGripPreviewJig.js +18 -1
  230. package/lib/editor/grip/AcEdGripPreviewJig.js.map +1 -1
  231. package/lib/editor/grip/AcEdGripViewport.d.ts +35 -0
  232. package/lib/editor/grip/AcEdGripViewport.d.ts.map +1 -0
  233. package/lib/editor/grip/AcEdGripViewport.js +68 -0
  234. package/lib/editor/grip/AcEdGripViewport.js.map +1 -0
  235. package/lib/editor/grip/AcEdGroupGripEditSession.d.ts +24 -0
  236. package/lib/editor/grip/AcEdGroupGripEditSession.d.ts.map +1 -0
  237. package/lib/editor/grip/AcEdGroupGripEditSession.js +76 -0
  238. package/lib/editor/grip/AcEdGroupGripEditSession.js.map +1 -0
  239. package/lib/editor/grip/AcEdGroupGripPolicy.d.ts +46 -0
  240. package/lib/editor/grip/AcEdGroupGripPolicy.d.ts.map +1 -0
  241. package/lib/editor/grip/AcEdGroupGripPolicy.js +187 -0
  242. package/lib/editor/grip/AcEdGroupGripPolicy.js.map +1 -0
  243. package/lib/editor/grip/index.d.ts +3 -0
  244. package/lib/editor/grip/index.d.ts.map +1 -1
  245. package/lib/editor/grip/index.js +3 -0
  246. package/lib/editor/grip/index.js.map +1 -1
  247. package/lib/editor/input/AcEdOrthoMode.d.ts +2 -2
  248. package/lib/editor/input/AcEdOrthoMode.d.ts.map +1 -1
  249. package/lib/editor/input/AcEdOrthoMode.js +20 -7
  250. package/lib/editor/input/AcEdOrthoMode.js.map +1 -1
  251. package/lib/editor/input/AcEdOsnapCenterMarks.d.ts +16 -0
  252. package/lib/editor/input/AcEdOsnapCenterMarks.d.ts.map +1 -1
  253. package/lib/editor/input/AcEdOsnapCenterMarks.js +24 -3
  254. package/lib/editor/input/AcEdOsnapCenterMarks.js.map +1 -1
  255. package/lib/editor/input/AcEdOsnapResolver.d.ts +0 -1
  256. package/lib/editor/input/AcEdOsnapResolver.d.ts.map +1 -1
  257. package/lib/editor/input/AcEdOsnapResolver.js +3 -16
  258. package/lib/editor/input/AcEdOsnapResolver.js.map +1 -1
  259. package/lib/editor/input/AcEdPolarTracking.d.ts.map +1 -1
  260. package/lib/editor/input/AcEdPolarTracking.js +16 -10
  261. package/lib/editor/input/AcEdPolarTracking.js.map +1 -1
  262. package/lib/editor/input/handler/AcEdPointHandler.d.ts +1 -1
  263. package/lib/editor/input/handler/AcEdPointHandler.d.ts.map +1 -1
  264. package/lib/editor/input/handler/AcEdPointHandler.js +36 -16
  265. package/lib/editor/input/handler/AcEdPointHandler.js.map +1 -1
  266. package/lib/editor/input/prompt/AcEdPromptSelectionOptions.d.ts +12 -0
  267. package/lib/editor/input/prompt/AcEdPromptSelectionOptions.d.ts.map +1 -1
  268. package/lib/editor/input/prompt/AcEdPromptSelectionOptions.js +20 -0
  269. package/lib/editor/input/prompt/AcEdPromptSelectionOptions.js.map +1 -1
  270. package/lib/editor/input/ui/AcEdCommandLine.d.ts +5 -0
  271. package/lib/editor/input/ui/AcEdCommandLine.d.ts.map +1 -1
  272. package/lib/editor/input/ui/AcEdCommandLine.js +33 -5
  273. package/lib/editor/input/ui/AcEdCommandLine.js.map +1 -1
  274. package/lib/editor/input/ui/AcEdInputManager.d.ts.map +1 -1
  275. package/lib/editor/input/ui/AcEdInputManager.js +30 -7
  276. package/lib/editor/input/ui/AcEdInputManager.js.map +1 -1
  277. package/lib/editor/view/AcEdBaseView.d.ts +47 -0
  278. package/lib/editor/view/AcEdBaseView.d.ts.map +1 -1
  279. package/lib/editor/view/AcEdBaseView.js +80 -0
  280. package/lib/editor/view/AcEdBaseView.js.map +1 -1
  281. package/lib/editor/view/AcEdSelectionBoxIntersect.d.ts +40 -4
  282. package/lib/editor/view/AcEdSelectionBoxIntersect.d.ts.map +1 -1
  283. package/lib/editor/view/AcEdSelectionBoxIntersect.js +199 -3
  284. package/lib/editor/view/AcEdSelectionBoxIntersect.js.map +1 -1
  285. package/lib/editor/view/AcEdViewportBoxSelection.d.ts +10 -0
  286. package/lib/editor/view/AcEdViewportBoxSelection.d.ts.map +1 -1
  287. package/lib/editor/view/AcEdViewportBoxSelection.js +15 -8
  288. package/lib/editor/view/AcEdViewportBoxSelection.js.map +1 -1
  289. package/lib/file-open-panel.d.ts.map +1 -1
  290. package/lib/file-open-panel.js +4 -0
  291. package/lib/file-open-panel.js.map +1 -1
  292. package/lib/find/AcApFindNavigator.d.ts +47 -0
  293. package/lib/find/AcApFindNavigator.d.ts.map +1 -1
  294. package/lib/find/AcApFindNavigator.js +13 -5
  295. package/lib/find/AcApFindNavigator.js.map +1 -1
  296. package/lib/find/findDrawing.d.ts +1 -1
  297. package/lib/find/findDrawing.d.ts.map +1 -1
  298. package/lib/find/findDrawing.js +4 -3
  299. package/lib/find/findDrawing.js.map +1 -1
  300. package/lib/find/findText.d.ts +40 -13
  301. package/lib/find/findText.d.ts.map +1 -1
  302. package/lib/find/findText.js +100 -44
  303. package/lib/find/findText.js.map +1 -1
  304. package/lib/find/index.d.ts +8 -0
  305. package/lib/find/index.d.ts.map +1 -1
  306. package/lib/find/index.js +8 -0
  307. package/lib/find/index.js.map +1 -1
  308. package/lib/i18n/AcApI18n.d.ts +1 -1
  309. package/lib/i18n/AcApI18n.d.ts.map +1 -1
  310. package/lib/i18n/AcApI18n.js +2 -0
  311. package/lib/i18n/AcApI18n.js.map +1 -1
  312. package/lib/i18n/AcUiI18n.d.ts +23 -0
  313. package/lib/i18n/AcUiI18n.d.ts.map +1 -0
  314. package/lib/i18n/AcUiI18n.js +126 -0
  315. package/lib/i18n/AcUiI18n.js.map +1 -0
  316. package/lib/i18n/ar/command.d.ts +103 -6
  317. package/lib/i18n/ar/command.d.ts.map +1 -1
  318. package/lib/i18n/ar/command.js +601 -11
  319. package/lib/i18n/ar/command.js.map +1 -1
  320. package/lib/i18n/ar/jig.d.ts +1423 -579
  321. package/lib/i18n/ar/jig.d.ts.map +1 -1
  322. package/lib/i18n/ar/jig.js +2096 -322
  323. package/lib/i18n/ar/jig.js.map +1 -1
  324. package/lib/i18n/ar/main.d.ts +22 -0
  325. package/lib/i18n/ar/main.d.ts.map +1 -1
  326. package/lib/i18n/ar/main.js +22 -0
  327. package/lib/i18n/ar/main.js.map +1 -1
  328. package/lib/i18n/ar/simpleUi.d.ts +170 -0
  329. package/lib/i18n/ar/simpleUi.d.ts.map +1 -0
  330. package/lib/i18n/ar/simpleUi.js +169 -0
  331. package/lib/i18n/ar/simpleUi.js.map +1 -0
  332. package/lib/i18n/cs/command.d.ts +111 -1
  333. package/lib/i18n/cs/command.d.ts.map +1 -1
  334. package/lib/i18n/cs/command.js +112 -2
  335. package/lib/i18n/cs/command.js.map +1 -1
  336. package/lib/i18n/cs/jig.d.ts +867 -0
  337. package/lib/i18n/cs/jig.d.ts.map +1 -1
  338. package/lib/i18n/cs/jig.js +988 -24
  339. package/lib/i18n/cs/jig.js.map +1 -1
  340. package/lib/i18n/cs/main.d.ts +22 -0
  341. package/lib/i18n/cs/main.d.ts.map +1 -1
  342. package/lib/i18n/cs/main.js +23 -1
  343. package/lib/i18n/cs/main.js.map +1 -1
  344. package/lib/i18n/cs/simpleUi.d.ts +170 -0
  345. package/lib/i18n/cs/simpleUi.d.ts.map +1 -0
  346. package/lib/i18n/cs/simpleUi.js +169 -0
  347. package/lib/i18n/cs/simpleUi.js.map +1 -0
  348. package/lib/i18n/en/command.d.ts +98 -1
  349. package/lib/i18n/en/command.d.ts.map +1 -1
  350. package/lib/i18n/en/command.js +99 -2
  351. package/lib/i18n/en/command.js.map +1 -1
  352. package/lib/i18n/en/jig.d.ts +844 -0
  353. package/lib/i18n/en/jig.d.ts.map +1 -1
  354. package/lib/i18n/en/jig.js +801 -1
  355. package/lib/i18n/en/jig.js.map +1 -1
  356. package/lib/i18n/en/main.d.ts +22 -0
  357. package/lib/i18n/en/main.d.ts.map +1 -1
  358. package/lib/i18n/en/main.js +22 -0
  359. package/lib/i18n/en/main.js.map +1 -1
  360. package/lib/i18n/en/simpleUi.d.ts +170 -0
  361. package/lib/i18n/en/simpleUi.d.ts.map +1 -0
  362. package/lib/i18n/en/simpleUi.js +169 -0
  363. package/lib/i18n/en/simpleUi.js.map +1 -0
  364. package/lib/i18n/index.d.ts +1 -0
  365. package/lib/i18n/index.d.ts.map +1 -1
  366. package/lib/i18n/index.js +37 -6
  367. package/lib/i18n/index.js.map +1 -1
  368. package/lib/i18n/ja/command.d.ts +605 -0
  369. package/lib/i18n/ja/command.d.ts.map +1 -0
  370. package/lib/i18n/ja/command.js +604 -0
  371. package/lib/i18n/ja/command.js.map +1 -0
  372. package/lib/i18n/ja/jig.d.ts +2425 -0
  373. package/lib/i18n/ja/jig.d.ts.map +1 -0
  374. package/lib/i18n/ja/jig.js +2316 -0
  375. package/lib/i18n/ja/jig.js.map +1 -0
  376. package/lib/i18n/ja/main.d.ts +216 -0
  377. package/lib/i18n/ja/main.d.ts.map +1 -0
  378. package/lib/i18n/ja/main.js +215 -0
  379. package/lib/i18n/ja/main.js.map +1 -0
  380. package/lib/i18n/ja/simpleUi.d.ts +170 -0
  381. package/lib/i18n/ja/simpleUi.d.ts.map +1 -0
  382. package/lib/i18n/ja/simpleUi.js +169 -0
  383. package/lib/i18n/ja/simpleUi.js.map +1 -0
  384. package/lib/i18n/ko/command.d.ts +605 -0
  385. package/lib/i18n/ko/command.d.ts.map +1 -0
  386. package/lib/i18n/ko/command.js +604 -0
  387. package/lib/i18n/ko/command.js.map +1 -0
  388. package/lib/i18n/ko/jig.d.ts +2425 -0
  389. package/lib/i18n/ko/jig.d.ts.map +1 -0
  390. package/lib/i18n/ko/jig.js +2316 -0
  391. package/lib/i18n/ko/jig.js.map +1 -0
  392. package/lib/i18n/ko/main.d.ts +216 -0
  393. package/lib/i18n/ko/main.d.ts.map +1 -0
  394. package/lib/i18n/ko/main.js +215 -0
  395. package/lib/i18n/ko/main.js.map +1 -0
  396. package/lib/i18n/ko/simpleUi.d.ts +170 -0
  397. package/lib/i18n/ko/simpleUi.d.ts.map +1 -0
  398. package/lib/i18n/ko/simpleUi.js +169 -0
  399. package/lib/i18n/ko/simpleUi.js.map +1 -0
  400. package/lib/i18n/tr/command.d.ts +111 -1
  401. package/lib/i18n/tr/command.d.ts.map +1 -1
  402. package/lib/i18n/tr/command.js +112 -2
  403. package/lib/i18n/tr/command.js.map +1 -1
  404. package/lib/i18n/tr/jig.d.ts +867 -0
  405. package/lib/i18n/tr/jig.d.ts.map +1 -1
  406. package/lib/i18n/tr/jig.js +1096 -24
  407. package/lib/i18n/tr/jig.js.map +1 -1
  408. package/lib/i18n/tr/main.d.ts +22 -0
  409. package/lib/i18n/tr/main.d.ts.map +1 -1
  410. package/lib/i18n/tr/main.js +23 -1
  411. package/lib/i18n/tr/main.js.map +1 -1
  412. package/lib/i18n/tr/simpleUi.d.ts +170 -0
  413. package/lib/i18n/tr/simpleUi.d.ts.map +1 -0
  414. package/lib/i18n/tr/simpleUi.js +169 -0
  415. package/lib/i18n/tr/simpleUi.js.map +1 -0
  416. package/lib/i18n/zh/command.d.ts +98 -1
  417. package/lib/i18n/zh/command.d.ts.map +1 -1
  418. package/lib/i18n/zh/command.js +99 -2
  419. package/lib/i18n/zh/command.js.map +1 -1
  420. package/lib/i18n/zh/jig.d.ts +844 -0
  421. package/lib/i18n/zh/jig.d.ts.map +1 -1
  422. package/lib/i18n/zh/jig.js +793 -1
  423. package/lib/i18n/zh/jig.js.map +1 -1
  424. package/lib/i18n/zh/main.d.ts +22 -0
  425. package/lib/i18n/zh/main.d.ts.map +1 -1
  426. package/lib/i18n/zh/main.js +22 -0
  427. package/lib/i18n/zh/main.js.map +1 -1
  428. package/lib/i18n/zh/simpleUi.d.ts +170 -0
  429. package/lib/i18n/zh/simpleUi.d.ts.map +1 -0
  430. package/lib/i18n/zh/simpleUi.js +169 -0
  431. package/lib/i18n/zh/simpleUi.js.map +1 -0
  432. package/lib/index.d.ts +1 -1
  433. package/lib/index.d.ts.map +1 -1
  434. package/lib/index.js +1 -1
  435. package/lib/index.js.map +1 -1
  436. package/lib/service/AcApEntityService.d.ts +36 -2
  437. package/lib/service/AcApEntityService.d.ts.map +1 -1
  438. package/lib/service/AcApEntityService.js +92 -23
  439. package/lib/service/AcApEntityService.js.map +1 -1
  440. package/lib/service/AcApGroup.d.ts +95 -0
  441. package/lib/service/AcApGroup.d.ts.map +1 -0
  442. package/lib/service/AcApGroup.js +421 -0
  443. package/lib/service/AcApGroup.js.map +1 -0
  444. package/lib/service/AcApLlmSettingsService.d.ts +74 -0
  445. package/lib/service/AcApLlmSettingsService.d.ts.map +1 -0
  446. package/lib/service/AcApLlmSettingsService.js +126 -0
  447. package/lib/service/AcApLlmSettingsService.js.map +1 -0
  448. package/lib/service/AcApNamedViewService.d.ts +139 -0
  449. package/lib/service/AcApNamedViewService.d.ts.map +1 -0
  450. package/lib/service/AcApNamedViewService.js +407 -0
  451. package/lib/service/AcApNamedViewService.js.map +1 -0
  452. package/lib/service/AcApTextRecognitionService.d.ts +107 -0
  453. package/lib/service/AcApTextRecognitionService.d.ts.map +1 -0
  454. package/lib/service/AcApTextRecognitionService.js +304 -0
  455. package/lib/service/AcApTextRecognitionService.js.map +1 -0
  456. package/lib/service/AcApUcsService.d.ts +101 -0
  457. package/lib/service/AcApUcsService.d.ts.map +1 -0
  458. package/lib/service/AcApUcsService.js +753 -0
  459. package/lib/service/AcApUcsService.js.map +1 -0
  460. package/lib/service/index.d.ts +5 -0
  461. package/lib/service/index.d.ts.map +1 -1
  462. package/lib/service/index.js +5 -0
  463. package/lib/service/index.js.map +1 -1
  464. package/lib/smartBlock/AcApSmartBlockConvert.d.ts +98 -0
  465. package/lib/smartBlock/AcApSmartBlockConvert.d.ts.map +1 -0
  466. package/lib/smartBlock/AcApSmartBlockConvert.js +300 -0
  467. package/lib/smartBlock/AcApSmartBlockConvert.js.map +1 -0
  468. package/lib/smartBlock/AcApSmartBlockDetect.d.ts +149 -0
  469. package/lib/smartBlock/AcApSmartBlockDetect.d.ts.map +1 -0
  470. package/lib/smartBlock/AcApSmartBlockDetect.js +1464 -0
  471. package/lib/smartBlock/AcApSmartBlockDetect.js.map +1 -0
  472. package/lib/smartBlock/AcApSmartBlockSearch.d.ts +161 -0
  473. package/lib/smartBlock/AcApSmartBlockSearch.d.ts.map +1 -0
  474. package/lib/smartBlock/AcApSmartBlockSearch.js +712 -0
  475. package/lib/smartBlock/AcApSmartBlockSearch.js.map +1 -0
  476. package/lib/smartBlock/AcApSmartBlockSession.d.ts +85 -0
  477. package/lib/smartBlock/AcApSmartBlockSession.d.ts.map +1 -0
  478. package/lib/smartBlock/AcApSmartBlockSession.js +233 -0
  479. package/lib/smartBlock/AcApSmartBlockSession.js.map +1 -0
  480. package/lib/smartBlock/AcEdShapeFeatures.d.ts +33 -0
  481. package/lib/smartBlock/AcEdShapeFeatures.d.ts.map +1 -0
  482. package/lib/smartBlock/AcEdShapeFeatures.js +571 -0
  483. package/lib/smartBlock/AcEdShapeFeatures.js.map +1 -0
  484. package/lib/smartBlock/AcEdShapeMatcher.d.ts +146 -0
  485. package/lib/smartBlock/AcEdShapeMatcher.d.ts.map +1 -0
  486. package/lib/smartBlock/AcEdShapeMatcher.js +749 -0
  487. package/lib/smartBlock/AcEdShapeMatcher.js.map +1 -0
  488. package/lib/smartBlock/index.d.ts +7 -0
  489. package/lib/smartBlock/index.d.ts.map +1 -0
  490. package/lib/smartBlock/index.js +7 -0
  491. package/lib/smartBlock/index.js.map +1 -0
  492. package/lib/ui/AcApSimpleUiChrome.d.ts +374 -0
  493. package/lib/ui/AcApSimpleUiChrome.d.ts.map +1 -0
  494. package/lib/ui/AcApSimpleUiChrome.js +1308 -0
  495. package/lib/ui/AcApSimpleUiChrome.js.map +1 -0
  496. package/lib/ui/AcUiColorPicker.d.ts +47 -0
  497. package/lib/ui/AcUiColorPicker.d.ts.map +1 -0
  498. package/lib/ui/AcUiColorPicker.js +133 -0
  499. package/lib/ui/AcUiColorPicker.js.map +1 -0
  500. package/lib/ui/AcUiFileOpenPanel.js +1 -1
  501. package/lib/ui/AcUiFileOpenPanel.js.map +1 -1
  502. package/lib/ui/AcUiFindPaletteView.d.ts +99 -0
  503. package/lib/ui/AcUiFindPaletteView.d.ts.map +1 -0
  504. package/lib/ui/AcUiFindPaletteView.js +426 -0
  505. package/lib/ui/AcUiFindPaletteView.js.map +1 -0
  506. package/lib/ui/AcUiLayerListView.d.ts +114 -0
  507. package/lib/ui/AcUiLayerListView.d.ts.map +1 -0
  508. package/lib/ui/AcUiLayerListView.js +443 -0
  509. package/lib/ui/AcUiLayerListView.js.map +1 -0
  510. package/lib/ui/AcUiMeasurementPaletteView.d.ts +83 -0
  511. package/lib/ui/AcUiMeasurementPaletteView.d.ts.map +1 -0
  512. package/lib/ui/AcUiMeasurementPaletteView.js +341 -0
  513. package/lib/ui/AcUiMeasurementPaletteView.js.map +1 -0
  514. package/lib/ui/AcUiReviewPaletteView.d.ts +141 -0
  515. package/lib/ui/AcUiReviewPaletteView.d.ts.map +1 -0
  516. package/lib/ui/AcUiReviewPaletteView.js +524 -0
  517. package/lib/ui/AcUiReviewPaletteView.js.map +1 -0
  518. package/lib/ui/AcUiShortCutToolbar.d.ts +24 -2
  519. package/lib/ui/AcUiShortCutToolbar.d.ts.map +1 -1
  520. package/lib/ui/AcUiShortCutToolbar.js +48 -6
  521. package/lib/ui/AcUiShortCutToolbar.js.map +1 -1
  522. package/lib/ui/AcUiSimpleUiOptions.d.ts +88 -0
  523. package/lib/ui/AcUiSimpleUiOptions.d.ts.map +1 -0
  524. package/lib/ui/AcUiSimpleUiOptions.js +2 -0
  525. package/lib/ui/AcUiSimpleUiOptions.js.map +1 -0
  526. package/lib/ui/AcUiSimpleUiStyles.d.ts +12 -0
  527. package/lib/ui/AcUiSimpleUiStyles.d.ts.map +1 -0
  528. package/lib/ui/AcUiSimpleUiStyles.js +28 -0
  529. package/lib/ui/AcUiSimpleUiStyles.js.map +1 -0
  530. package/lib/ui/AcUiThemeSync.d.ts +58 -0
  531. package/lib/ui/AcUiThemeSync.d.ts.map +1 -0
  532. package/lib/ui/AcUiThemeSync.js +114 -0
  533. package/lib/ui/AcUiThemeSync.js.map +1 -0
  534. package/lib/ui/acuiNormalizeSimpleUiOptions.d.ts +20 -0
  535. package/lib/ui/acuiNormalizeSimpleUiOptions.d.ts.map +1 -0
  536. package/lib/ui/acuiNormalizeSimpleUiOptions.js +46 -0
  537. package/lib/ui/acuiNormalizeSimpleUiOptions.js.map +1 -0
  538. package/lib/ui/dock/AcUiDockPanel.d.ts +204 -0
  539. package/lib/ui/dock/AcUiDockPanel.d.ts.map +1 -0
  540. package/lib/ui/dock/AcUiDockPanel.js +926 -0
  541. package/lib/ui/dock/AcUiDockPanel.js.map +1 -0
  542. package/lib/ui/dock/acuiDockPanelStyles.d.ts +9 -0
  543. package/lib/ui/dock/acuiDockPanelStyles.d.ts.map +1 -0
  544. package/lib/ui/dock/acuiDockPanelStyles.js +27 -0
  545. package/lib/ui/dock/acuiDockPanelStyles.js.map +1 -0
  546. package/lib/ui/dock/index.d.ts +3 -0
  547. package/lib/ui/dock/index.d.ts.map +1 -0
  548. package/lib/ui/dock/index.js +3 -0
  549. package/lib/ui/dock/index.js.map +1 -0
  550. package/lib/ui/icons.d.ts +22 -14
  551. package/lib/ui/icons.d.ts.map +1 -1
  552. package/lib/ui/icons.js +42 -32
  553. package/lib/ui/icons.js.map +1 -1
  554. package/lib/ui/index.d.ts +12 -0
  555. package/lib/ui/index.d.ts.map +1 -1
  556. package/lib/ui/index.js +11 -0
  557. package/lib/ui/index.js.map +1 -1
  558. package/lib/ui/toolbar/AcUiToolbar.d.ts +1 -1
  559. package/lib/ui/toolbar/AcUiToolbar.js +1 -1
  560. package/lib/ui/toolbar/createLayoutToolbarItem.d.ts +41 -0
  561. package/lib/ui/toolbar/createLayoutToolbarItem.d.ts.map +1 -0
  562. package/lib/ui/toolbar/createLayoutToolbarItem.js +103 -0
  563. package/lib/ui/toolbar/createLayoutToolbarItem.js.map +1 -0
  564. package/lib/ui/toolbar/createToolbarLayoutSwitcher.d.ts +40 -0
  565. package/lib/ui/toolbar/createToolbarLayoutSwitcher.d.ts.map +1 -0
  566. package/lib/ui/toolbar/createToolbarLayoutSwitcher.js +65 -0
  567. package/lib/ui/toolbar/createToolbarLayoutSwitcher.js.map +1 -0
  568. package/lib/ui/toolbar/defaultToolbarItems.d.ts +44 -0
  569. package/lib/ui/toolbar/defaultToolbarItems.d.ts.map +1 -0
  570. package/lib/ui/toolbar/defaultToolbarItems.js +614 -0
  571. package/lib/ui/toolbar/defaultToolbarItems.js.map +1 -0
  572. package/lib/ui/toolbar/index.d.ts +3 -1
  573. package/lib/ui/toolbar/index.d.ts.map +1 -1
  574. package/lib/ui/toolbar/index.js +1 -0
  575. package/lib/ui/toolbar/index.js.map +1 -1
  576. package/lib/ui/toolbar/mergeToolbarOptionsForLayout.d.ts +25 -0
  577. package/lib/ui/toolbar/mergeToolbarOptionsForLayout.d.ts.map +1 -0
  578. package/lib/ui/toolbar/mergeToolbarOptionsForLayout.js +164 -0
  579. package/lib/ui/toolbar/mergeToolbarOptionsForLayout.js.map +1 -0
  580. package/lib/ui/toolbar/resolveDockMountTarget.d.ts +22 -0
  581. package/lib/ui/toolbar/resolveDockMountTarget.d.ts.map +1 -0
  582. package/lib/ui/toolbar/resolveDockMountTarget.js +47 -0
  583. package/lib/ui/toolbar/resolveDockMountTarget.js.map +1 -0
  584. package/lib/ui/toolbar/resolveToolbarItems.d.ts +46 -0
  585. package/lib/ui/toolbar/resolveToolbarItems.d.ts.map +1 -0
  586. package/lib/ui/toolbar/resolveToolbarItems.js +161 -0
  587. package/lib/ui/toolbar/resolveToolbarItems.js.map +1 -0
  588. package/lib/ui/toolbar/resolveToolbarMountTarget.d.ts +17 -0
  589. package/lib/ui/toolbar/resolveToolbarMountTarget.d.ts.map +1 -0
  590. package/lib/ui/toolbar/resolveToolbarMountTarget.js +39 -0
  591. package/lib/ui/toolbar/resolveToolbarMountTarget.js.map +1 -0
  592. package/lib/ui/toolbar/simpleUiPresets.d.ts +15 -0
  593. package/lib/ui/toolbar/simpleUiPresets.d.ts.map +1 -0
  594. package/lib/ui/toolbar/simpleUiPresets.js +14 -0
  595. package/lib/ui/toolbar/simpleUiPresets.js.map +1 -0
  596. package/lib/ui/toolbar/types.d.ts +18 -0
  597. package/lib/ui/toolbar/types.d.ts.map +1 -1
  598. package/lib/util/AcApFontUtil.d.ts +19 -0
  599. package/lib/util/AcApFontUtil.d.ts.map +1 -1
  600. package/lib/util/AcApFontUtil.js +108 -13
  601. package/lib/util/AcApFontUtil.js.map +1 -1
  602. package/lib/util/AcApGeTransform.d.ts +8 -0
  603. package/lib/util/AcApGeTransform.d.ts.map +1 -1
  604. package/lib/util/AcApGeTransform.js +13 -0
  605. package/lib/util/AcApGeTransform.js.map +1 -1
  606. package/lib/util/AcApTextMeasure.d.ts +43 -0
  607. package/lib/util/AcApTextMeasure.d.ts.map +1 -0
  608. package/lib/util/AcApTextMeasure.js +82 -0
  609. package/lib/util/AcApTextMeasure.js.map +1 -0
  610. package/lib/util/acapResolveOpenFileType.d.ts +12 -0
  611. package/lib/util/acapResolveOpenFileType.d.ts.map +1 -0
  612. package/lib/util/acapResolveOpenFileType.js +22 -0
  613. package/lib/util/acapResolveOpenFileType.js.map +1 -0
  614. package/lib/util/index.d.ts +2 -0
  615. package/lib/util/index.d.ts.map +1 -1
  616. package/lib/util/index.js +2 -0
  617. package/lib/util/index.js.map +1 -1
  618. package/lib/view/AcApUcsIconOverlay.d.ts +26 -0
  619. package/lib/view/AcApUcsIconOverlay.d.ts.map +1 -0
  620. package/lib/view/AcApUcsIconOverlay.js +143 -0
  621. package/lib/view/AcApUcsIconOverlay.js.map +1 -0
  622. package/lib/view/AcEdViewKeyHandler.d.ts +11 -0
  623. package/lib/view/AcEdViewKeyHandler.d.ts.map +1 -1
  624. package/lib/view/AcEdViewKeyHandler.js +39 -3
  625. package/lib/view/AcEdViewKeyHandler.js.map +1 -1
  626. package/lib/view/AcTrEntityDisplayController.d.ts +5 -0
  627. package/lib/view/AcTrEntityDisplayController.d.ts.map +1 -1
  628. package/lib/view/AcTrEntityDisplayController.js +5 -0
  629. package/lib/view/AcTrEntityDisplayController.js.map +1 -1
  630. package/lib/view/AcTrLayer.d.ts +27 -0
  631. package/lib/view/AcTrLayer.d.ts.map +1 -1
  632. package/lib/view/AcTrLayer.js +40 -0
  633. package/lib/view/AcTrLayer.js.map +1 -1
  634. package/lib/view/AcTrLayout.d.ts +55 -1
  635. package/lib/view/AcTrLayout.d.ts.map +1 -1
  636. package/lib/view/AcTrLayout.js +252 -51
  637. package/lib/view/AcTrLayout.js.map +1 -1
  638. package/lib/view/AcTrLayoutView.d.ts +0 -12
  639. package/lib/view/AcTrLayoutView.d.ts.map +1 -1
  640. package/lib/view/AcTrLayoutView.js +0 -20
  641. package/lib/view/AcTrLayoutView.js.map +1 -1
  642. package/lib/view/AcTrLayoutViewManager.d.ts +6 -0
  643. package/lib/view/AcTrLayoutViewManager.d.ts.map +1 -1
  644. package/lib/view/AcTrLayoutViewManager.js +8 -0
  645. package/lib/view/AcTrLayoutViewManager.js.map +1 -1
  646. package/lib/view/AcTrScene.d.ts +12 -0
  647. package/lib/view/AcTrScene.d.ts.map +1 -1
  648. package/lib/view/AcTrScene.js +65 -16
  649. package/lib/view/AcTrScene.js.map +1 -1
  650. package/lib/view/AcTrView2d.d.ts +92 -1
  651. package/lib/view/AcTrView2d.d.ts.map +1 -1
  652. package/lib/view/AcTrView2d.js +367 -92
  653. package/lib/view/AcTrView2d.js.map +1 -1
  654. package/lib/view/AcTrViewSessionState.d.ts +5 -0
  655. package/lib/view/AcTrViewSessionState.d.ts.map +1 -1
  656. package/package.json +12 -16
  657. package/src/file-open-panel.ts +93 -89
  658. package/src/ui/icons.ts +428 -411
  659. package/dist/cad-simple-viewer-AcUiFileOpenSession-drptdOYc.js +0 -324
  660. package/find.ts +0 -7
  661. package/src/find/AcApFindNavigator.ts +0 -190
  662. package/src/find/findDrawing.ts +0 -211
  663. package/src/find/findText.ts +0 -624
  664. package/src/find/index.ts +0 -2
@@ -1,22 +1,22 @@
1
1
  import { AcCmEventManager as I } from "@mlightcad/data-model";
2
- function _(n) {
3
- return { all: n = n || /* @__PURE__ */ new Map(), on: function(e, t) {
4
- var i = n.get(e);
5
- i ? i.push(t) : n.set(e, [t]);
2
+ function W(o) {
3
+ return { all: o = o || /* @__PURE__ */ new Map(), on: function(e, t) {
4
+ var i = o.get(e);
5
+ i ? i.push(t) : o.set(e, [t]);
6
6
  }, off: function(e, t) {
7
- var i = n.get(e);
8
- i && (t ? i.splice(i.indexOf(t) >>> 0, 1) : n.set(e, []));
7
+ var i = o.get(e);
8
+ i && (t ? i.splice(i.indexOf(t) >>> 0, 1) : o.set(e, []));
9
9
  }, emit: function(e, t) {
10
- var i = n.get(e);
11
- i && i.slice().map(function(o) {
12
- o(t);
13
- }), (i = n.get("*")) && i.slice().map(function(o) {
14
- o(e, t);
10
+ var i = o.get(e);
11
+ i && i.slice().map(function(n) {
12
+ n(t);
13
+ }), (i = o.get("*")) && i.slice().map(function(n) {
14
+ n(e, t);
15
15
  });
16
16
  } };
17
17
  }
18
- var B = /* @__PURE__ */ ((n) => (n.Extents = "extents", n.Saved = "saved", n))(B || {}), R = /* @__PURE__ */ ((n) => (n[n.Read = 0] = "Read", n[n.Review = 4] = "Review", n[n.Write = 8] = "Write", n))(R || {});
19
- const W = {
18
+ var R = /* @__PURE__ */ ((o) => (o.Extents = "extents", o.Saved = "saved", o))(R || {}), G = /* @__PURE__ */ ((o) => (o[o.Read = 0] = "Read", o[o.Review = 4] = "Review", o[o.Write = 8] = "Write", o))(G || {});
19
+ const B = {
20
20
  light: {
21
21
  "--ml-ui-text": "#303133",
22
22
  "--ml-ui-text-muted": "#606266",
@@ -45,7 +45,7 @@ const W = {
45
45
  "--ml-ui-canvas-fill": "rgba(64, 158, 255, 0.2)",
46
46
  "--ml-ui-canvas-fill-mix": "color-mix(in srgb, #409eff 20%, transparent)"
47
47
  }
48
- }, G = {
48
+ }, _ = {
49
49
  light: {
50
50
  "--ml-ui-text": "var(--el-text-color-primary, #303133)",
51
51
  "--ml-ui-text-muted": "var(--el-text-color-regular, #606266)",
@@ -74,23 +74,23 @@ const W = {
74
74
  "--ml-ui-canvas-fill": "rgba(64, 158, 255, 0.2)",
75
75
  "--ml-ui-canvas-fill-mix": "color-mix(in srgb, var(--el-color-primary, #409eff) 20%, transparent)"
76
76
  }
77
- }, S = /* @__PURE__ */ new Set();
77
+ }, T = /* @__PURE__ */ new Set();
78
78
  let x = 0;
79
- function U(n) {
80
- return S.add(n), () => {
81
- S.delete(n);
79
+ function U(o) {
80
+ return T.add(o), () => {
81
+ T.delete(o);
82
82
  };
83
83
  }
84
- function j(n, e = document.documentElement, t) {
85
- const i = t != null && t.isolated ? W[n] : G[n];
84
+ function j(o, e = document.documentElement, t) {
85
+ const i = t != null && t.isolated ? B[o] : _[o];
86
86
  if (Object.keys(i).forEach((a) => {
87
87
  e.style.setProperty(a, i[a]);
88
- }), e.setAttribute("data-ml-ui-theme", n), e.style.colorScheme = n, !(!(e === document.documentElement || e.hasAttribute("data-ml-ui-theme-root")) || x > 0)) {
88
+ }), e.setAttribute("data-ml-ui-theme", o), e.style.colorScheme = o, !(!(e === document.documentElement || e.hasAttribute("data-ml-ui-theme-root")) || x > 0)) {
89
89
  x++;
90
90
  try {
91
- for (const a of [...S])
91
+ for (const a of [...T])
92
92
  try {
93
- a(n);
93
+ a(o);
94
94
  } catch {
95
95
  }
96
96
  } finally {
@@ -98,18 +98,18 @@ function j(n, e = document.documentElement, t) {
98
98
  }
99
99
  }
100
100
  }
101
- function z(n) {
102
- if (n.classList.contains("ml-theme-dark") || n.classList.contains("dark"))
101
+ function O(o) {
102
+ if (o.classList.contains("ml-theme-dark") || o.classList.contains("dark"))
103
103
  return "dark";
104
- if (n.classList.contains("ml-theme-light"))
104
+ if (o.classList.contains("ml-theme-light"))
105
105
  return "light";
106
106
  }
107
- function H(n) {
108
- let e = n;
107
+ function H(o) {
108
+ let e = o;
109
109
  for (; e; ) {
110
110
  const a = e.getAttribute("data-ml-ui-theme");
111
111
  if (a === "light" || a === "dark") return a;
112
- const s = z(e);
112
+ const s = O(e);
113
113
  if (s) return s;
114
114
  e = e.parentElement;
115
115
  }
@@ -117,50 +117,50 @@ function H(n) {
117
117
  if (t === "light" || t === "dark") return t;
118
118
  const i = document.documentElement.getAttribute("data-mlcad-theme");
119
119
  if (i === "light" || i === "dark") return i;
120
- const o = z(document.documentElement);
121
- return o || "dark";
120
+ const n = O(document.documentElement);
121
+ return n || "dark";
122
122
  }
123
- const V = 600, L = `(max-width: ${V}px)`, de = 440, Y = 24, ue = `calc(100vw - ${Y}px)`, me = 1, pe = 2, fe = 45, he = 46, ge = 47, ye = 48;
124
- function C() {
125
- var n;
126
- return ((n = window.matchMedia) == null ? void 0 : n.call(window, L).matches) ?? !1;
123
+ const Y = 600, E = `(max-width: ${Y}px)`, de = 440, K = 24, ue = `calc(100vw - ${K}px)`, pe = 1, me = 2, fe = 45, he = 46, ge = 47, ye = 48;
124
+ function z() {
125
+ var o;
126
+ return ((o = window.matchMedia) == null ? void 0 : o.call(window, E).matches) ?? !1;
127
127
  }
128
- const K = 960, N = `(max-width: ${K}px)`;
129
- function Z() {
130
- var n;
131
- return ((n = window.matchMedia) == null ? void 0 : n.call(window, N).matches) ?? !1;
128
+ const V = 960, P = `(max-width: ${V}px)`;
129
+ function X() {
130
+ var o;
131
+ return ((o = window.matchMedia) == null ? void 0 : o.call(window, P).matches) ?? !1;
132
132
  }
133
- const X = "(pointer: coarse)", $ = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i;
133
+ const Z = "(pointer: coarse)", $ = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i;
134
134
  function q() {
135
135
  var e;
136
136
  if (typeof navigator > "u") return !1;
137
- const n = navigator;
138
- return $.test(n.userAgent || "") || n.platform === "MacIntel" && (n.maxTouchPoints ?? 0) > 1 ? !0 : ((e = window.matchMedia) == null ? void 0 : e.call(window, X).matches) ?? !1;
137
+ const o = navigator;
138
+ return $.test(o.userAgent || "") || o.platform === "MacIntel" && (o.maxTouchPoints ?? 0) > 1 ? !0 : ((e = window.matchMedia) == null ? void 0 : e.call(window, Z).matches) ?? !1;
139
139
  }
140
140
  function F() {
141
- return C() ? "phone" : Z() ? "pad" : "desktop";
141
+ return z() ? "phone" : X() ? "pad" : "desktop";
142
142
  }
143
143
  function Q() {
144
144
  return F() !== "desktop" || q();
145
145
  }
146
- function be(n) {
147
- return C() ? !0 : n && Q();
146
+ function be(o) {
147
+ return z() ? !0 : o && Q();
148
148
  }
149
- function ve(n) {
149
+ function ve(o) {
150
150
  if (typeof window.matchMedia != "function")
151
151
  return () => {
152
152
  };
153
- const e = window.matchMedia(L), t = window.matchMedia(N);
153
+ const e = window.matchMedia(E), t = window.matchMedia(P);
154
154
  let i = F();
155
- const o = () => {
155
+ const n = () => {
156
156
  const a = F();
157
- a !== i && (i = a, n(a));
157
+ a !== i && (i = a, o(a));
158
158
  };
159
- return e.addEventListener("change", o), t.addEventListener("change", o), () => {
160
- e.removeEventListener("change", o), t.removeEventListener("change", o);
159
+ return e.addEventListener("change", n), t.addEventListener("change", n), () => {
160
+ e.removeEventListener("change", n), t.removeEventListener("change", n);
161
161
  };
162
162
  }
163
- const y = "ACAD", b = "USER", m = class m {
163
+ const y = "ACAD", b = "USER", p = class p {
164
164
  /**
165
165
  * Return the whole messages map (for vue-i18n initialisation).
166
166
  */
@@ -177,7 +177,7 @@ const y = "ACAD", b = "USER", m = class m {
177
177
  * Deep-merge a message dictionary into an existing locale.
178
178
  */
179
179
  static mergeLocaleMessage(e, t) {
180
- P(this._messages[e], t);
180
+ N(this._messages[e], t);
181
181
  }
182
182
  /**
183
183
  * Register a plugin's messages.
@@ -229,8 +229,8 @@ const y = "ACAD", b = "USER", m = class m {
229
229
  * @returns translated string or fallback/key if not found
230
230
  */
231
231
  static t(e, t) {
232
- const i = this._currentLocale, o = this._messages[i], a = e.split(".");
233
- let s = o;
232
+ const i = this._currentLocale, n = this._messages[i], a = e.split(".");
233
+ let s = n;
234
234
  for (const r of a) {
235
235
  if (!s || typeof s != "object")
236
236
  return (t == null ? void 0 : t.fallback) ?? e;
@@ -327,25 +327,27 @@ const y = "ACAD", b = "USER", m = class m {
327
327
  return this.cmdPrompt(y, e);
328
328
  }
329
329
  };
330
- m._messages = {
330
+ p._messages = {
331
331
  en: {},
332
332
  zh: {},
333
+ ja: {},
334
+ ko: {},
333
335
  tr: {},
334
336
  cs: {},
335
337
  ar: {}
336
- }, m._currentLocale = "en", m.events = {
338
+ }, p._currentLocale = "en", p.events = {
337
339
  /** Fired when locale changed */
338
340
  localeChanged: new I()
339
- }, m.userCmdDescription = (e) => m.cmdDescription(b, e), m.userCmdPrompt = (e) => m.cmdPrompt(b, e);
340
- let d = m;
341
- function P(n, e) {
341
+ }, p.userCmdDescription = (e) => p.cmdDescription(b, e), p.userCmdPrompt = (e) => p.cmdPrompt(b, e);
342
+ let d = p;
343
+ function N(o, e) {
342
344
  for (const t of Object.keys(e)) {
343
- const i = e[t], o = n[t];
344
- E(o) && E(i) ? P(o, i) : n[t] = i;
345
+ const i = e[t], n = o[t];
346
+ D(n) && D(i) ? N(n, i) : o[t] = i;
345
347
  }
346
348
  }
347
- function E(n) {
348
- return typeof n == "object" && n !== null;
349
+ function D(o) {
350
+ return typeof o == "object" && o !== null;
349
351
  }
350
352
  const ke = {
351
353
  document: {
@@ -388,6 +390,9 @@ const ke = {
388
390
  exportingPdf: "جارٍ تصدير PDF ...",
389
391
  exportingSvg: "جارٍ تصدير SVG ...",
390
392
  calculatingSmartExtents: "جارٍ حساب الملاءمة الذكية ...",
393
+ copyingToClipboard: "جارٍ النسخ إلى الحافظة ...",
394
+ cuttingToClipboard: "جارٍ القص ...",
395
+ pastingFromClipboard: "جارٍ اللصق ...",
391
396
  importingPdf: "جارٍ استيراد PDF ...",
392
397
  exportingEntityPreview: "جارٍ تصدير الصورة ...",
393
398
  collectingMemoryProfile: "جارٍ تحليل الذاكرة ...",
@@ -476,6 +481,9 @@ const ke = {
476
481
  undo: "تراجع",
477
482
  redo: "إعادة",
478
483
  erase: "حذف",
484
+ copy: "نسخ",
485
+ cut: "قص",
486
+ paste: "لصق",
479
487
  collapse: "طي شريط الأدوات",
480
488
  expand: "توسيع شريط الأدوات"
481
489
  },
@@ -537,6 +545,22 @@ const ke = {
537
545
  selectFile: "اختيار ملف",
538
546
  signInRequired: "سجّل الدخول أولاً لاختيار ملف.",
539
547
  downloading: "جارٍ تنزيل الملف ..."
548
+ },
549
+ dockPanel: {
550
+ close: "إغلاق اللوحة",
551
+ dockSide: "جهة الإرساء",
552
+ dockTop: "إرساء بالأعلى",
553
+ dockBottom: "إرساء بالأسفل",
554
+ dockLeft: "إرساء باليسار",
555
+ dockRight: "إرساء باليمين",
556
+ moreTabs: "المزيد من علامات التبويب",
557
+ resize: "تغيير حجم اللوحة",
558
+ tab: {
559
+ layers: "الطبقات",
560
+ review: "المراجعة",
561
+ find: "بحث",
562
+ measurements: "القياسات"
563
+ }
540
564
  }
541
565
  }, xe = {
542
566
  document: {
@@ -579,6 +603,9 @@ const ke = {
579
603
  exportingPdf: "Exportuji PDF…",
580
604
  exportingSvg: "Exportuji SVG…",
581
605
  calculatingSmartExtents: "Počítám chytrý rozsah…",
606
+ copyingToClipboard: "Kopíruji do schránky…",
607
+ cuttingToClipboard: "Vystřihuji…",
608
+ pastingFromClipboard: "Vkládám…",
582
609
  importingPdf: "Importuji PDF…",
583
610
  exportingEntityPreview: "Exportuji obrázek…",
584
611
  collectingMemoryProfile: "Analyzuji paměť…",
@@ -650,7 +677,7 @@ const ke = {
650
677
  about: {
651
678
  title: "O aplikaci",
652
679
  close: "Zavřít",
653
- product: "CAD Viewer",
680
+ product: "CAD prohlížeč",
654
681
  tagline: "Vysokovýkonný webový CAD prohlížeč pro výkresy DWG a DXF.",
655
682
  website: "Web",
656
683
  docs: "Dokumentace",
@@ -667,6 +694,9 @@ const ke = {
667
694
  undo: "Zpět",
668
695
  redo: "Znovu",
669
696
  erase: "Smazat",
697
+ copy: "Kopírovat",
698
+ cut: "Vyjmout",
699
+ paste: "Vložit",
670
700
  collapse: "Sbalit panel nástrojů",
671
701
  expand: "Rozbalit panel nástrojů"
672
702
  },
@@ -728,6 +758,22 @@ const ke = {
728
758
  selectFile: "Vybrat soubor",
729
759
  signInRequired: "Nejprve se přihlaste a pak vyberte soubor.",
730
760
  downloading: "Stahuji soubor ..."
761
+ },
762
+ dockPanel: {
763
+ close: "Zavřít panel",
764
+ dockSide: "Strana ukotvení",
765
+ dockTop: "Ukotvit nahoře",
766
+ dockBottom: "Ukotvit dole",
767
+ dockLeft: "Ukotvit vlevo",
768
+ dockRight: "Ukotvit vpravo",
769
+ moreTabs: "Další karty",
770
+ resize: "Změnit velikost panelu",
771
+ tab: {
772
+ layers: "Hladiny",
773
+ review: "Kontrola",
774
+ find: "Hledat",
775
+ measurements: "Měření"
776
+ }
731
777
  }
732
778
  }, we = {
733
779
  document: {
@@ -770,6 +816,9 @@ const ke = {
770
816
  exportingPdf: "Exporting PDF ...",
771
817
  exportingSvg: "Exporting SVG ...",
772
818
  calculatingSmartExtents: "Calculating smart extents ...",
819
+ copyingToClipboard: "Copying to clipboard ...",
820
+ cuttingToClipboard: "Cutting ...",
821
+ pastingFromClipboard: "Pasting ...",
773
822
  importingPdf: "Importing PDF ...",
774
823
  exportingEntityPreview: "Exporting image ...",
775
824
  collectingMemoryProfile: "Analyzing memory ...",
@@ -858,6 +907,9 @@ const ke = {
858
907
  undo: "Undo",
859
908
  redo: "Redo",
860
909
  erase: "Delete",
910
+ copy: "Copy",
911
+ cut: "Cut",
912
+ paste: "Paste",
861
913
  collapse: "Collapse toolbar",
862
914
  expand: "Expand toolbar"
863
915
  },
@@ -919,6 +971,448 @@ const ke = {
919
971
  selectFile: "Select file",
920
972
  signInRequired: "Sign in first to select a file.",
921
973
  downloading: "Downloading file ..."
974
+ },
975
+ dockPanel: {
976
+ close: "Close panel",
977
+ dockSide: "Dock side",
978
+ dockTop: "Dock to top",
979
+ dockBottom: "Dock to bottom",
980
+ dockLeft: "Dock to left",
981
+ dockRight: "Dock to right",
982
+ moreTabs: "More tabs",
983
+ resize: "Resize panel",
984
+ tab: {
985
+ layers: "Layers",
986
+ review: "Review",
987
+ find: "Find",
988
+ measurements: "Measurements"
989
+ }
990
+ }
991
+ }, Te = {
992
+ document: {
993
+ untitled: "無題"
994
+ },
995
+ commandLine: {
996
+ noLast: "(直前のコマンドなし)",
997
+ unknownCommand: "不明なコマンド",
998
+ executed: "実行したコマンド",
999
+ showHistory: "コマンド履歴を表示",
1000
+ placeholder: "コマンドを入力",
1001
+ showMessages: "メッセージ履歴を表示",
1002
+ canceled: "*キャンセル*",
1003
+ noHistory: "(履歴なし)",
1004
+ invalidInput: "無効な入力です。",
1005
+ close: "コマンド ラインを閉じる"
1006
+ },
1007
+ mobileCommand: {
1008
+ length: "長さ",
1009
+ angle: "角度",
1010
+ dx: "ΔX",
1011
+ dy: "ΔY",
1012
+ x: "X",
1013
+ y: "Y",
1014
+ confirm: "確定",
1015
+ cancel: "キャンセル",
1016
+ help: "ヘルプ",
1017
+ back: "戻る",
1018
+ collapse: "折りたたむ",
1019
+ expand: "展開"
1020
+ },
1021
+ inputManager: {
1022
+ firstCorner: "一方のコーナーを指定 または",
1023
+ secondCorner: "もう一方のコーナーを指定 または"
1024
+ },
1025
+ message: {
1026
+ onLockedLayer: "ロックされた画層上にあります。",
1027
+ fetchingDrawingFile: "ファイルを取得しています...",
1028
+ exportingDxf: "DXF を書き出しています...",
1029
+ exportingPdf: "PDF を書き出しています...",
1030
+ exportingSvg: "SVG を書き出しています...",
1031
+ calculatingSmartExtents: "スマート範囲を計算しています...",
1032
+ copyingToClipboard: "クリップボードにコピーしています...",
1033
+ cuttingToClipboard: "切り取っています...",
1034
+ pastingFromClipboard: "貼り付けています...",
1035
+ importingPdf: "PDF を読み込んでいます...",
1036
+ exportingEntityPreview: "イメージを書き出しています...",
1037
+ collectingMemoryProfile: "メモリを分析しています...",
1038
+ fontCached: "フォントをキャッシュしました",
1039
+ fontCacheFailed: "フォントのキャッシュに失敗しました",
1040
+ fontsNotFound: "フォント リポジトリにフォントが見つかりません: {fonts}。",
1041
+ fontsNotLoaded: "フォントの読み込みに失敗しました: {fonts}。",
1042
+ fontMissedInDrawing: "フォント「{font}」は {count} 個の文字オブジェクトで必要ですが、使用できません。「{replacementFont}」で表示します。",
1043
+ fontMissedReplacement: "「{font}」(「{replacement}」で表示)",
1044
+ failedToGetAvaiableFonts: "「{url}」から使用可能なフォントを取得できませんでした。",
1045
+ failedToOpenFile: "ファイル「{fileName}」を開けませんでした。",
1046
+ failedToOpenFileToast: "「{fileName}」を開けませんでした。詳細は通知センターを確認してください。",
1047
+ failedToOpenFileWorkerOom: "「{fileName}」を開けませんでした。使用可能なメモリが不足したため解析に失敗しました (LibreDWG パーサー)。{dwgParserLink} から商用 DWG パーサーを購入すると、このクラッシュなしで大きな図面を開くことができます。",
1048
+ failedToOpenFileWorkerOomLink: "このページ",
1049
+ failedToOpenFileWorkerTimeout: "「{fileName}」を開けませんでした。図面の解析中にタイムアウトしました。",
1050
+ failedToOpenFileFontLoadFailed: "「{fileName}」を開けませんでした。必要なフォントを読み込めませんでした。",
1051
+ failedToOpenFileLicenseExpired: "「{fileName}」を開けませんでした。DWG コンバーターのライセンスの有効期限が切れています。",
1052
+ failedToOpenFileLicenseInvalid: "「{fileName}」を開けませんでした。DWG コンバーターのライセンスが見つからないか無効です。",
1053
+ unknownEntities: "この図面には不明またはサポートされていないオブジェクトが {count} 個含まれています。これらのオブジェクトは表示されません。",
1054
+ tianzhengEntities: "この図面には TArch / Tianzheng (または類似のサード パーティ製) のカスタム オブジェクトが約 {count} 個含まれています。この環境では完全に解析できないため、一部の内容が表示されない場合があります。",
1055
+ emptyProxyEntities: "この図面にはプロキシ グラフィックスのないカスタム オブジェクトが {count} 個含まれています。これらのオブジェクトは表示されません。"
1056
+ },
1057
+ notification: {
1058
+ center: {
1059
+ title: "通知",
1060
+ clearAll: "すべてクリア",
1061
+ noNotifications: "通知はありません"
1062
+ },
1063
+ group: {
1064
+ fontMissed: "フォントの欠落",
1065
+ fontMissedSummary: "フォント関連のメッセージが {count} 件あります。クリックして詳細を表示します。",
1066
+ unsupportedEntities: "サポートされていないオブジェクト",
1067
+ unsupportedEntitiesSummary: "解析関連のメッセージが {count} 件あります。クリックして詳細を表示します。",
1068
+ genericSummary: "メッセージが {count} 件あります。クリックして詳細を表示します。"
1069
+ },
1070
+ title: {
1071
+ failedToOpenFile: "ファイルを開けませんでした",
1072
+ failedToOpenFileWorkerOom: "メモリ不足",
1073
+ failedToOpenFileWorkerTimeout: "開く操作がタイムアウトしました",
1074
+ failedToOpenFileFontLoadFailed: "フォントの読み込みに失敗",
1075
+ failedToOpenFileLicenseExpired: "ライセンスの有効期限切れ",
1076
+ failedToOpenFileLicenseInvalid: "無効なライセンス",
1077
+ fontNotFound: "フォントが見つかりません",
1078
+ fontNotLoaded: "フォントが読み込まれていません",
1079
+ parsingWarning: "図面の解析時の問題",
1080
+ systemMessage: "システム メッセージ",
1081
+ systemWarning: "システム警告",
1082
+ systemError: "システム エラー",
1083
+ systemInfo: "システム情報"
1084
+ }
1085
+ },
1086
+ progress: {
1087
+ start: "ファイルの解析を開始しています...",
1088
+ parse: "ファイルを解析しています...",
1089
+ font: "この図面に必要なフォントをダウンロードしています...",
1090
+ ltype: "線種を解析しています...",
1091
+ style: "文字スタイルを解析しています...",
1092
+ dimstyle: "寸法スタイルを解析しています...",
1093
+ layer: "画層を解析しています...",
1094
+ vport: "ビューポートを解析しています...",
1095
+ blockrecord: "ブロック レコードを解析しています...",
1096
+ header: "ヘッダーを解析しています...",
1097
+ block: "ブロックを解析しています...",
1098
+ entity: "オブジェクトを解析しています...",
1099
+ object: "名前付きディクショナリを解析しています...",
1100
+ rendering: "図面をレンダリングしています...",
1101
+ end: "完了しました。"
1102
+ },
1103
+ about: {
1104
+ title: "バージョン情報",
1105
+ close: "閉じる",
1106
+ product: "CAD ビューア",
1107
+ tagline: "DWG および DXF 図面用の高性能 Web CAD ビューア。",
1108
+ website: "Web サイト",
1109
+ docs: "ドキュメント",
1110
+ repository: "GitHub",
1111
+ copyright: "© {year} mlightcad. 無断転載を禁じます。",
1112
+ ok: "OK"
1113
+ },
1114
+ drawStyle: {
1115
+ color: "色",
1116
+ fontSize: "文字の高さ"
1117
+ },
1118
+ shortCutToolbar: {
1119
+ more: "その他",
1120
+ undo: "元に戻す",
1121
+ redo: "やり直し",
1122
+ erase: "削除",
1123
+ copy: "コピー",
1124
+ cut: "切り取り",
1125
+ paste: "貼り付け",
1126
+ collapse: "ツールバーを折りたたむ",
1127
+ expand: "ツールバーを展開"
1128
+ },
1129
+ textHeight: {
1130
+ title: "文字の高さ",
1131
+ close: "閉じる",
1132
+ ok: "OK",
1133
+ cancel: "キャンセル",
1134
+ adaptive: "画面に合わせる",
1135
+ custom: "カスタム文字高さ",
1136
+ customPlaceholder: "ワールド高さ",
1137
+ fromScreen: "画面サイズから",
1138
+ fromScreenHint: "現在のズームで画面上に表示される文字の大きさを入力します。この値は固定のワールド空間の高さに変換され、後でズームしても一定に保たれます。",
1139
+ screenPxPlaceholder: "フォント サイズ",
1140
+ screenUnit: "px",
1141
+ convert: "変換"
1142
+ },
1143
+ entityPick: {
1144
+ cancel: "選択をキャンセル"
1145
+ },
1146
+ colorPicker: {
1147
+ title: "色を選択",
1148
+ close: "閉じる",
1149
+ ok: "OK",
1150
+ cancel: "キャンセル",
1151
+ index: "インデックス カラー: ",
1152
+ rgb: "RGB: ",
1153
+ input: "色",
1154
+ inputPlaceholder: "1-255 または #RRGGBB"
1155
+ },
1156
+ touchPointTutorial: {
1157
+ title: "点を正確に指定するには",
1158
+ description: "画面を約 0.5 秒間長押しします。指の上に十字カーソルが表示されて指の動きに追従し、図形にスナップするため、より正確に指定できます。",
1159
+ snoozeToday: "今日は表示しない",
1160
+ hideForever: "今後表示しない",
1161
+ ok: "OK"
1162
+ },
1163
+ dataSource: {
1164
+ open: "開く",
1165
+ local: "ローカル ファイル",
1166
+ url: "URL から",
1167
+ openFrom: "{name} から開く",
1168
+ signInTo: "{name} にサインイン",
1169
+ signOutOf: "{name} からサインアウト",
1170
+ signOutOfAccount: "{name} ({account}) からサインアウト",
1171
+ urlDialogTitle: "URL から開く",
1172
+ urlDialogHint: ".dwg または .dxf ファイルの URL を入力してください。",
1173
+ urlPlaceholder: "https://example.com/drawing.dwg",
1174
+ cancel: "キャンセル",
1175
+ onedrive: "OneDrive",
1176
+ googledrive: "Google Drive",
1177
+ or: "または",
1178
+ dropFile: "ここにファイルをドロップ、または",
1179
+ browse: "参照",
1180
+ dropOrBrowse: "ここに DWG または DXF ファイルをドロップするか、参照します",
1181
+ newDrawing: "新規図面",
1182
+ source: "ソース",
1183
+ unavailable: "このソースはまだ使用できません。",
1184
+ selectFile: "ファイルを選択",
1185
+ signInRequired: "ファイルを選択するには、先にサインインしてください。",
1186
+ downloading: "ファイルをダウンロードしています..."
1187
+ },
1188
+ dockPanel: {
1189
+ close: "パネルを閉じる",
1190
+ dockSide: "ドッキング位置",
1191
+ dockTop: "上にドッキング",
1192
+ dockBottom: "下にドッキング",
1193
+ dockLeft: "左にドッキング",
1194
+ dockRight: "右にドッキング",
1195
+ moreTabs: "その他のタブ",
1196
+ resize: "パネルのサイズを変更",
1197
+ tab: {
1198
+ layers: "画層",
1199
+ review: "レビュー",
1200
+ find: "検索",
1201
+ measurements: "計測"
1202
+ }
1203
+ }
1204
+ }, Fe = {
1205
+ document: {
1206
+ untitled: "제목 없음"
1207
+ },
1208
+ commandLine: {
1209
+ noLast: "(이전 명령 없음)",
1210
+ unknownCommand: "알 수 없는 명령",
1211
+ executed: "실행된 명령",
1212
+ showHistory: "명령 기록 표시",
1213
+ placeholder: "명령 입력",
1214
+ showMessages: "메시지 기록 표시",
1215
+ canceled: "*취소*",
1216
+ noHistory: "(기록 없음)",
1217
+ invalidInput: "잘못된 입력입니다.",
1218
+ close: "명령행 닫기"
1219
+ },
1220
+ mobileCommand: {
1221
+ length: "길이",
1222
+ angle: "각도",
1223
+ dx: "ΔX",
1224
+ dy: "ΔY",
1225
+ x: "X",
1226
+ y: "Y",
1227
+ confirm: "확인",
1228
+ cancel: "취소",
1229
+ help: "도움말",
1230
+ back: "뒤로",
1231
+ collapse: "접기",
1232
+ expand: "펼치기"
1233
+ },
1234
+ inputManager: {
1235
+ firstCorner: "첫 번째 구석 지정 또는",
1236
+ secondCorner: "두 번째 구석 지정 또는"
1237
+ },
1238
+ message: {
1239
+ onLockedLayer: "개 객체가 잠긴 도면층에 있습니다.",
1240
+ fetchingDrawingFile: "파일을 가져오는 중 ...",
1241
+ exportingDxf: "DXF 내보내는 중 ...",
1242
+ exportingPdf: "PDF 내보내는 중 ...",
1243
+ exportingSvg: "SVG 내보내는 중 ...",
1244
+ calculatingSmartExtents: "스마트 범위 계산 중 ...",
1245
+ copyingToClipboard: "클립보드에 복사하는 중 ...",
1246
+ cuttingToClipboard: "잘라내는 중 ...",
1247
+ pastingFromClipboard: "붙여넣는 중 ...",
1248
+ importingPdf: "PDF 가져오는 중 ...",
1249
+ exportingEntityPreview: "이미지 내보내는 중 ...",
1250
+ collectingMemoryProfile: "메모리 분석 중 ...",
1251
+ fontCached: "글꼴을 캐시했습니다",
1252
+ fontCacheFailed: "글꼴을 캐시하지 못했습니다",
1253
+ fontsNotFound: "글꼴 저장소에서 글꼴을 찾을 수 없습니다: {fonts}.",
1254
+ fontsNotLoaded: "글꼴을 로드하지 못했습니다: {fonts}.",
1255
+ fontMissedInDrawing: '글꼴 "{font}"은(는) 문자 객체 {count}개에서 사용되지만 사용할 수 없습니다. "{replacementFont}"(으)로 표시합니다.',
1256
+ fontMissedReplacement: '"{font}"("{replacement}"(으)로 표시)',
1257
+ failedToGetAvaiableFonts: '"{url}"에서 사용 가능한 글꼴을 가져오지 못했습니다!',
1258
+ failedToOpenFile: '파일 "{fileName}"을(를) 열지 못했습니다!',
1259
+ failedToOpenFileToast: '"{fileName}"을(를) 열지 못했습니다. 자세한 내용은 알림 센터를 확인하십시오.',
1260
+ failedToOpenFileWorkerOom: '"{fileName}"을(를) 열지 못했습니다. 사용 가능한 메모리가 부족하여 구문 분석에 실패했습니다(LibreDWG 파서). {dwgParserLink}을(를) 클릭하여 상용 DWG 파서를 구매하면 이 문제 없이 대용량 도면을 열 수 있습니다.',
1261
+ failedToOpenFileWorkerOomLink: "이 페이지",
1262
+ failedToOpenFileWorkerTimeout: '"{fileName}"을(를) 열지 못했습니다. 도면을 구문 분석하는 중 시간이 초과되었습니다.',
1263
+ failedToOpenFileFontLoadFailed: '"{fileName}"을(를) 열지 못했습니다. 필요한 글꼴을 로드할 수 없습니다.',
1264
+ failedToOpenFileLicenseExpired: '"{fileName}"을(를) 열지 못했습니다. DWG 변환기 라이센스가 만료되었습니다.',
1265
+ failedToOpenFileLicenseInvalid: '"{fileName}"을(를) 열지 못했습니다. DWG 변환기 라이센스가 없거나 유효하지 않습니다.',
1266
+ unknownEntities: "이 도면에는 알 수 없거나 지원되지 않는 객체가 {count}개 있습니다! 해당 객체는 표시되지 않습니다.",
1267
+ tianzhengEntities: "이 도면에는 TArch / Tianzheng(또는 유사한 타사) 사용자 객체가 약 {count}개 있습니다. 이 환경에서는 완전히 구문 분석할 수 없으므로 일부 내용이 표시되지 않을 수 있습니다.",
1268
+ emptyProxyEntities: "이 도면에는 프록시 그래픽이 없는 사용자 객체가 {count}개 있습니다! 해당 객체는 표시되지 않습니다."
1269
+ },
1270
+ notification: {
1271
+ center: {
1272
+ title: "알림",
1273
+ clearAll: "모두 지우기",
1274
+ noNotifications: "알림 없음"
1275
+ },
1276
+ group: {
1277
+ fontMissed: "누락된 글꼴",
1278
+ fontMissedSummary: "글꼴 관련 메시지 {count}개. 클릭하여 자세히 표시합니다.",
1279
+ unsupportedEntities: "지원되지 않는 객체",
1280
+ unsupportedEntitiesSummary: "구문 분석 관련 메시지 {count}개. 클릭하여 자세히 표시합니다.",
1281
+ genericSummary: "메시지 {count}개. 클릭하여 자세히 표시합니다."
1282
+ },
1283
+ title: {
1284
+ failedToOpenFile: "파일 열기 실패",
1285
+ failedToOpenFileWorkerOom: "메모리 부족",
1286
+ failedToOpenFileWorkerTimeout: "열기 시간 초과",
1287
+ failedToOpenFileFontLoadFailed: "글꼴 로드 실패",
1288
+ failedToOpenFileLicenseExpired: "라이센스 만료",
1289
+ failedToOpenFileLicenseInvalid: "잘못된 라이센스",
1290
+ fontNotFound: "글꼴을 찾을 수 없음",
1291
+ fontNotLoaded: "글꼴이 로드되지 않음",
1292
+ parsingWarning: "도면 구문 분석 문제",
1293
+ systemMessage: "시스템 메시지",
1294
+ systemWarning: "시스템 경고",
1295
+ systemError: "시스템 오류",
1296
+ systemInfo: "시스템 정보"
1297
+ }
1298
+ },
1299
+ progress: {
1300
+ start: "파일 구문 분석 시작 ...",
1301
+ parse: "파일 구문 분석 중 ...",
1302
+ font: "이 도면에 필요한 글꼴 다운로드 중 ...",
1303
+ ltype: "선종류 구문 분석 중 ...",
1304
+ style: "문자 스타일 구문 분석 중 ...",
1305
+ dimstyle: "치수 스타일 구문 분석 중 ...",
1306
+ layer: "도면층 구문 분석 중 ...",
1307
+ vport: "뷰포트 구문 분석 중 ...",
1308
+ blockrecord: "블록 레코드 구문 분석 중 ...",
1309
+ header: "헤더 구문 분석 중 ...",
1310
+ block: "블록 구문 분석 중 ...",
1311
+ entity: "객체 구문 분석 중 ...",
1312
+ object: "명명된 사전 구문 분석 중 ...",
1313
+ rendering: "도면 렌더링 중 ...",
1314
+ end: "완료!"
1315
+ },
1316
+ about: {
1317
+ title: "정보",
1318
+ close: "닫기",
1319
+ product: "CAD 뷰어",
1320
+ tagline: "DWG 및 DXF 도면을 위한 고성능 웹 CAD 뷰어입니다.",
1321
+ website: "웹 사이트",
1322
+ docs: "문서",
1323
+ repository: "GitHub",
1324
+ copyright: "© {year} mlightcad. 모든 권리 보유.",
1325
+ ok: "확인"
1326
+ },
1327
+ drawStyle: {
1328
+ color: "색상",
1329
+ fontSize: "문자 높이"
1330
+ },
1331
+ shortCutToolbar: {
1332
+ more: "더 보기",
1333
+ undo: "명령 취소",
1334
+ redo: "명령 복구",
1335
+ erase: "삭제",
1336
+ copy: "복사",
1337
+ cut: "잘라내기",
1338
+ paste: "붙여넣기",
1339
+ collapse: "도구막대 접기",
1340
+ expand: "도구막대 펼치기"
1341
+ },
1342
+ textHeight: {
1343
+ title: "문자 높이",
1344
+ close: "닫기",
1345
+ ok: "확인",
1346
+ cancel: "취소",
1347
+ adaptive: "화면에 맞춤",
1348
+ custom: "사용자 문자 높이",
1349
+ customPlaceholder: "실제 높이",
1350
+ fromScreen: "화면 크기 기준",
1351
+ fromScreenHint: "현재 줌에서 화면에 표시될 문자 크기를 입력합니다. 이 값은 고정된 월드 공간 높이로 변환되며 이후 줌해도 변하지 않습니다.",
1352
+ screenPxPlaceholder: "글꼴 크기",
1353
+ screenUnit: "px",
1354
+ convert: "변환"
1355
+ },
1356
+ entityPick: {
1357
+ cancel: "선택 취소"
1358
+ },
1359
+ colorPicker: {
1360
+ title: "색상 선택",
1361
+ close: "닫기",
1362
+ ok: "확인",
1363
+ cancel: "취소",
1364
+ index: "색상 색인: ",
1365
+ rgb: "RGB: ",
1366
+ input: "색상",
1367
+ inputPlaceholder: "1-255 또는 #RRGGBB"
1368
+ },
1369
+ touchPointTutorial: {
1370
+ title: "점을 정확하게 선택하려면?",
1371
+ description: "화면을 약 0.5초 동안 길게 누르십시오. 손가락 위에 십자선이 나타나 이동을 따라가며 형상에 스냅되어 더 정확하게 선택할 수 있습니다.",
1372
+ snoozeToday: "오늘은 다시 알리지 않음",
1373
+ hideForever: "다시 알리지 않음",
1374
+ ok: "확인"
1375
+ },
1376
+ dataSource: {
1377
+ open: "열기",
1378
+ local: "로컬 파일",
1379
+ url: "URL에서",
1380
+ openFrom: "{name}에서 열기",
1381
+ signInTo: "{name}에 로그인",
1382
+ signOutOf: "{name}에서 로그아웃",
1383
+ signOutOfAccount: "{name}에서 로그아웃({account})",
1384
+ urlDialogTitle: "URL에서 열기",
1385
+ urlDialogHint: ".dwg 또는 .dxf 파일의 URL을 입력하십시오.",
1386
+ urlPlaceholder: "https://example.com/drawing.dwg",
1387
+ cancel: "취소",
1388
+ onedrive: "OneDrive",
1389
+ googledrive: "Google Drive",
1390
+ or: "또는",
1391
+ dropFile: "여기에 파일을 놓거나",
1392
+ browse: "찾아보기",
1393
+ dropOrBrowse: "여기에 DWG 또는 DXF 파일을 놓거나 찾아보기",
1394
+ newDrawing: "새 도면",
1395
+ source: "소스",
1396
+ unavailable: "이 소스는 아직 사용할 수 없습니다.",
1397
+ selectFile: "파일 선택",
1398
+ signInRequired: "파일을 선택하려면 먼저 로그인하십시오.",
1399
+ downloading: "파일 다운로드 중 ..."
1400
+ },
1401
+ dockPanel: {
1402
+ close: "패널 닫기",
1403
+ dockSide: "도킹 위치",
1404
+ dockTop: "위쪽에 도킹",
1405
+ dockBottom: "아래쪽에 도킹",
1406
+ dockLeft: "왼쪽에 도킹",
1407
+ dockRight: "오른쪽에 도킹",
1408
+ moreTabs: "추가 탭",
1409
+ resize: "패널 크기 조정",
1410
+ tab: {
1411
+ layers: "도면층",
1412
+ review: "검토",
1413
+ find: "찾기",
1414
+ measurements: "측정"
1415
+ }
922
1416
  }
923
1417
  }, Se = {
924
1418
  document: {
@@ -961,6 +1455,9 @@ const ke = {
961
1455
  exportingPdf: "PDF dışa aktarılıyor ...",
962
1456
  exportingSvg: "SVG dışa aktarılıyor ...",
963
1457
  calculatingSmartExtents: "Akıllı sınırlar hesaplanıyor ...",
1458
+ copyingToClipboard: "Panoya kopyalanıyor ...",
1459
+ cuttingToClipboard: "Kesiliyor ...",
1460
+ pastingFromClipboard: "Yapıştırılıyor ...",
964
1461
  importingPdf: "PDF içe aktarılıyor ...",
965
1462
  exportingEntityPreview: "Görüntü dışa aktarılıyor ...",
966
1463
  collectingMemoryProfile: "Bellek analiz ediliyor ...",
@@ -1032,7 +1529,7 @@ const ke = {
1032
1529
  about: {
1033
1530
  title: "Hakkında",
1034
1531
  close: "Kapat",
1035
- product: "CAD Viewer",
1532
+ product: "CAD Görüntüleyici",
1036
1533
  tagline: "DWG ve DXF çizimleri için yüksek performanslı web CAD görüntüleyici.",
1037
1534
  website: "Web sitesi",
1038
1535
  docs: "Belgeler",
@@ -1049,6 +1546,9 @@ const ke = {
1049
1546
  undo: "Geri al",
1050
1547
  redo: "Yinele",
1051
1548
  erase: "Sil",
1549
+ copy: "Kopyala",
1550
+ cut: "Kes",
1551
+ paste: "Yapıştır",
1052
1552
  collapse: "Araç çubuğunu daralt",
1053
1553
  expand: "Araç çubuğunu genişlet"
1054
1554
  },
@@ -1110,8 +1610,24 @@ const ke = {
1110
1610
  selectFile: "Dosya seç",
1111
1611
  signInRequired: "Dosya seçmek için önce oturum açın.",
1112
1612
  downloading: "Dosya indiriliyor ..."
1613
+ },
1614
+ dockPanel: {
1615
+ close: "Paneli kapat",
1616
+ dockSide: "Yerleşim kenarı",
1617
+ dockTop: "Üste yerleştir",
1618
+ dockBottom: "Alta yerleştir",
1619
+ dockLeft: "Sola yerleştir",
1620
+ dockRight: "Sağa yerleştir",
1621
+ moreTabs: "Diğer sekmeler",
1622
+ resize: "Panel boyutunu ayarla",
1623
+ tab: {
1624
+ layers: "Katmanlar",
1625
+ review: "İnceleme",
1626
+ find: "Bul",
1627
+ measurements: "Ölçümler"
1628
+ }
1113
1629
  }
1114
- }, Fe = {
1630
+ }, Oe = {
1115
1631
  document: {
1116
1632
  untitled: "未命名"
1117
1633
  },
@@ -1152,6 +1668,9 @@ const ke = {
1152
1668
  exportingPdf: "正在导出 PDF ...",
1153
1669
  exportingSvg: "正在导出 SVG ...",
1154
1670
  calculatingSmartExtents: "正在计算智能范围 ...",
1671
+ copyingToClipboard: "正在复制到剪贴板 ...",
1672
+ cuttingToClipboard: "正在剪切 ...",
1673
+ pastingFromClipboard: "正在粘贴 ...",
1155
1674
  importingPdf: "正在导入 PDF ...",
1156
1675
  exportingEntityPreview: "正在导出图片 ...",
1157
1676
  collectingMemoryProfile: "正在分析内存 ...",
@@ -1240,6 +1759,9 @@ const ke = {
1240
1759
  undo: "撤销",
1241
1760
  redo: "重做",
1242
1761
  erase: "删除",
1762
+ copy: "复制",
1763
+ cut: "剪切",
1764
+ paste: "粘贴",
1243
1765
  collapse: "收起工具栏",
1244
1766
  expand: "展开工具栏"
1245
1767
  },
@@ -1301,11 +1823,27 @@ const ke = {
1301
1823
  selectFile: "选择文件",
1302
1824
  signInRequired: "请先登录后再选择文件。",
1303
1825
  downloading: "正在下载文件 ..."
1826
+ },
1827
+ dockPanel: {
1828
+ close: "关闭面板",
1829
+ dockSide: "停靠位置",
1830
+ dockTop: "停靠在顶部",
1831
+ dockBottom: "停靠在底部",
1832
+ dockLeft: "停靠在左侧",
1833
+ dockRight: "停靠在右侧",
1834
+ moreTabs: "更多标签页",
1835
+ resize: "调整面板大小",
1836
+ tab: {
1837
+ layers: "图层",
1838
+ review: "批注",
1839
+ find: "查找",
1840
+ measurements: "测量"
1841
+ }
1304
1842
  }
1305
1843
  }, M = "local", J = "url";
1306
1844
  class ee {
1307
1845
  constructor() {
1308
- this._sources = /* @__PURE__ */ new Map(), this._emitter = _();
1846
+ this._sources = /* @__PURE__ */ new Map(), this._emitter = W();
1309
1847
  }
1310
1848
  /**
1311
1849
  * Registers a data source. Replaces any existing source with the same id.
@@ -1373,35 +1911,35 @@ class ee {
1373
1911
  this._emitter.emit("changed", { sources: this.list() });
1374
1912
  }
1375
1913
  }
1376
- function te(n, e) {
1377
- if (!e) return n;
1378
- let t = n;
1379
- for (const [i, o] of Object.entries(e))
1380
- t = t.split(`{${i}}`).join(o);
1914
+ function te(o, e) {
1915
+ if (!e) return o;
1916
+ let t = o;
1917
+ for (const [i, n] of Object.entries(e))
1918
+ t = t.split(`{${i}}`).join(n);
1381
1919
  return t;
1382
1920
  }
1383
- function ie(n) {
1921
+ function ie(o) {
1384
1922
  var t;
1385
1923
  const e = [];
1386
- for (const i of n) {
1387
- const o = d.t(i.labelKey), a = i.getAuthState();
1924
+ for (const i of o) {
1925
+ const n = d.t(i.labelKey), a = i.getAuthState();
1388
1926
  if (!i.requiresAuth || a === "none") {
1389
1927
  e.push(
1390
- v(i, "pick", i.labelKey, void 0, o)
1928
+ v(i, "pick", i.labelKey, void 0, n)
1391
1929
  );
1392
1930
  continue;
1393
1931
  }
1394
1932
  if (a === "signed-out") {
1395
1933
  e.push(
1396
1934
  v(i, "sign-in", "main.dataSource.signInTo", {
1397
- name: o
1935
+ name: n
1398
1936
  })
1399
1937
  );
1400
1938
  continue;
1401
1939
  }
1402
1940
  e.push(
1403
1941
  v(i, "pick", "main.dataSource.openFrom", {
1404
- name: o
1942
+ name: n
1405
1943
  })
1406
1944
  );
1407
1945
  const s = (t = i.getAccountLabel) == null ? void 0 : t.call(i);
@@ -1410,46 +1948,46 @@ function ie(n) {
1410
1948
  i,
1411
1949
  "sign-out",
1412
1950
  s ? "main.dataSource.signOutOfAccount" : "main.dataSource.signOutOf",
1413
- s ? { name: o, account: s } : { name: o }
1951
+ s ? { name: n, account: s } : { name: n }
1414
1952
  )
1415
1953
  );
1416
1954
  }
1417
1955
  return e;
1418
1956
  }
1419
- function Te(n) {
1957
+ function De(o) {
1420
1958
  var e;
1421
- return n.length === 1 && ((e = n[0]) == null ? void 0 : e.id) === M && !n[0].requiresAuth;
1959
+ return o.length === 1 && ((e = o[0]) == null ? void 0 : e.id) === M && !o[0].requiresAuth;
1422
1960
  }
1423
- function v(n, e, t, i, o) {
1961
+ function v(o, e, t, i, n) {
1424
1962
  return {
1425
- id: `${n.id}:${e}`,
1426
- sourceId: n.id,
1963
+ id: `${o.id}:${e}`,
1964
+ sourceId: o.id,
1427
1965
  action: e,
1428
1966
  labelKey: t,
1429
1967
  labelParams: i,
1430
- label: o ?? te(d.t(t), i)
1968
+ label: n ?? te(d.t(t), i)
1431
1969
  };
1432
1970
  }
1433
- async function ne(n, e) {
1434
- if (n.id === e.sourceId) {
1971
+ async function oe(o, e) {
1972
+ if (o.id === e.sourceId) {
1435
1973
  if (e.action === "sign-in") {
1436
- await n.signIn();
1974
+ await o.signIn();
1437
1975
  return;
1438
1976
  }
1439
1977
  if (e.action === "sign-out") {
1440
- await n.signOut();
1978
+ await o.signOut();
1441
1979
  return;
1442
1980
  }
1443
- return n.pick();
1981
+ return o.pick();
1444
1982
  }
1445
1983
  }
1446
- function ze(n, e = 1080, t = 680) {
1447
- const i = window.screenLeft !== void 0 ? window.screenLeft : window.screenX, o = window.screenTop !== void 0 ? window.screenTop : window.screenY, a = window.innerWidth || document.documentElement.clientWidth || screen.width, s = window.innerHeight || document.documentElement.clientHeight || screen.height, r = Math.max(
1984
+ function Le(o, e = 1080, t = 680) {
1985
+ const i = window.screenLeft !== void 0 ? window.screenLeft : window.screenX, n = window.screenTop !== void 0 ? window.screenTop : window.screenY, a = window.innerWidth || document.documentElement.clientWidth || screen.width, s = window.innerHeight || document.documentElement.clientHeight || screen.height, r = Math.max(
1448
1986
  0,
1449
1987
  Math.round(i + (a - e) / 2)
1450
1988
  ), l = Math.max(
1451
1989
  0,
1452
- Math.round(o + (s - t) / 2)
1990
+ Math.round(n + (s - t) / 2)
1453
1991
  ), c = [
1454
1992
  `width=${e}`,
1455
1993
  `height=${t}`,
@@ -1458,11 +1996,11 @@ function ze(n, e = 1080, t = 680) {
1458
1996
  "resizable=yes",
1459
1997
  "scrollbars=yes"
1460
1998
  ].join(",");
1461
- return window.open("", n, c);
1999
+ return window.open("", o, c);
1462
2000
  }
1463
- const O = [".dxf", ".dwg"], h = "local", w = "url", oe = "100%", re = "150px";
1464
- function D(n, e) {
1465
- return n == null ? e : typeof n == "number" ? `${n}px` : n;
2001
+ const L = [".dxf", ".dwg", ".svg"], h = "local", w = "url", ne = "100%", re = "150px";
2002
+ function C(o, e) {
2003
+ return o == null ? e : typeof o == "number" ? `${o}px` : o;
1466
2004
  }
1467
2005
  const f = class f {
1468
2006
  constructor(e) {
@@ -1485,7 +2023,7 @@ const f = class f {
1485
2023
  const r = document.createElement("button");
1486
2024
  r.type = "button", r.className = "ml-ui-file-open-primary", r.textContent = d.t("main.dataSource.newDrawing"), r.addEventListener("click", () => this.emit({ kind: "new-drawing" })), this.root.appendChild(r), this.root.appendChild(this.createDivider());
1487
2025
  }
1488
- this.card = document.createElement("div"), this.card.className = "ml-ui-file-open-card", this.applyCardSize(), this.root.appendChild(this.card), this.fileInput = document.createElement("input"), this.fileInput.type = "file", this.fileInput.accept = e.accept ?? O.join(","), this.fileInput.className = "ml-ui-file-open-input-hidden", this.fileInput.addEventListener("change", () => {
2026
+ this.card = document.createElement("div"), this.card.className = "ml-ui-file-open-card", this.applyCardSize(), this.root.appendChild(this.card), this.fileInput = document.createElement("input"), this.fileInput.type = "file", this.fileInput.accept = e.accept ?? L.join(","), this.fileInput.className = "ml-ui-file-open-input-hidden", this.fileInput.addEventListener("change", () => {
1489
2027
  var l;
1490
2028
  const r = (l = this.fileInput.files) == null ? void 0 : l[0];
1491
2029
  this.fileInput.value = "", r && this.isSupportedFileName(r.name) && this.emitLocal(r);
@@ -1499,13 +2037,13 @@ const f = class f {
1499
2037
  );
1500
2038
  const i = document.createElement("span");
1501
2039
  i.className = "ml-ui-file-open-drop-link", i.textContent = d.t("main.dataSource.browse"), t.appendChild(i);
1502
- const o = document.createElement("div");
1503
- o.className = "ml-ui-file-open-tags";
2040
+ const n = document.createElement("div");
2041
+ n.className = "ml-ui-file-open-tags";
1504
2042
  for (const r of ["DWG", "DXF"]) {
1505
2043
  const l = document.createElement("span");
1506
- l.className = "ml-ui-file-open-tag", l.textContent = r, o.appendChild(l);
2044
+ l.className = "ml-ui-file-open-tag", l.textContent = r, n.appendChild(l);
1507
2045
  }
1508
- this.dropzone.appendChild(t), this.dropzone.appendChild(o), this.dropzone.addEventListener("click", () => this.fileInput.click()), this.dropzone.addEventListener("keydown", (r) => {
2046
+ this.dropzone.appendChild(t), this.dropzone.appendChild(n), this.dropzone.addEventListener("click", () => this.fileInput.click()), this.dropzone.addEventListener("keydown", (r) => {
1509
2047
  (r.key === "Enter" || r.key === " ") && (r.preventDefault(), this.fileInput.click());
1510
2048
  }), this.dropzone.addEventListener("dragenter", (r) => this.onDrag(r, !0)), this.dropzone.addEventListener("dragover", (r) => this.onDrag(r, !0)), this.dropzone.addEventListener("dragleave", (r) => this.onDrag(r, !1)), this.dropzone.addEventListener("drop", (r) => this.onDrop(r)), this.urlRow = document.createElement("div"), this.urlRow.className = "ml-ui-file-open-url-row", this.urlInput = document.createElement("input"), this.urlInput.type = "url", this.urlInput.className = "ml-ui-file-open-url-input", this.urlInput.placeholder = d.t("main.dataSource.urlPlaceholder"), this.urlInput.autocomplete = "off", this.urlInput.spellcheck = !1, this.urlInput.addEventListener("keydown", (r) => {
1511
2049
  r.key === "Enter" && (r.preventDefault(), this.submitUrl());
@@ -1569,15 +2107,15 @@ const f = class f {
1569
2107
  }
1570
2108
  applyCardSize() {
1571
2109
  const e = this.options.cardSize;
1572
- this.card.style.width = D(e == null ? void 0 : e.width, oe), this.card.style.height = D(e == null ? void 0 : e.height, re);
2110
+ this.card.style.width = C(e == null ? void 0 : e.width, ne), this.card.style.height = C(e == null ? void 0 : e.height, re);
1573
2111
  }
1574
2112
  syncSourceChrome() {
1575
2113
  const e = this.resolveSourceOptions();
1576
2114
  new Set(e.map((a) => a.value)).has(this.activeView) || (this.activeView = h, this.closeMenu());
1577
2115
  const i = e.find((a) => a.value === this.activeView) ?? e[0];
1578
2116
  this.footerLabel.textContent = (i == null ? void 0 : i.label) ?? "";
1579
- const o = e.length > 1;
1580
- this.footerBtn.disabled = !o, this.footerBtn.classList.toggle("is-single", !o), this.footerChevron.hidden = !o, o || this.closeMenu(), this.menuEl.replaceChildren();
2117
+ const n = e.length > 1;
2118
+ this.footerBtn.disabled = !n, this.footerBtn.classList.toggle("is-single", !n), this.footerChevron.hidden = !n, n || this.closeMenu(), this.menuEl.replaceChildren();
1581
2119
  for (const a of e) {
1582
2120
  const s = document.createElement("button");
1583
2121
  s.type = "button", s.className = "ml-ui-file-open-menu-item", s.setAttribute("role", "option"), s.setAttribute(
@@ -1597,14 +2135,14 @@ const f = class f {
1597
2135
  */
1598
2136
  maybeAutoSignIn(e) {
1599
2137
  if (e === h || e === w) return;
1600
- const t = this.resolveSources().find((o) => o.id === e);
2138
+ const t = this.resolveSources().find((n) => n.id === e);
1601
2139
  if (t) {
1602
2140
  t.requiresAuth && t.getAuthState() === "signed-out" && t.signIn().catch(() => {
1603
2141
  }).finally(() => this.refreshSourceButtons());
1604
2142
  return;
1605
2143
  }
1606
2144
  const i = this.resolveExtraMenuItems().find(
1607
- (o) => o.sourceId === e && o.action === "sign-in"
2145
+ (n) => n.sourceId === e && n.action === "sign-in"
1608
2146
  );
1609
2147
  i && this.emit({ kind: "data-source", item: i });
1610
2148
  }
@@ -1637,14 +2175,14 @@ const f = class f {
1637
2175
  return e;
1638
2176
  }
1639
2177
  resolveSourceLabel(e) {
1640
- var o;
2178
+ var n;
1641
2179
  const t = this.resolveSources().find((a) => a.id === e);
1642
2180
  if (t)
1643
2181
  return d.t(t.labelKey);
1644
2182
  const i = this.resolveExtraMenuItems().find(
1645
2183
  (a) => a.sourceId === e
1646
2184
  );
1647
- return (o = i == null ? void 0 : i.labelParams) != null && o.name ? i.labelParams.name : e;
2185
+ return (n = i == null ? void 0 : i.labelParams) != null && n.name ? i.labelParams.name : e;
1648
2186
  }
1649
2187
  renderActiveView() {
1650
2188
  if (this.contentEl.replaceChildren(), this.activeView === h) {
@@ -1678,10 +2216,10 @@ const f = class f {
1678
2216
  var s, r, l, c;
1679
2217
  const t = (r = (s = this.options).getAccountProfile) == null ? void 0 : r.call(s, e);
1680
2218
  if (t != null && t.displayName) return t;
1681
- const i = this.resolveSources().find((p) => p.id === e);
2219
+ const i = this.resolveSources().find((m) => m.id === e);
1682
2220
  if (!i || i.getAuthState() !== "signed-in") return;
1683
- const o = (l = i.getAccountProfile) == null ? void 0 : l.call(i);
1684
- if (o != null && o.displayName) return o;
2221
+ const n = (l = i.getAccountProfile) == null ? void 0 : l.call(i);
2222
+ if (n != null && n.displayName) return n;
1685
2223
  const a = (c = i.getAccountLabel) == null ? void 0 : c.call(i);
1686
2224
  if (a) return { displayName: a };
1687
2225
  }
@@ -1714,8 +2252,8 @@ const f = class f {
1714
2252
  }
1715
2253
  const i = document.createElement("button");
1716
2254
  i.type = "button", i.className = "ml-ui-file-open-source-btn ml-ui-file-open-source-btn--primary", i.textContent = d.t("main.dataSource.selectFile");
1717
- const o = this.canPickSource(e);
1718
- i.disabled = !o, o || (i.title = d.t("main.dataSource.signInRequired")), i.addEventListener("click", () => {
2255
+ const n = this.canPickSource(e);
2256
+ i.disabled = !n, n || (i.title = d.t("main.dataSource.signInRequired")), i.addEventListener("click", () => {
1719
2257
  this.canPickSource(e) && this.emit({
1720
2258
  kind: "data-source",
1721
2259
  item: this.buildPickMenuItem(e)
@@ -1725,7 +2263,7 @@ const f = class f {
1725
2263
  resolveMenuItems() {
1726
2264
  const e = this.resolveSources().filter(
1727
2265
  (s) => s.id !== M && s.id !== J
1728
- ), t = ie(e), i = this.resolveExtraMenuItems(), o = new Set(t.map((s) => s.sourceId)), a = i.filter((s) => !o.has(s.sourceId));
2266
+ ), t = ie(e), i = this.resolveExtraMenuItems(), n = new Set(t.map((s) => s.sourceId)), a = i.filter((s) => !n.has(s.sourceId));
1729
2267
  return [...t, ...a];
1730
2268
  }
1731
2269
  resolveManager() {
@@ -1761,23 +2299,23 @@ const f = class f {
1761
2299
  e.preventDefault(), e.stopPropagation(), this.dropzone.classList.toggle("is-dragover", t);
1762
2300
  }
1763
2301
  onDrop(e) {
1764
- var i, o;
2302
+ var i, n;
1765
2303
  this.onDrag(e, !1);
1766
- const t = (o = (i = e.dataTransfer) == null ? void 0 : i.files) == null ? void 0 : o[0];
2304
+ const t = (n = (i = e.dataTransfer) == null ? void 0 : i.files) == null ? void 0 : n[0];
1767
2305
  t && this.isSupportedFileName(t.name) && this.emitLocal(t);
1768
2306
  }
1769
2307
  isSupportedFileName(e) {
1770
2308
  const t = e.toLowerCase();
1771
- return O.some((i) => t.endsWith(i));
2309
+ return L.some((i) => t.endsWith(i));
1772
2310
  }
1773
2311
  emitLocal(e) {
1774
2312
  this.emit({ kind: "local", file: e });
1775
2313
  }
1776
2314
  emit(e) {
1777
- var t, i, o, a, s, r, l, c, p, u;
2315
+ var t, i, n, a, s, r, l, c, m, u;
1778
2316
  switch ((i = (t = this.options).onResult) == null || i.call(t, e), e.kind) {
1779
2317
  case "local":
1780
- (a = (o = this.options).onLocalFile) == null || a.call(o, e.file);
2318
+ (a = (n = this.options).onLocalFile) == null || a.call(n, e.file);
1781
2319
  break;
1782
2320
  case "url":
1783
2321
  (r = (s = this.options).onUrl) == null || r.call(s, e.url);
@@ -1786,7 +2324,7 @@ const f = class f {
1786
2324
  (c = (l = this.options).onDataSourceAction) == null || c.call(l, e.item);
1787
2325
  break;
1788
2326
  case "new-drawing":
1789
- (u = (p = this.options).onNewDrawing) == null || u.call(p);
2327
+ (u = (m = this.options).onNewDrawing) == null || u.call(m);
1790
2328
  break;
1791
2329
  }
1792
2330
  }
@@ -2126,15 +2664,15 @@ const f = class f {
2126
2664
  }
2127
2665
  };
2128
2666
  f.styleId = "ml-ui-file-open-panel-styles-v4";
2129
- let T = f;
2130
- function ae(n, e) {
2131
- if (n !== e)
2132
- for (const t of n.list())
2667
+ let S = f;
2668
+ function ae(o, e) {
2669
+ if (o !== e)
2670
+ for (const t of o.list())
2133
2671
  e.get(t.id) !== t && e.register(t);
2134
2672
  }
2135
2673
  class se {
2136
2674
  constructor(e) {
2137
- this.disposed = !1, this.options = e, this.manager = e.manager ?? new ee(), this.panel = new T({
2675
+ this.disposed = !1, this.options = e, this.manager = e.manager ?? new ee(), this.panel = new S({
2138
2676
  host: e.host,
2139
2677
  accept: e.accept,
2140
2678
  title: e.title,
@@ -2221,7 +2759,7 @@ class se {
2221
2759
  const t = this.manager.get(e.sourceId);
2222
2760
  if (t)
2223
2761
  try {
2224
- const i = await ne(t, e);
2762
+ const i = await oe(t, e);
2225
2763
  if (this.disposed) return;
2226
2764
  if (e.action !== "pick" || !i) {
2227
2765
  this.refreshSourceButtons();
@@ -2246,7 +2784,7 @@ class le {
2246
2784
  const {
2247
2785
  createDocManager: t,
2248
2786
  getOpenOptions: i,
2249
- onBeforeOpen: o,
2787
+ onBeforeOpen: n,
2250
2788
  onPrepareOpen: a,
2251
2789
  onAfterOpen: s,
2252
2790
  ...r
@@ -2335,10 +2873,10 @@ class le {
2335
2873
  ), i;
2336
2874
  }
2337
2875
  async openExclusive(e) {
2338
- var i, o, a, s, r, l, c, p;
2876
+ var i, n, a, s, r, l, c, m;
2339
2877
  if (this.disposed)
2340
2878
  return { ok: !1, error: new Error("AcUiFileOpenSession is disposed") };
2341
- await ((o = (i = this.options).onBeforeOpen) == null ? void 0 : o.call(i, e));
2879
+ await ((n = (i = this.options).onBeforeOpen) == null ? void 0 : n.call(i, e));
2342
2880
  let t;
2343
2881
  try {
2344
2882
  const u = await this.ensureDocManager();
@@ -2362,7 +2900,7 @@ class le {
2362
2900
  } catch (u) {
2363
2901
  t = { ok: !1, error: u };
2364
2902
  }
2365
- return await ((p = (c = this.options).onAfterOpen) == null ? void 0 : p.call(c, e, t)), t;
2903
+ return await ((m = (c = this.options).onAfterOpen) == null ? void 0 : m.call(c, e, t)), t;
2366
2904
  }
2367
2905
  /**
2368
2906
  * Disposes the landing panel.
@@ -2375,29 +2913,31 @@ class le {
2375
2913
  this.disposed || (this.disposed = !0, this.ensureGeneration += 1, this.ensurePromise = null, this.landing.dispose());
2376
2914
  }
2377
2915
  }
2378
- function Ee(n) {
2379
- return new le(n);
2916
+ function Ce(o) {
2917
+ return new le(o);
2380
2918
  }
2381
2919
  export {
2382
- R as A,
2383
- B,
2384
- pe as C,
2385
- se as D,
2386
- T as E,
2387
- le as F,
2388
- X as G,
2389
- K as H,
2390
- N as I,
2391
- L as J,
2392
- me as K,
2393
- ie as L,
2920
+ G as A,
2921
+ K as B,
2922
+ ee as C,
2923
+ R as D,
2924
+ me as E,
2925
+ E as F,
2926
+ De as G,
2927
+ ie as H,
2928
+ se as I,
2929
+ S as J,
2930
+ le as K,
2931
+ Z as L,
2394
2932
  fe as M,
2395
- Te as N,
2396
- ze as O,
2397
- Z as P,
2398
- q as Q,
2399
- ae as R,
2400
- Ee as S,
2933
+ V as N,
2934
+ P as O,
2935
+ pe as P,
2936
+ Le as Q,
2937
+ X as R,
2938
+ q as S,
2939
+ ae as T,
2940
+ Ce as U,
2401
2941
  Q as a,
2402
2942
  d as b,
2403
2943
  xe as c,
@@ -2407,21 +2947,21 @@ export {
2407
2947
  ge as g,
2408
2948
  de as h,
2409
2949
  ue as i,
2410
- V as j,
2411
- ve as k,
2412
- C as l,
2413
- _ as m,
2414
- be as n,
2415
- U as o,
2416
- he as p,
2417
- M as q,
2950
+ Te as j,
2951
+ Fe as k,
2952
+ Y as l,
2953
+ W as m,
2954
+ ve as n,
2955
+ z as o,
2956
+ be as p,
2957
+ U as q,
2418
2958
  H as r,
2419
- J as s,
2959
+ he as s,
2420
2960
  Se as t,
2421
- ne as u,
2422
- F as v,
2423
- ye as w,
2424
- Y as x,
2425
- ee as y,
2426
- Fe as z
2961
+ M as u,
2962
+ J as v,
2963
+ oe as w,
2964
+ F as x,
2965
+ ye as y,
2966
+ Oe as z
2427
2967
  };