@linkiez/dxf-renew 7.1.0 → 7.2.3

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 (398) hide show
  1. package/.eslintrc.json +1 -16
  2. package/.yarn/install-state.gz +0 -0
  3. package/ARCHITECTURE.md +163 -0
  4. package/CHANGELOG.md +34 -0
  5. package/README.md +72 -10
  6. package/{PLAN.md → ROADMAP.md} +227 -35
  7. package/build.mjs +28 -0
  8. package/dist/dxf.js +1090 -344
  9. package/docs/FIXTURE_VALIDATION_EZDXF.md +1 -1
  10. package/lib/Helper.cjs +4 -0
  11. package/lib/Helper.cjs.map +3 -3
  12. package/lib/Helper.d.ts +19 -0
  13. package/lib/Helper.d.ts.map +1 -0
  14. package/lib/Helper.js +4 -0
  15. package/lib/Helper.js.map +2 -2
  16. package/lib/applyTransforms.d.ts +12 -0
  17. package/lib/applyTransforms.d.ts.map +1 -0
  18. package/lib/cli.cjs +1 -2
  19. package/lib/cli.cjs.map +1 -1
  20. package/lib/cli.d.ts +3 -0
  21. package/lib/cli.d.ts.map +1 -0
  22. package/lib/config.d.ts +4 -0
  23. package/lib/config.d.ts.map +1 -0
  24. package/lib/constants.d.ts +3 -0
  25. package/lib/constants.d.ts.map +1 -0
  26. package/lib/denormalise.d.ts +3 -0
  27. package/lib/denormalise.d.ts.map +1 -0
  28. package/lib/dimensionToSVG.d.ts +18 -0
  29. package/lib/dimensionToSVG.d.ts.map +1 -0
  30. package/lib/entityToPolyline.cjs +95 -0
  31. package/lib/entityToPolyline.cjs.map +3 -3
  32. package/lib/entityToPolyline.d.ts +48 -0
  33. package/lib/entityToPolyline.d.ts.map +1 -0
  34. package/lib/entityToPolyline.js +95 -0
  35. package/lib/entityToPolyline.js.map +2 -2
  36. package/lib/getRGBForEntity.d.ts +5 -0
  37. package/lib/getRGBForEntity.d.ts.map +1 -0
  38. package/lib/groupEntitiesByLayer.d.ts +3 -0
  39. package/lib/groupEntitiesByLayer.d.ts.map +1 -0
  40. package/lib/handlers/blocks.d.ts +3 -0
  41. package/lib/handlers/blocks.d.ts.map +1 -0
  42. package/lib/handlers/entities.cjs +22 -2
  43. package/lib/handlers/entities.cjs.map +3 -3
  44. package/lib/handlers/entities.d.ts +4 -0
  45. package/lib/handlers/entities.d.ts.map +1 -0
  46. package/lib/handlers/entities.js +22 -2
  47. package/lib/handlers/entities.js.map +2 -2
  48. package/lib/handlers/entity/arc.d.ts +20 -0
  49. package/lib/handlers/entity/arc.d.ts.map +1 -0
  50. package/lib/handlers/entity/attdef.d.ts +11 -0
  51. package/lib/handlers/entity/attdef.d.ts.map +1 -0
  52. package/lib/handlers/entity/attrib.d.ts +9 -0
  53. package/lib/handlers/entity/attrib.d.ts.map +1 -0
  54. package/lib/handlers/entity/circle.d.ts +17 -0
  55. package/lib/handlers/entity/circle.d.ts.map +1 -0
  56. package/lib/handlers/entity/common.d.ts +3 -0
  57. package/lib/handlers/entity/common.d.ts.map +1 -0
  58. package/lib/handlers/entity/dgnUnderlay.d.ts +33 -0
  59. package/lib/handlers/entity/dgnUnderlay.d.ts.map +1 -0
  60. package/lib/handlers/entity/dimension.d.ts +35 -0
  61. package/lib/handlers/entity/dimension.d.ts.map +1 -0
  62. package/lib/handlers/entity/dwfUnderlay.d.ts +33 -0
  63. package/lib/handlers/entity/dwfUnderlay.d.ts.map +1 -0
  64. package/lib/handlers/entity/ellipse.d.ts +10 -0
  65. package/lib/handlers/entity/ellipse.d.ts.map +1 -0
  66. package/lib/handlers/entity/hatch.d.ts +9 -0
  67. package/lib/handlers/entity/hatch.d.ts.map +1 -0
  68. package/lib/handlers/entity/image.d.ts +26 -0
  69. package/lib/handlers/entity/image.d.ts.map +1 -0
  70. package/lib/handlers/entity/insert.d.ts +10 -0
  71. package/lib/handlers/entity/insert.d.ts.map +1 -0
  72. package/lib/handlers/entity/leader.d.ts +48 -0
  73. package/lib/handlers/entity/leader.d.ts.map +1 -0
  74. package/lib/handlers/entity/line.d.ts +16 -0
  75. package/lib/handlers/entity/line.d.ts.map +1 -0
  76. package/lib/handlers/entity/lwpolyline.d.ts +10 -0
  77. package/lib/handlers/entity/lwpolyline.d.ts.map +1 -0
  78. package/lib/handlers/entity/mleader.cjs +69 -0
  79. package/lib/handlers/entity/mleader.cjs.map +7 -0
  80. package/lib/handlers/entity/mleader.d.ts +15 -0
  81. package/lib/handlers/entity/mleader.d.ts.map +1 -0
  82. package/lib/handlers/entity/mleader.js +34 -0
  83. package/lib/handlers/entity/mleader.js.map +7 -0
  84. package/lib/handlers/entity/mline.cjs +91 -0
  85. package/lib/handlers/entity/mline.cjs.map +7 -0
  86. package/lib/handlers/entity/mline.d.ts +17 -0
  87. package/lib/handlers/entity/mline.d.ts.map +1 -0
  88. package/lib/handlers/entity/mline.js +56 -0
  89. package/lib/handlers/entity/mline.js.map +7 -0
  90. package/lib/handlers/entity/mtext.d.ts +62 -0
  91. package/lib/handlers/entity/mtext.d.ts.map +1 -0
  92. package/lib/handlers/entity/ole2Frame.d.ts +9 -0
  93. package/lib/handlers/entity/ole2Frame.d.ts.map +1 -0
  94. package/lib/handlers/entity/oleframe.cjs +98 -0
  95. package/lib/handlers/entity/oleframe.cjs.map +7 -0
  96. package/lib/handlers/entity/oleframe.d.ts +9 -0
  97. package/lib/handlers/entity/oleframe.d.ts.map +1 -0
  98. package/lib/handlers/entity/oleframe.js +63 -0
  99. package/lib/handlers/entity/oleframe.js.map +7 -0
  100. package/lib/handlers/entity/pdfUnderlay.d.ts +33 -0
  101. package/lib/handlers/entity/pdfUnderlay.d.ts.map +1 -0
  102. package/lib/handlers/entity/point.d.ts +17 -0
  103. package/lib/handlers/entity/point.d.ts.map +1 -0
  104. package/lib/handlers/entity/polyline.d.ts +21 -0
  105. package/lib/handlers/entity/polyline.d.ts.map +1 -0
  106. package/lib/handlers/entity/ray.cjs +81 -0
  107. package/lib/handlers/entity/ray.cjs.map +7 -0
  108. package/lib/handlers/entity/ray.d.ts +15 -0
  109. package/lib/handlers/entity/ray.d.ts.map +1 -0
  110. package/lib/handlers/entity/ray.js +46 -0
  111. package/lib/handlers/entity/ray.js.map +7 -0
  112. package/lib/handlers/entity/region.cjs +67 -0
  113. package/lib/handlers/entity/region.cjs.map +7 -0
  114. package/lib/handlers/entity/region.d.ts +14 -0
  115. package/lib/handlers/entity/region.d.ts.map +1 -0
  116. package/lib/handlers/entity/region.js +32 -0
  117. package/lib/handlers/entity/region.js.map +7 -0
  118. package/lib/handlers/entity/shape.cjs +95 -0
  119. package/lib/handlers/entity/shape.cjs.map +7 -0
  120. package/lib/handlers/entity/shape.d.ts +22 -0
  121. package/lib/handlers/entity/shape.d.ts.map +1 -0
  122. package/lib/handlers/entity/shape.js +60 -0
  123. package/lib/handlers/entity/shape.js.map +7 -0
  124. package/lib/handlers/entity/solid.d.ts +15 -0
  125. package/lib/handlers/entity/solid.d.ts.map +1 -0
  126. package/lib/handlers/entity/spline.d.ts +30 -0
  127. package/lib/handlers/entity/spline.d.ts.map +1 -0
  128. package/lib/handlers/entity/table.cjs +71 -0
  129. package/lib/handlers/entity/table.cjs.map +7 -0
  130. package/lib/handlers/entity/table.d.ts +16 -0
  131. package/lib/handlers/entity/table.d.ts.map +1 -0
  132. package/lib/handlers/entity/table.js +36 -0
  133. package/lib/handlers/entity/table.js.map +7 -0
  134. package/lib/handlers/entity/text.d.ts +31 -0
  135. package/lib/handlers/entity/text.d.ts.map +1 -0
  136. package/lib/handlers/entity/threeDFace.d.ts +14 -0
  137. package/lib/handlers/entity/threeDFace.d.ts.map +1 -0
  138. package/lib/handlers/entity/tolerance.d.ts +25 -0
  139. package/lib/handlers/entity/tolerance.d.ts.map +1 -0
  140. package/lib/handlers/entity/trace.cjs +101 -0
  141. package/lib/handlers/entity/trace.cjs.map +7 -0
  142. package/lib/handlers/entity/trace.d.ts +15 -0
  143. package/lib/handlers/entity/trace.d.ts.map +1 -0
  144. package/lib/handlers/entity/trace.js +66 -0
  145. package/lib/handlers/entity/trace.js.map +7 -0
  146. package/lib/handlers/entity/vertex.d.ts +10 -0
  147. package/lib/handlers/entity/vertex.d.ts.map +1 -0
  148. package/lib/handlers/entity/viewport.d.ts +9 -0
  149. package/lib/handlers/entity/viewport.d.ts.map +1 -0
  150. package/lib/handlers/entity/wipeout.cjs +122 -0
  151. package/lib/handlers/entity/wipeout.cjs.map +7 -0
  152. package/lib/handlers/entity/wipeout.d.ts +28 -0
  153. package/lib/handlers/entity/wipeout.d.ts.map +1 -0
  154. package/lib/handlers/entity/wipeout.js +87 -0
  155. package/lib/handlers/entity/wipeout.js.map +7 -0
  156. package/lib/handlers/entity/xline.cjs +81 -0
  157. package/lib/handlers/entity/xline.cjs.map +7 -0
  158. package/lib/handlers/entity/xline.d.ts +15 -0
  159. package/lib/handlers/entity/xline.d.ts.map +1 -0
  160. package/lib/handlers/entity/xline.js +46 -0
  161. package/lib/handlers/entity/xline.js.map +7 -0
  162. package/lib/handlers/header.d.ts +3 -0
  163. package/lib/handlers/header.d.ts.map +1 -0
  164. package/lib/handlers/objects.cjs +43 -1
  165. package/lib/handlers/objects.cjs.map +2 -2
  166. package/lib/handlers/objects.d.ts +3 -0
  167. package/lib/handlers/objects.d.ts.map +1 -0
  168. package/lib/handlers/objects.js +43 -1
  169. package/lib/handlers/objects.js.map +2 -2
  170. package/lib/handlers/tables.cjs +96 -17
  171. package/lib/handlers/tables.cjs.map +2 -2
  172. package/lib/handlers/tables.d.ts +13 -0
  173. package/lib/handlers/tables.d.ts.map +1 -0
  174. package/lib/handlers/tables.js +96 -17
  175. package/lib/handlers/tables.js.map +2 -2
  176. package/lib/index.cjs +5 -2
  177. package/lib/index.cjs.map +3 -3
  178. package/lib/index.d.ts +10 -0
  179. package/lib/index.d.ts.map +1 -0
  180. package/lib/index.js +18 -16
  181. package/lib/index.js.map +3 -3
  182. package/lib/parseString.d.ts +3 -0
  183. package/lib/parseString.d.ts.map +1 -0
  184. package/lib/toJson.cjs +29 -0
  185. package/lib/toJson.cjs.map +7 -0
  186. package/lib/toJson.d.ts +3 -0
  187. package/lib/toJson.d.ts.map +1 -0
  188. package/lib/toJson.js +9 -0
  189. package/lib/toJson.js.map +7 -0
  190. package/lib/toPolylines.d.ts +4 -0
  191. package/lib/toPolylines.d.ts.map +1 -0
  192. package/lib/toSVG.cjs +34 -3
  193. package/lib/toSVG.cjs.map +2 -2
  194. package/lib/toSVG.d.ts +7 -0
  195. package/lib/toSVG.d.ts.map +1 -0
  196. package/lib/toSVG.js +34 -3
  197. package/lib/toSVG.js.map +2 -2
  198. package/lib/types/arc-entity.d.ts +8 -0
  199. package/lib/types/arc-entity.d.ts.map +1 -0
  200. package/lib/types/base-entity.d.ts +22 -0
  201. package/lib/types/base-entity.d.ts.map +1 -0
  202. package/lib/types/circle-entity.d.ts +6 -0
  203. package/lib/types/circle-entity.d.ts.map +1 -0
  204. package/lib/types/common.d.ts +30 -0
  205. package/lib/types/common.d.ts.map +1 -0
  206. package/lib/types/dimension-entity.d.ts +31 -0
  207. package/lib/types/dimension-entity.d.ts.map +1 -0
  208. package/lib/types/dxf.d.ts +55 -0
  209. package/lib/types/dxf.d.ts.map +1 -0
  210. package/lib/types/ellipse-entity.d.ts +11 -0
  211. package/lib/types/ellipse-entity.d.ts.map +1 -0
  212. package/lib/types/entity.cjs.map +1 -1
  213. package/lib/types/entity.d.ts +30 -0
  214. package/lib/types/entity.d.ts.map +1 -0
  215. package/lib/types/handler-internal.d.ts +44 -0
  216. package/lib/types/handler-internal.d.ts.map +1 -0
  217. package/lib/types/handler.d.ts +8 -0
  218. package/lib/types/handler.d.ts.map +1 -0
  219. package/lib/types/hatch-entity.d.ts +116 -0
  220. package/lib/types/hatch-entity.d.ts.map +1 -0
  221. package/lib/types/helper.cjs.map +1 -1
  222. package/lib/types/helper.d.ts +11 -0
  223. package/lib/types/helper.d.ts.map +1 -0
  224. package/lib/types/image-entity.d.ts +25 -0
  225. package/lib/types/image-entity.d.ts.map +1 -0
  226. package/lib/types/index.cjs +20 -0
  227. package/lib/types/index.cjs.map +2 -2
  228. package/lib/types/index.d.ts +43 -0
  229. package/lib/types/index.d.ts.map +1 -0
  230. package/lib/types/index.js +10 -0
  231. package/lib/types/index.js.map +2 -2
  232. package/lib/types/insert-entity.d.ts +16 -0
  233. package/lib/types/insert-entity.d.ts.map +1 -0
  234. package/lib/types/layer-groups.d.ts +6 -0
  235. package/lib/types/layer-groups.d.ts.map +1 -0
  236. package/lib/types/leader-entity.d.ts +28 -0
  237. package/lib/types/leader-entity.d.ts.map +1 -0
  238. package/lib/types/line-entity.d.ts +8 -0
  239. package/lib/types/line-entity.d.ts.map +1 -0
  240. package/lib/types/mleader-entity.cjs +17 -0
  241. package/lib/types/mleader-entity.cjs.map +7 -0
  242. package/lib/types/mleader-entity.d.ts +7 -0
  243. package/lib/types/mleader-entity.d.ts.map +1 -0
  244. package/lib/types/mleader-entity.js +1 -0
  245. package/lib/types/mleader-entity.js.map +7 -0
  246. package/lib/types/mline-entity.cjs +17 -0
  247. package/lib/types/mline-entity.cjs.map +7 -0
  248. package/lib/types/mline-entity.d.ts +10 -0
  249. package/lib/types/mline-entity.d.ts.map +1 -0
  250. package/lib/types/mline-entity.js +1 -0
  251. package/lib/types/mline-entity.js.map +7 -0
  252. package/lib/types/mtext-entity.d.ts +33 -0
  253. package/lib/types/mtext-entity.d.ts.map +1 -0
  254. package/lib/types/ole2frame-entity.d.ts +33 -0
  255. package/lib/types/ole2frame-entity.d.ts.map +1 -0
  256. package/lib/types/oleframe-entity.cjs +17 -0
  257. package/lib/types/oleframe-entity.cjs.map +7 -0
  258. package/lib/types/oleframe-entity.d.ts +33 -0
  259. package/lib/types/oleframe-entity.d.ts.map +1 -0
  260. package/lib/types/oleframe-entity.js +1 -0
  261. package/lib/types/oleframe-entity.js.map +7 -0
  262. package/lib/types/options.cjs.map +1 -1
  263. package/lib/types/options.d.ts +57 -0
  264. package/lib/types/options.d.ts.map +1 -0
  265. package/lib/types/point-entity.d.ts +5 -0
  266. package/lib/types/point-entity.d.ts.map +1 -0
  267. package/lib/types/polyline-entity.d.ts +17 -0
  268. package/lib/types/polyline-entity.d.ts.map +1 -0
  269. package/lib/types/polylines.d.ts +18 -0
  270. package/lib/types/polylines.d.ts.map +1 -0
  271. package/lib/types/ray-entity.cjs +17 -0
  272. package/lib/types/ray-entity.cjs.map +7 -0
  273. package/lib/types/ray-entity.d.ts +10 -0
  274. package/lib/types/ray-entity.d.ts.map +1 -0
  275. package/lib/types/ray-entity.js +1 -0
  276. package/lib/types/ray-entity.js.map +7 -0
  277. package/lib/types/region-entity.cjs +17 -0
  278. package/lib/types/region-entity.cjs.map +7 -0
  279. package/lib/types/region-entity.d.ts +10 -0
  280. package/lib/types/region-entity.d.ts.map +1 -0
  281. package/lib/types/region-entity.js +1 -0
  282. package/lib/types/region-entity.js.map +7 -0
  283. package/lib/types/shape-entity.cjs +17 -0
  284. package/lib/types/shape-entity.cjs.map +7 -0
  285. package/lib/types/shape-entity.d.ts +17 -0
  286. package/lib/types/shape-entity.d.ts.map +1 -0
  287. package/lib/types/shape-entity.js +1 -0
  288. package/lib/types/shape-entity.js.map +7 -0
  289. package/lib/types/solid-entity.d.ts +7 -0
  290. package/lib/types/solid-entity.d.ts.map +1 -0
  291. package/lib/types/spline-entity.d.ts +10 -0
  292. package/lib/types/spline-entity.d.ts.map +1 -0
  293. package/lib/types/svg.d.ts +27 -0
  294. package/lib/types/svg.d.ts.map +1 -0
  295. package/lib/types/table-entity.cjs +17 -0
  296. package/lib/types/table-entity.cjs.map +7 -0
  297. package/lib/types/table-entity.d.ts +12 -0
  298. package/lib/types/table-entity.d.ts.map +1 -0
  299. package/lib/types/table-entity.js +1 -0
  300. package/lib/types/table-entity.js.map +7 -0
  301. package/lib/types/tables.cjs.map +1 -1
  302. package/lib/types/tables.d.ts +549 -0
  303. package/lib/types/tables.d.ts.map +1 -0
  304. package/lib/types/text-entity.d.ts +21 -0
  305. package/lib/types/text-entity.d.ts.map +1 -0
  306. package/lib/types/tolerance-entity.d.ts +14 -0
  307. package/lib/types/tolerance-entity.d.ts.map +1 -0
  308. package/lib/types/trace-entity.cjs +17 -0
  309. package/lib/types/trace-entity.cjs.map +7 -0
  310. package/lib/types/trace-entity.d.ts +10 -0
  311. package/lib/types/trace-entity.d.ts.map +1 -0
  312. package/lib/types/trace-entity.js +1 -0
  313. package/lib/types/trace-entity.js.map +7 -0
  314. package/lib/types/underlay-entity.d.ts +26 -0
  315. package/lib/types/underlay-entity.d.ts.map +1 -0
  316. package/lib/types/util-types.d.ts +22 -0
  317. package/lib/types/util-types.d.ts.map +1 -0
  318. package/lib/types/viewport-entity.d.ts +79 -0
  319. package/lib/types/viewport-entity.d.ts.map +1 -0
  320. package/lib/types/wipeout-entity.cjs +17 -0
  321. package/lib/types/wipeout-entity.cjs.map +7 -0
  322. package/lib/types/wipeout-entity.d.ts +18 -0
  323. package/lib/types/wipeout-entity.d.ts.map +1 -0
  324. package/lib/types/wipeout-entity.js +1 -0
  325. package/lib/types/wipeout-entity.js.map +7 -0
  326. package/lib/types/xline-entity.cjs +17 -0
  327. package/lib/types/xline-entity.cjs.map +7 -0
  328. package/lib/types/xline-entity.d.ts +10 -0
  329. package/lib/types/xline-entity.d.ts.map +1 -0
  330. package/lib/types/xline-entity.js +1 -0
  331. package/lib/types/xline-entity.js.map +7 -0
  332. package/lib/types.d.ts +2 -0
  333. package/lib/types.d.ts.map +1 -0
  334. package/lib/util/bSpline.d.ts +8 -0
  335. package/lib/util/bSpline.d.ts.map +1 -0
  336. package/lib/util/colors.d.ts +5 -0
  337. package/lib/util/colors.d.ts.map +1 -0
  338. package/lib/util/createArcForLWPolyline.d.ts +9 -0
  339. package/lib/util/createArcForLWPolyline.d.ts.map +1 -0
  340. package/lib/util/dxfColorToRGB.d.ts +22 -0
  341. package/lib/util/dxfColorToRGB.d.ts.map +1 -0
  342. package/lib/util/escapeXmlText.d.ts +2 -0
  343. package/lib/util/escapeXmlText.d.ts.map +1 -0
  344. package/lib/util/insertKnot.d.ts +9 -0
  345. package/lib/util/insertKnot.d.ts.map +1 -0
  346. package/lib/util/logger.d.ts +10 -0
  347. package/lib/util/logger.d.ts.map +1 -0
  348. package/lib/util/rgbToColorAttribute.d.ts +7 -0
  349. package/lib/util/rgbToColorAttribute.d.ts.map +1 -0
  350. package/lib/util/rotate.d.ts +9 -0
  351. package/lib/util/rotate.d.ts.map +1 -0
  352. package/lib/util/round10.d.ts +2 -0
  353. package/lib/util/round10.d.ts.map +1 -0
  354. package/lib/util/toPiecewiseBezier.d.ts +18 -0
  355. package/lib/util/toPiecewiseBezier.d.ts.map +1 -0
  356. package/lib/util/transformBoundingBoxAndElement.d.ts +9 -0
  357. package/lib/util/transformBoundingBoxAndElement.d.ts.map +1 -0
  358. package/package.json +5 -19
  359. package/src/Helper.ts +6 -1
  360. package/src/entityToPolyline.ts +124 -2
  361. package/src/handlers/entities.ts +21 -1
  362. package/src/handlers/entity/mleader.ts +46 -0
  363. package/src/handlers/entity/mline.ts +74 -0
  364. package/src/handlers/entity/oleframe.ts +62 -0
  365. package/src/handlers/entity/ray.ts +52 -0
  366. package/src/handlers/entity/region.ts +42 -0
  367. package/src/handlers/entity/shape.ts +73 -0
  368. package/src/handlers/entity/table.ts +49 -0
  369. package/src/handlers/entity/trace.ts +72 -0
  370. package/src/handlers/entity/wipeout.ts +114 -0
  371. package/src/handlers/entity/xline.ts +52 -0
  372. package/src/handlers/objects.ts +64 -8
  373. package/src/handlers/tables.ts +134 -21
  374. package/src/index.ts +9 -18
  375. package/src/toJson.ts +8 -0
  376. package/src/toSVG.ts +45 -3
  377. package/src/types/entity.ts +20 -0
  378. package/src/types/helper.ts +2 -1
  379. package/src/types/index.ts +10 -0
  380. package/src/types/mleader-entity.ts +8 -0
  381. package/src/types/mline-entity.ts +12 -0
  382. package/src/types/oleframe-entity.ts +40 -0
  383. package/src/types/options.ts +7 -0
  384. package/src/types/ray-entity.ts +12 -0
  385. package/src/types/region-entity.ts +11 -0
  386. package/src/types/shape-entity.ts +19 -0
  387. package/src/types/table-entity.ts +14 -0
  388. package/src/types/tables.ts +76 -0
  389. package/src/types/trace-entity.ts +14 -0
  390. package/src/types/wipeout-entity.ts +20 -0
  391. package/src/types/xline-entity.ts +12 -0
  392. package/docs/DIMENSION_SUMMARY.md +0 -254
  393. package/docs/DXF_VERSION_SUPPORT.md +0 -45
  394. package/docs/ENTITY_SVG_ROADMAP.md +0 -96
  395. package/docs/IMPLEMENTED-2D-ENTITIES.md +0 -54
  396. package/docs/README.md +0 -22
  397. package/docs/SVG_RENDERING_INTEGRATION_TESTS.md +0 -119
  398. package/docs/TEXT-MTEXT-DIMENSION-SUPPORT.md +0 -241
@@ -0,0 +1,116 @@
1
+ import type { BaseEntity } from './base-entity';
2
+ import type { Point3D } from './common';
3
+ /**
4
+ * Hatch pattern information
5
+ */
6
+ export interface HatchPattern {
7
+ /** Pattern line count */
8
+ lineCount?: number;
9
+ /** Pattern angle */
10
+ angle?: number;
11
+ /** Pattern X offset */
12
+ x?: number;
13
+ /** Pattern Y offset */
14
+ y?: number;
15
+ /** Pattern X spacing offset */
16
+ offsetX?: number;
17
+ /** Pattern Y spacing offset */
18
+ offsetY?: number;
19
+ /** Dash count */
20
+ dashCount?: number;
21
+ /** Pattern line lengths */
22
+ length: Array<string | number>;
23
+ }
24
+ /**
25
+ * Hatch boundary loop
26
+ */
27
+ export interface HatchLoop {
28
+ /** Loop type flags */
29
+ type?: number;
30
+ /** Entity count in loop */
31
+ count?: number;
32
+ /** Edge type (for non-polyline) */
33
+ edgeType?: number;
34
+ /** Has bulge flag (for polyline) */
35
+ hasBulge?: number;
36
+ /** Source object count */
37
+ sourceObjects?: number;
38
+ /** Loop entities */
39
+ entities: any[];
40
+ /** Reference handles */
41
+ references: Array<string | number>;
42
+ }
43
+ /**
44
+ * Hatch boundary definition
45
+ */
46
+ export interface HatchBoundary {
47
+ /** Total boundary loop count */
48
+ count?: number;
49
+ /** Boundary loops */
50
+ loops: HatchLoop[];
51
+ }
52
+ /**
53
+ * Hatch seed point
54
+ */
55
+ export interface HatchSeed {
56
+ x: number;
57
+ y: number;
58
+ }
59
+ /**
60
+ * Hatch seeds collection
61
+ */
62
+ export interface HatchSeeds {
63
+ /** Seed point count */
64
+ count: number;
65
+ /** Seed points */
66
+ seeds: HatchSeed[];
67
+ }
68
+ /**
69
+ * Hatch color/gradient information
70
+ */
71
+ export interface HatchColor {
72
+ /** Color count */
73
+ count?: number;
74
+ /** Color rotation */
75
+ rotation?: string | number;
76
+ /** Gradient definition */
77
+ gradient?: string | number;
78
+ /** Color tint value */
79
+ tint?: string | number;
80
+ }
81
+ export interface HatchEntity extends BaseEntity {
82
+ type: 'HATCH';
83
+ /** Pattern name */
84
+ patternName?: string | number;
85
+ /** Elevation point */
86
+ elevation?: Partial<Point3D>;
87
+ /** Extrusion direction vector */
88
+ extrusionDir?: Point3D;
89
+ /** Fill color index */
90
+ fillColor?: string | number;
91
+ /** Fill type (SOLID or PATTERN) */
92
+ fillType?: 'SOLID' | 'PATTERN';
93
+ /** Hatch pattern information */
94
+ pattern?: HatchPattern;
95
+ /** Hatch boundary definition */
96
+ boundary?: HatchBoundary;
97
+ /** Hatch seed points */
98
+ seeds?: HatchSeeds;
99
+ /** Hatch style (0=Normal, 1=Outer, 2=Ignore) */
100
+ style?: number;
101
+ /** Hatch type (0=User-defined, 1=Predefined, 2=Custom) */
102
+ hatchType?: number;
103
+ /** Shadow pattern angle */
104
+ shadowPatternAngle?: number;
105
+ /** Pattern spacing */
106
+ spacing?: number;
107
+ /** Double hatch flag */
108
+ double?: boolean;
109
+ /** Solid or gradient fill type */
110
+ solidOrGradient?: 'SOLID' | 'GRADIENT';
111
+ /** Color/gradient information */
112
+ color?: HatchColor;
113
+ /** Legacy: paths array (kept for compatibility) */
114
+ paths?: any[];
115
+ }
116
+ //# sourceMappingURL=hatch-entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hatch-entity.d.ts","sourceRoot":"","sources":["../../src/types/hatch-entity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAEvC;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,yBAAyB;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,oBAAoB;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,uBAAuB;IACvB,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,uBAAuB;IACvB,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,+BAA+B;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,+BAA+B;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,iBAAiB;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,2BAA2B;IAC3B,MAAM,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAA;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,sBAAsB;IACtB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mCAAmC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,oCAAoC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,0BAA0B;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,oBAAoB;IACpB,QAAQ,EAAE,GAAG,EAAE,CAAA;IACf,wBAAwB;IACxB,UAAU,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAA;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,qBAAqB;IACrB,KAAK,EAAE,SAAS,EAAE,CAAA;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACV;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,uBAAuB;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,kBAAkB;IAClB,KAAK,EAAE,SAAS,EAAE,CAAA;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,kBAAkB;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,qBAAqB;IACrB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC1B,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC1B,uBAAuB;IACvB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,WAAY,SAAQ,UAAU;IAC7C,IAAI,EAAE,OAAO,CAAA;IACb,mBAAmB;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC7B,sBAAsB;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,CAAA;IAC5B,iCAAiC;IACjC,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC9B,gCAAgC;IAChC,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,wBAAwB;IACxB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,2BAA2B;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,sBAAsB;IACtB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,wBAAwB;IACxB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,kCAAkC;IAClC,eAAe,CAAC,EAAE,OAAO,GAAG,UAAU,CAAA;IACtC,iCAAiC;IACjC,KAAK,CAAC,EAAE,UAAU,CAAA;IAElB,mDAAmD;IACnD,KAAK,CAAC,EAAE,GAAG,EAAE,CAAA;CAGd"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/types/helper.ts"],
4
- "sourcesContent": ["// Helper class interface\n\nimport type { ParsedDXF } from './dxf'\nimport type { Entity } from './entity'\nimport type { ToPolylinesOptions, ToSVGOptions } from './options'\n\nexport interface HelperInterface {\n parsed: ParsedDXF\n denormalised: Entity[]\n toSVG(options?: ToSVGOptions): string\n toPolylines(options?: ToPolylinesOptions): any[]\n}\n"],
4
+ "sourcesContent": ["// Helper class interface\n\nimport type { ParsedDXF } from './dxf'\nimport type { Entity } from './entity'\nimport type { ToJsonOptions, ToPolylinesOptions, ToSVGOptions } from './options'\n\nexport interface HelperInterface {\n parsed: ParsedDXF\n denormalised: Entity[]\n toSVG(options?: ToSVGOptions): string\n toJson(options?: ToJsonOptions): string\n toPolylines(options?: ToPolylinesOptions): any[]\n}\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,11 @@
1
+ import type { ParsedDXF } from './dxf';
2
+ import type { Entity } from './entity';
3
+ import type { ToJsonOptions, ToPolylinesOptions, ToSVGOptions } from './options';
4
+ export interface HelperInterface {
5
+ parsed: ParsedDXF;
6
+ denormalised: Entity[];
7
+ toSVG(options?: ToSVGOptions): string;
8
+ toJson(options?: ToJsonOptions): string;
9
+ toPolylines(options?: ToPolylinesOptions): any[];
10
+ }
11
+ //# sourceMappingURL=helper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../src/types/helper.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACtC,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhF,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,SAAS,CAAA;IACjB,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,MAAM,CAAA;IACrC,MAAM,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,MAAM,CAAA;IACvC,WAAW,CAAC,OAAO,CAAC,EAAE,kBAAkB,GAAG,GAAG,EAAE,CAAA;CACjD"}
@@ -0,0 +1,25 @@
1
+ import type { BaseEntity } from './base-entity';
2
+ import type { Point3D } from './common';
3
+ export interface ImageEntity extends BaseEntity {
4
+ type: 'IMAGE';
5
+ insertionPoint: Point3D;
6
+ uVector: Point3D;
7
+ vVector: Point3D;
8
+ /** Image size in pixels. */
9
+ pixelSizeX: number;
10
+ pixelSizeY: number;
11
+ /** Hard reference to IMAGEDEF object. */
12
+ imageDefHandle?: string;
13
+ /** Hard reference to IMAGEDEF_REACTOR object. */
14
+ imageDefReactorHandle?: string;
15
+ /** Image display properties bitmask. */
16
+ displayProperties?: number;
17
+ /** Clipping state: 0 = Off; 1 = On. */
18
+ clippingState?: number;
19
+ brightness?: number;
20
+ contrast?: number;
21
+ fade?: number;
22
+ /** DXF class version. */
23
+ classVersion?: number;
24
+ }
25
+ //# sourceMappingURL=image-entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image-entity.d.ts","sourceRoot":"","sources":["../../src/types/image-entity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAEvC,MAAM,WAAW,WAAY,SAAQ,UAAU;IAC7C,IAAI,EAAE,OAAO,CAAA;IAEb,cAAc,EAAE,OAAO,CAAA;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAEhB,4BAA4B;IAC5B,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAElB,yCAAyC;IACzC,cAAc,CAAC,EAAE,MAAM,CAAA;IAEvB,iDAAiD;IACjD,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAE9B,wCAAwC;IACxC,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAE1B,uCAAuC;IACvC,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,yBAAyB;IACzB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB"}
@@ -26,16 +26,26 @@ __reExport(types_exports, require("./image-entity"), module.exports);
26
26
  __reExport(types_exports, require("./insert-entity"), module.exports);
27
27
  __reExport(types_exports, require("./leader-entity"), module.exports);
28
28
  __reExport(types_exports, require("./line-entity"), module.exports);
29
+ __reExport(types_exports, require("./mleader-entity"), module.exports);
30
+ __reExport(types_exports, require("./mline-entity"), module.exports);
29
31
  __reExport(types_exports, require("./mtext-entity"), module.exports);
30
32
  __reExport(types_exports, require("./ole2frame-entity"), module.exports);
33
+ __reExport(types_exports, require("./oleframe-entity"), module.exports);
31
34
  __reExport(types_exports, require("./point-entity"), module.exports);
32
35
  __reExport(types_exports, require("./polyline-entity"), module.exports);
36
+ __reExport(types_exports, require("./ray-entity"), module.exports);
37
+ __reExport(types_exports, require("./region-entity"), module.exports);
38
+ __reExport(types_exports, require("./shape-entity"), module.exports);
33
39
  __reExport(types_exports, require("./solid-entity"), module.exports);
34
40
  __reExport(types_exports, require("./spline-entity"), module.exports);
41
+ __reExport(types_exports, require("./table-entity"), module.exports);
35
42
  __reExport(types_exports, require("./text-entity"), module.exports);
36
43
  __reExport(types_exports, require("./tolerance-entity"), module.exports);
44
+ __reExport(types_exports, require("./trace-entity"), module.exports);
37
45
  __reExport(types_exports, require("./underlay-entity"), module.exports);
38
46
  __reExport(types_exports, require("./viewport-entity"), module.exports);
47
+ __reExport(types_exports, require("./wipeout-entity"), module.exports);
48
+ __reExport(types_exports, require("./xline-entity"), module.exports);
39
49
  __reExport(types_exports, require("./entity"), module.exports);
40
50
  __reExport(types_exports, require("./dxf"), module.exports);
41
51
  __reExport(types_exports, require("./tables"), module.exports);
@@ -60,16 +70,26 @@ __reExport(types_exports, require("./handler-internal"), module.exports);
60
70
  ...require("./insert-entity"),
61
71
  ...require("./leader-entity"),
62
72
  ...require("./line-entity"),
73
+ ...require("./mleader-entity"),
74
+ ...require("./mline-entity"),
63
75
  ...require("./mtext-entity"),
64
76
  ...require("./ole2frame-entity"),
77
+ ...require("./oleframe-entity"),
65
78
  ...require("./point-entity"),
66
79
  ...require("./polyline-entity"),
80
+ ...require("./ray-entity"),
81
+ ...require("./region-entity"),
82
+ ...require("./shape-entity"),
67
83
  ...require("./solid-entity"),
68
84
  ...require("./spline-entity"),
85
+ ...require("./table-entity"),
69
86
  ...require("./text-entity"),
70
87
  ...require("./tolerance-entity"),
88
+ ...require("./trace-entity"),
71
89
  ...require("./underlay-entity"),
72
90
  ...require("./viewport-entity"),
91
+ ...require("./wipeout-entity"),
92
+ ...require("./xline-entity"),
73
93
  ...require("./entity"),
74
94
  ...require("./dxf"),
75
95
  ...require("./tables"),
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/types/index.ts"],
4
- "sourcesContent": ["// Barrel export for all DXF types\n\n// Common types\nexport * from './common'\n\n// Base entity\nexport * from './base-entity'\n\n// Entity types\nexport * from './arc-entity'\nexport * from './circle-entity'\nexport * from './dimension-entity'\nexport * from './ellipse-entity'\nexport * from './hatch-entity'\nexport * from './image-entity'\nexport * from './insert-entity'\nexport * from './leader-entity'\nexport * from './line-entity'\nexport * from './mtext-entity'\nexport * from './ole2frame-entity'\nexport * from './point-entity'\nexport * from './polyline-entity'\nexport * from './solid-entity'\nexport * from './spline-entity'\nexport * from './text-entity'\nexport * from './tolerance-entity'\nexport * from './underlay-entity'\nexport * from './viewport-entity'\n\n// Union type\nexport * from './entity'\n\n// DXF structures\nexport * from './dxf'\n\n// Tables\nexport * from './tables'\n\n// Handlers\nexport * from './handler'\n\n// Options\nexport * from './options'\n\n// Helper\nexport * from './helper'\n\n// Conversion types\nexport * from './layer-groups'\nexport * from './polylines'\nexport * from './svg'\n\n// Utility types\nexport * from './util-types'\n\n// Handler internal types\nexport * from './handler-internal'\n"],
5
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAGA,0BAAc,qBAHd;AAMA,0BAAc,0BANd;AASA,0BAAc,yBATd;AAUA,0BAAc,4BAVd;AAWA,0BAAc,+BAXd;AAYA,0BAAc,6BAZd;AAaA,0BAAc,2BAbd;AAcA,0BAAc,2BAdd;AAeA,0BAAc,4BAfd;AAgBA,0BAAc,4BAhBd;AAiBA,0BAAc,0BAjBd;AAkBA,0BAAc,2BAlBd;AAmBA,0BAAc,+BAnBd;AAoBA,0BAAc,2BApBd;AAqBA,0BAAc,8BArBd;AAsBA,0BAAc,2BAtBd;AAuBA,0BAAc,4BAvBd;AAwBA,0BAAc,0BAxBd;AAyBA,0BAAc,+BAzBd;AA0BA,0BAAc,8BA1Bd;AA2BA,0BAAc,8BA3Bd;AA8BA,0BAAc,qBA9Bd;AAiCA,0BAAc,kBAjCd;AAoCA,0BAAc,qBApCd;AAuCA,0BAAc,sBAvCd;AA0CA,0BAAc,sBA1Cd;AA6CA,0BAAc,qBA7Cd;AAgDA,0BAAc,2BAhDd;AAiDA,0BAAc,wBAjDd;AAkDA,0BAAc,kBAlDd;AAqDA,0BAAc,yBArDd;AAwDA,0BAAc,+BAxDd;",
4
+ "sourcesContent": ["// Barrel export for all DXF types\n\n// Common types\nexport * from './common'\n\n// Base entity\nexport * from './base-entity'\n\n// Entity types\nexport * from './arc-entity'\nexport * from './circle-entity'\nexport * from './dimension-entity'\nexport * from './ellipse-entity'\nexport * from './hatch-entity'\nexport * from './image-entity'\nexport * from './insert-entity'\nexport * from './leader-entity'\nexport * from './line-entity'\nexport * from './mleader-entity'\nexport * from './mline-entity'\nexport * from './mtext-entity'\nexport * from './ole2frame-entity'\nexport * from './oleframe-entity'\nexport * from './point-entity'\nexport * from './polyline-entity'\nexport * from './ray-entity'\nexport * from './region-entity'\nexport * from './shape-entity'\nexport * from './solid-entity'\nexport * from './spline-entity'\nexport * from './table-entity'\nexport * from './text-entity'\nexport * from './tolerance-entity'\nexport * from './trace-entity'\nexport * from './underlay-entity'\nexport * from './viewport-entity'\nexport * from './wipeout-entity'\nexport * from './xline-entity'\n\n// Union type\nexport * from './entity'\n\n// DXF structures\nexport * from './dxf'\n\n// Tables\nexport * from './tables'\n\n// Handlers\nexport * from './handler'\n\n// Options\nexport * from './options'\n\n// Helper\nexport * from './helper'\n\n// Conversion types\nexport * from './layer-groups'\nexport * from './polylines'\nexport * from './svg'\n\n// Utility types\nexport * from './util-types'\n\n// Handler internal types\nexport * from './handler-internal'\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAGA,0BAAc,qBAHd;AAMA,0BAAc,0BANd;AASA,0BAAc,yBATd;AAUA,0BAAc,4BAVd;AAWA,0BAAc,+BAXd;AAYA,0BAAc,6BAZd;AAaA,0BAAc,2BAbd;AAcA,0BAAc,2BAdd;AAeA,0BAAc,4BAfd;AAgBA,0BAAc,4BAhBd;AAiBA,0BAAc,0BAjBd;AAkBA,0BAAc,6BAlBd;AAmBA,0BAAc,2BAnBd;AAoBA,0BAAc,2BApBd;AAqBA,0BAAc,+BArBd;AAsBA,0BAAc,8BAtBd;AAuBA,0BAAc,2BAvBd;AAwBA,0BAAc,8BAxBd;AAyBA,0BAAc,yBAzBd;AA0BA,0BAAc,4BA1Bd;AA2BA,0BAAc,2BA3Bd;AA4BA,0BAAc,2BA5Bd;AA6BA,0BAAc,4BA7Bd;AA8BA,0BAAc,2BA9Bd;AA+BA,0BAAc,0BA/Bd;AAgCA,0BAAc,+BAhCd;AAiCA,0BAAc,2BAjCd;AAkCA,0BAAc,8BAlCd;AAmCA,0BAAc,8BAnCd;AAoCA,0BAAc,6BApCd;AAqCA,0BAAc,2BArCd;AAwCA,0BAAc,qBAxCd;AA2CA,0BAAc,kBA3Cd;AA8CA,0BAAc,qBA9Cd;AAiDA,0BAAc,sBAjDd;AAoDA,0BAAc,sBApDd;AAuDA,0BAAc,qBAvDd;AA0DA,0BAAc,2BA1Dd;AA2DA,0BAAc,wBA3Dd;AA4DA,0BAAc,kBA5Dd;AA+DA,0BAAc,yBA/Dd;AAkEA,0BAAc,+BAlEd;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,43 @@
1
+ export * from './common';
2
+ export * from './base-entity';
3
+ export * from './arc-entity';
4
+ export * from './circle-entity';
5
+ export * from './dimension-entity';
6
+ export * from './ellipse-entity';
7
+ export * from './hatch-entity';
8
+ export * from './image-entity';
9
+ export * from './insert-entity';
10
+ export * from './leader-entity';
11
+ export * from './line-entity';
12
+ export * from './mleader-entity';
13
+ export * from './mline-entity';
14
+ export * from './mtext-entity';
15
+ export * from './ole2frame-entity';
16
+ export * from './oleframe-entity';
17
+ export * from './point-entity';
18
+ export * from './polyline-entity';
19
+ export * from './ray-entity';
20
+ export * from './region-entity';
21
+ export * from './shape-entity';
22
+ export * from './solid-entity';
23
+ export * from './spline-entity';
24
+ export * from './table-entity';
25
+ export * from './text-entity';
26
+ export * from './tolerance-entity';
27
+ export * from './trace-entity';
28
+ export * from './underlay-entity';
29
+ export * from './viewport-entity';
30
+ export * from './wipeout-entity';
31
+ export * from './xline-entity';
32
+ export * from './entity';
33
+ export * from './dxf';
34
+ export * from './tables';
35
+ export * from './handler';
36
+ export * from './options';
37
+ export * from './helper';
38
+ export * from './layer-groups';
39
+ export * from './polylines';
40
+ export * from './svg';
41
+ export * from './util-types';
42
+ export * from './handler-internal';
43
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAGA,cAAc,UAAU,CAAA;AAGxB,cAAc,eAAe,CAAA;AAG7B,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAClC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAG9B,cAAc,UAAU,CAAA;AAGxB,cAAc,OAAO,CAAA;AAGrB,cAAc,UAAU,CAAA;AAGxB,cAAc,WAAW,CAAA;AAGzB,cAAc,WAAW,CAAA;AAGzB,cAAc,UAAU,CAAA;AAGxB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,OAAO,CAAA;AAGrB,cAAc,cAAc,CAAA;AAG5B,cAAc,oBAAoB,CAAA"}
@@ -9,16 +9,26 @@ export * from "./image-entity";
9
9
  export * from "./insert-entity";
10
10
  export * from "./leader-entity";
11
11
  export * from "./line-entity";
12
+ export * from "./mleader-entity";
13
+ export * from "./mline-entity";
12
14
  export * from "./mtext-entity";
13
15
  export * from "./ole2frame-entity";
16
+ export * from "./oleframe-entity";
14
17
  export * from "./point-entity";
15
18
  export * from "./polyline-entity";
19
+ export * from "./ray-entity";
20
+ export * from "./region-entity";
21
+ export * from "./shape-entity";
16
22
  export * from "./solid-entity";
17
23
  export * from "./spline-entity";
24
+ export * from "./table-entity";
18
25
  export * from "./text-entity";
19
26
  export * from "./tolerance-entity";
27
+ export * from "./trace-entity";
20
28
  export * from "./underlay-entity";
21
29
  export * from "./viewport-entity";
30
+ export * from "./wipeout-entity";
31
+ export * from "./xline-entity";
22
32
  export * from "./entity";
23
33
  export * from "./dxf";
24
34
  export * from "./tables";
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/types/index.ts"],
4
- "sourcesContent": ["// Barrel export for all DXF types\n\n// Common types\nexport * from './common'\n\n// Base entity\nexport * from './base-entity'\n\n// Entity types\nexport * from './arc-entity'\nexport * from './circle-entity'\nexport * from './dimension-entity'\nexport * from './ellipse-entity'\nexport * from './hatch-entity'\nexport * from './image-entity'\nexport * from './insert-entity'\nexport * from './leader-entity'\nexport * from './line-entity'\nexport * from './mtext-entity'\nexport * from './ole2frame-entity'\nexport * from './point-entity'\nexport * from './polyline-entity'\nexport * from './solid-entity'\nexport * from './spline-entity'\nexport * from './text-entity'\nexport * from './tolerance-entity'\nexport * from './underlay-entity'\nexport * from './viewport-entity'\n\n// Union type\nexport * from './entity'\n\n// DXF structures\nexport * from './dxf'\n\n// Tables\nexport * from './tables'\n\n// Handlers\nexport * from './handler'\n\n// Options\nexport * from './options'\n\n// Helper\nexport * from './helper'\n\n// Conversion types\nexport * from './layer-groups'\nexport * from './polylines'\nexport * from './svg'\n\n// Utility types\nexport * from './util-types'\n\n// Handler internal types\nexport * from './handler-internal'\n"],
5
- "mappings": "AAGA,cAAc;AAGd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AAGd,cAAc;",
4
+ "sourcesContent": ["// Barrel export for all DXF types\n\n// Common types\nexport * from './common'\n\n// Base entity\nexport * from './base-entity'\n\n// Entity types\nexport * from './arc-entity'\nexport * from './circle-entity'\nexport * from './dimension-entity'\nexport * from './ellipse-entity'\nexport * from './hatch-entity'\nexport * from './image-entity'\nexport * from './insert-entity'\nexport * from './leader-entity'\nexport * from './line-entity'\nexport * from './mleader-entity'\nexport * from './mline-entity'\nexport * from './mtext-entity'\nexport * from './ole2frame-entity'\nexport * from './oleframe-entity'\nexport * from './point-entity'\nexport * from './polyline-entity'\nexport * from './ray-entity'\nexport * from './region-entity'\nexport * from './shape-entity'\nexport * from './solid-entity'\nexport * from './spline-entity'\nexport * from './table-entity'\nexport * from './text-entity'\nexport * from './tolerance-entity'\nexport * from './trace-entity'\nexport * from './underlay-entity'\nexport * from './viewport-entity'\nexport * from './wipeout-entity'\nexport * from './xline-entity'\n\n// Union type\nexport * from './entity'\n\n// DXF structures\nexport * from './dxf'\n\n// Tables\nexport * from './tables'\n\n// Handlers\nexport * from './handler'\n\n// Options\nexport * from './options'\n\n// Helper\nexport * from './helper'\n\n// Conversion types\nexport * from './layer-groups'\nexport * from './polylines'\nexport * from './svg'\n\n// Utility types\nexport * from './util-types'\n\n// Handler internal types\nexport * from './handler-internal'\n"],
5
+ "mappings": "AAGA,cAAc;AAGd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AAGd,cAAc;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,16 @@
1
+ import type { PositionalEntity } from './base-entity';
2
+ export interface InsertEntity extends PositionalEntity {
3
+ type: 'INSERT';
4
+ block: string;
5
+ scaleX?: number;
6
+ scaleY?: number;
7
+ scaleZ?: number;
8
+ rotation?: number;
9
+ columnCount?: number;
10
+ rowCount?: number;
11
+ columnSpacing?: number;
12
+ rowSpacing?: number;
13
+ extrusionX?: number;
14
+ extrusionY?: number;
15
+ }
16
+ //# sourceMappingURL=insert-entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"insert-entity.d.ts","sourceRoot":"","sources":["../../src/types/insert-entity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAErD,MAAM,WAAW,YAAa,SAAQ,gBAAgB;IACpD,IAAI,EAAE,QAAQ,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;CAEpB"}
@@ -0,0 +1,6 @@
1
+ import type { Entity } from './entity';
2
+ /** Entities grouped by layer */
3
+ export interface LayerGroups {
4
+ [layerName: string]: Entity[];
5
+ }
6
+ //# sourceMappingURL=layer-groups.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layer-groups.d.ts","sourceRoot":"","sources":["../../src/types/layer-groups.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEtC,gCAAgC;AAChC,MAAM,WAAW,WAAW;IAC1B,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAC9B"}
@@ -0,0 +1,28 @@
1
+ import type { BaseEntity } from './base-entity';
2
+ import type { Point3D } from './common';
3
+ export interface LeaderEntity extends BaseEntity {
4
+ type: 'LEADER';
5
+ /** Leader vertices, in drawing coordinates. */
6
+ vertices: Point3D[];
7
+ /** Dimension style name. */
8
+ dimensionStyleName?: string;
9
+ /** Arrowhead flag: 0 = Disabled; 1 = Enabled. */
10
+ arrowheadFlag?: number;
11
+ /** Leader path type: 0 = Straight line segments; 1 = Spline. */
12
+ pathType?: number;
13
+ /** Leader creation flag: 0 = text; 1 = tolerance; 2 = insert; 3 = none. */
14
+ creationFlag?: number;
15
+ hooklineDirectionFlag?: number;
16
+ hooklineFlag?: number;
17
+ textHeight?: number;
18
+ textWidth?: number;
19
+ /** Color to use if leader's DIMCLR D = BYBLOCK. */
20
+ color?: number;
21
+ /** Hard reference to associated annotation entity. */
22
+ annotationHandle?: string;
23
+ normal?: Point3D;
24
+ horizontalDirection?: Point3D;
25
+ blockOffset?: Point3D;
26
+ annotationOffset?: Point3D;
27
+ }
28
+ //# sourceMappingURL=leader-entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"leader-entity.d.ts","sourceRoot":"","sources":["../../src/types/leader-entity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAEvC,MAAM,WAAW,YAAa,SAAQ,UAAU;IAC9C,IAAI,EAAE,QAAQ,CAAA;IAEd,+CAA+C;IAC/C,QAAQ,EAAE,OAAO,EAAE,CAAA;IAEnB,4BAA4B;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAE3B,iDAAiD;IACjD,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB,2EAA2E;IAC3E,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,mDAAmD;IACnD,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,sDAAsD;IACtD,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAEzB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B"}
@@ -0,0 +1,8 @@
1
+ import type { BaseEntity } from './base-entity';
2
+ import type { Point3D } from './common';
3
+ export interface LineEntity extends BaseEntity {
4
+ type: 'LINE';
5
+ start: Point3D;
6
+ end: Point3D;
7
+ }
8
+ //# sourceMappingURL=line-entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"line-entity.d.ts","sourceRoot":"","sources":["../../src/types/line-entity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAEvC,MAAM,WAAW,UAAW,SAAQ,UAAU;IAC5C,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,OAAO,CAAA;IACd,GAAG,EAAE,OAAO,CAAA;CACb"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var mleader_entity_exports = {};
16
+ module.exports = __toCommonJS(mleader_entity_exports);
17
+ //# sourceMappingURL=mleader-entity.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/types/mleader-entity.ts"],
4
+ "sourcesContent": ["import type { BaseEntity } from './base-entity'\n\nexport interface MLeaderEntity extends BaseEntity {\n type: 'MLEADER'\n\n styleName?: string\n text?: string\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
6
+ "names": []
7
+ }
@@ -0,0 +1,7 @@
1
+ import type { BaseEntity } from './base-entity';
2
+ export interface MLeaderEntity extends BaseEntity {
3
+ type: 'MLEADER';
4
+ styleName?: string;
5
+ text?: string;
6
+ }
7
+ //# sourceMappingURL=mleader-entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mleader-entity.d.ts","sourceRoot":"","sources":["../../src/types/mleader-entity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C,MAAM,WAAW,aAAc,SAAQ,UAAU;IAC/C,IAAI,EAAE,SAAS,CAAA;IAEf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=mleader-entity.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var mline_entity_exports = {};
16
+ module.exports = __toCommonJS(mline_entity_exports);
17
+ //# sourceMappingURL=mline-entity.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/types/mline-entity.ts"],
4
+ "sourcesContent": ["import type { BaseEntity } from './base-entity'\nimport type { Point3D } from './common'\n\nexport interface MLineEntity extends BaseEntity {\n type: 'MLINE'\n\n startPoint?: Point3D\n endPoint?: Point3D\n\n vertexCount?: number\n styleName?: string\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
6
+ "names": []
7
+ }
@@ -0,0 +1,10 @@
1
+ import type { BaseEntity } from './base-entity';
2
+ import type { Point3D } from './common';
3
+ export interface MLineEntity extends BaseEntity {
4
+ type: 'MLINE';
5
+ startPoint?: Point3D;
6
+ endPoint?: Point3D;
7
+ vertexCount?: number;
8
+ styleName?: string;
9
+ }
10
+ //# sourceMappingURL=mline-entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mline-entity.d.ts","sourceRoot":"","sources":["../../src/types/mline-entity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAEvC,MAAM,WAAW,WAAY,SAAQ,UAAU;IAC7C,IAAI,EAAE,OAAO,CAAA;IAEb,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=mline-entity.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -0,0 +1,33 @@
1
+ import type { BaseEntity } from './base-entity';
2
+ export interface MTextEntity extends BaseEntity {
3
+ type: 'MTEXT';
4
+ string: string;
5
+ x?: number;
6
+ y?: number;
7
+ z?: number;
8
+ nominalTextHeight?: number;
9
+ textHeight?: number;
10
+ refRectangleWidth?: number;
11
+ attachmentPoint?: number;
12
+ drawingDirection?: number;
13
+ styleName?: string;
14
+ xAxisX?: number;
15
+ xAxisY?: number;
16
+ xAxisZ?: number;
17
+ horizontalWidth?: number;
18
+ verticalHeight?: number;
19
+ lineSpacingStyle?: number;
20
+ lineSpacingFactor?: number;
21
+ backgroundFill?: number;
22
+ fillBoxStyle?: number;
23
+ bgFillColor?: number;
24
+ bgFillTransparency?: number;
25
+ columnType?: number;
26
+ columnCount?: number;
27
+ columnFlowReversed?: boolean;
28
+ columnAutoheight?: boolean;
29
+ columnWidth?: number;
30
+ columnGutter?: number;
31
+ columnHeights?: number;
32
+ }
33
+ //# sourceMappingURL=mtext-entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mtext-entity.d.ts","sourceRoot":"","sources":["../../src/types/mtext-entity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C,MAAM,WAAW,WAAY,SAAQ,UAAU;IAC7C,IAAI,EAAE,OAAO,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB"}
@@ -0,0 +1,33 @@
1
+ import type { BaseEntity } from './base-entity';
2
+ /**
3
+ * OLE2Frame entity
4
+ * Represents an embedded OLE2 object frame
5
+ */
6
+ export interface Ole2FrameEntity extends BaseEntity {
7
+ type: 'OLE2FRAME';
8
+ /** OLE version number */
9
+ version?: string | number;
10
+ /** End of object name/description */
11
+ name?: string | number;
12
+ /** Upper-left corner X coordinate (WCS) */
13
+ upperLeftX?: string | number;
14
+ /** Upper-left corner Y coordinate (WCS) */
15
+ upperLeftY?: string | number;
16
+ /** Upper-left corner Z coordinate (WCS) */
17
+ upperLeftZ?: string | number;
18
+ /** Lower-right corner X coordinate (WCS) */
19
+ lowerRightX?: string | number;
20
+ /** Lower-right corner Y coordinate (WCS) */
21
+ lowerRightY?: string | number;
22
+ /** Lower-right corner Z coordinate (WCS) */
23
+ lowerRightZ?: string | number;
24
+ /** Object type (1=Link, 2=Embedded, 3=Static) */
25
+ objectType?: string | number;
26
+ /** Tile mode descriptor (0=Model space, 1=Paper space) */
27
+ tile?: string | number;
28
+ /** Length of binary data */
29
+ length?: string | number;
30
+ /** Binary data (concatenated from multiple 310 codes) */
31
+ data: string;
32
+ }
33
+ //# sourceMappingURL=ole2frame-entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ole2frame-entity.d.ts","sourceRoot":"","sources":["../../src/types/ole2frame-entity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C;;;GAGG;AACH,MAAM,WAAW,eAAgB,SAAQ,UAAU;IACjD,IAAI,EAAE,WAAW,CAAA;IACjB,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB,qCAAqC;IACrC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC7B,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC7B,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC7B,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,0DAA0D;IAC1D,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,4BAA4B;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,yDAAyD;IACzD,IAAI,EAAE,MAAM,CAAA;CACb"}