dxf-json 0.0.10 → 0.0.16

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 (466) hide show
  1. package/package.json +3 -4
  2. package/src/index.ts +4 -2
  3. package/dist/consts/block.d.ts +0 -10
  4. package/dist/consts/block.js +0 -22
  5. package/dist/consts/block.js.map +0 -1
  6. package/dist/consts/color.d.ts +0 -5
  7. package/dist/consts/color.js +0 -10
  8. package/dist/consts/color.js.map +0 -1
  9. package/dist/consts/config.d.ts +0 -2
  10. package/dist/consts/config.js +0 -6
  11. package/dist/consts/config.js.map +0 -1
  12. package/dist/consts/dimension.d.ts +0 -61
  13. package/dist/consts/dimension.js +0 -74
  14. package/dist/consts/dimension.js.map +0 -1
  15. package/dist/consts/hatch.d.ts +0 -44
  16. package/dist/consts/hatch.js +0 -57
  17. package/dist/consts/hatch.js.map +0 -1
  18. package/dist/consts/header.d.ts +0 -9
  19. package/dist/consts/header.js +0 -13
  20. package/dist/consts/header.js.map +0 -1
  21. package/dist/consts/index.d.ts +0 -9
  22. package/dist/consts/index.js +0 -26
  23. package/dist/consts/index.js.map +0 -1
  24. package/dist/consts/lineweight.d.ts +0 -5
  25. package/dist/consts/lineweight.js +0 -10
  26. package/dist/consts/lineweight.js.map +0 -1
  27. package/dist/consts/measurement.d.ts +0 -4
  28. package/dist/consts/measurement.js +0 -9
  29. package/dist/consts/measurement.js.map +0 -1
  30. package/dist/consts/obscuredLineTypes.d.ts +0 -21
  31. package/dist/consts/obscuredLineTypes.js +0 -26
  32. package/dist/consts/obscuredLineTypes.js.map +0 -1
  33. package/dist/consts/scene.d.ts +0 -2
  34. package/dist/consts/scene.js +0 -6
  35. package/dist/consts/scene.js.map +0 -1
  36. package/dist/consts/viewport.d.ts +0 -56
  37. package/dist/consts/viewport.js +0 -67
  38. package/dist/consts/viewport.js.map +0 -1
  39. package/dist/index.d.ts +0 -2
  40. package/dist/index.js +0 -9
  41. package/dist/index.js.map +0 -1
  42. package/dist/parser/AutoCadColorIndex.d.ts +0 -8
  43. package/dist/parser/AutoCadColorIndex.js +0 -267
  44. package/dist/parser/AutoCadColorIndex.js.map +0 -1
  45. package/dist/parser/DxfArrayScanner.d.ts +0 -38
  46. package/dist/parser/DxfArrayScanner.js +0 -159
  47. package/dist/parser/DxfArrayScanner.js.map +0 -1
  48. package/dist/parser/DxfParser.d.ts +0 -11
  49. package/dist/parser/DxfParser.js +0 -108
  50. package/dist/parser/DxfParser.js.map +0 -1
  51. package/dist/parser/ParseHelpers.d.ts +0 -21
  52. package/dist/parser/ParseHelpers.js +0 -129
  53. package/dist/parser/ParseHelpers.js.map +0 -1
  54. package/dist/parser/blocks/blocks.test.d.ts +0 -1
  55. package/dist/parser/blocks/blocks.test.js +0 -86
  56. package/dist/parser/blocks/blocks.test.js.map +0 -1
  57. package/dist/parser/blocks/index.d.ts +0 -4
  58. package/dist/parser/blocks/index.js +0 -83
  59. package/dist/parser/blocks/index.js.map +0 -1
  60. package/dist/parser/blocks/types.d.ts +0 -14
  61. package/dist/parser/blocks/types.js +0 -3
  62. package/dist/parser/blocks/types.js.map +0 -1
  63. package/dist/parser/entities/3dface.js +0 -106
  64. package/dist/parser/entities/3dface.js.map +0 -1
  65. package/dist/parser/entities/arc/index.d.ts +0 -2
  66. package/dist/parser/entities/arc/index.js +0 -19
  67. package/dist/parser/entities/arc/index.js.map +0 -1
  68. package/dist/parser/entities/arc/parser.d.ts +0 -7
  69. package/dist/parser/entities/arc/parser.js +0 -63
  70. package/dist/parser/entities/arc/parser.js.map +0 -1
  71. package/dist/parser/entities/arc/types.d.ts +0 -12
  72. package/dist/parser/entities/arc/types.js +0 -3
  73. package/dist/parser/entities/arc/types.js.map +0 -1
  74. package/dist/parser/entities/attdef/consts.d.ts +0 -11
  75. package/dist/parser/entities/attdef/consts.js +0 -17
  76. package/dist/parser/entities/attdef/consts.js.map +0 -1
  77. package/dist/parser/entities/attdef/index.d.ts +0 -3
  78. package/dist/parser/entities/attdef/index.js +0 -20
  79. package/dist/parser/entities/attdef/index.js.map +0 -1
  80. package/dist/parser/entities/attdef/parser.d.ts +0 -8
  81. package/dist/parser/entities/attdef/parser.js +0 -108
  82. package/dist/parser/entities/attdef/parser.js.map +0 -1
  83. package/dist/parser/entities/attdef/types.d.ts +0 -17
  84. package/dist/parser/entities/attdef/types.js +0 -3
  85. package/dist/parser/entities/attdef/types.js.map +0 -1
  86. package/dist/parser/entities/attribute/consts.d.ts +0 -6
  87. package/dist/parser/entities/attribute/consts.js +0 -11
  88. package/dist/parser/entities/attribute/consts.js.map +0 -1
  89. package/dist/parser/entities/attribute/index.d.ts +0 -3
  90. package/dist/parser/entities/attribute/index.js +0 -20
  91. package/dist/parser/entities/attribute/index.js.map +0 -1
  92. package/dist/parser/entities/attribute/parser.d.ts +0 -8
  93. package/dist/parser/entities/attribute/parser.js +0 -185
  94. package/dist/parser/entities/attribute/parser.js.map +0 -1
  95. package/dist/parser/entities/attribute/types.d.ts +0 -30
  96. package/dist/parser/entities/attribute/types.js +0 -3
  97. package/dist/parser/entities/attribute/types.js.map +0 -1
  98. package/dist/parser/entities/circle/index.d.ts +0 -2
  99. package/dist/parser/entities/circle/index.js +0 -19
  100. package/dist/parser/entities/circle/index.js.map +0 -1
  101. package/dist/parser/entities/circle/parser.d.ts +0 -8
  102. package/dist/parser/entities/circle/parser.js +0 -50
  103. package/dist/parser/entities/circle/parser.js.map +0 -1
  104. package/dist/parser/entities/circle/types.d.ts +0 -10
  105. package/dist/parser/entities/circle/types.js +0 -3
  106. package/dist/parser/entities/circle/types.js.map +0 -1
  107. package/dist/parser/entities/dimension/common.d.ts +0 -6
  108. package/dist/parser/entities/dimension/common.js +0 -122
  109. package/dist/parser/entities/dimension/common.js.map +0 -1
  110. package/dist/parser/entities/dimension/index.d.ts +0 -6
  111. package/dist/parser/entities/dimension/index.js +0 -21
  112. package/dist/parser/entities/dimension/index.js.map +0 -1
  113. package/dist/parser/entities/dimension/types.d.ts +0 -48
  114. package/dist/parser/entities/dimension/types.js +0 -3
  115. package/dist/parser/entities/dimension/types.js.map +0 -1
  116. package/dist/parser/entities/ellipse/index.d.ts +0 -2
  117. package/dist/parser/entities/ellipse/index.js +0 -19
  118. package/dist/parser/entities/ellipse/index.js.map +0 -1
  119. package/dist/parser/entities/ellipse/parser.d.ts +0 -7
  120. package/dist/parser/entities/ellipse/parser.js +0 -59
  121. package/dist/parser/entities/ellipse/parser.js.map +0 -1
  122. package/dist/parser/entities/ellipse/types.d.ts +0 -12
  123. package/dist/parser/entities/ellipse/types.js +0 -3
  124. package/dist/parser/entities/ellipse/types.js.map +0 -1
  125. package/dist/parser/entities/entities.test.d.ts +0 -1
  126. package/dist/parser/entities/entities.test.js +0 -81
  127. package/dist/parser/entities/entities.test.js.map +0 -1
  128. package/dist/parser/entities/hatch/boundaryPathData/edge.d.ts +0 -6
  129. package/dist/parser/entities/hatch/boundaryPathData/edge.js +0 -178
  130. package/dist/parser/entities/hatch/boundaryPathData/edge.js.map +0 -1
  131. package/dist/parser/entities/hatch/boundaryPathData/index.d.ts +0 -5
  132. package/dist/parser/entities/hatch/boundaryPathData/index.js +0 -23
  133. package/dist/parser/entities/hatch/boundaryPathData/index.js.map +0 -1
  134. package/dist/parser/entities/hatch/boundaryPathData/polyline.d.ts +0 -2
  135. package/dist/parser/entities/hatch/boundaryPathData/polyline.js +0 -41
  136. package/dist/parser/entities/hatch/boundaryPathData/polyline.js.map +0 -1
  137. package/dist/parser/entities/hatch/boundaryPathData/shared.d.ts +0 -2
  138. package/dist/parser/entities/hatch/boundaryPathData/shared.js +0 -19
  139. package/dist/parser/entities/hatch/boundaryPathData/shared.js.map +0 -1
  140. package/dist/parser/entities/hatch/index.d.ts +0 -8
  141. package/dist/parser/entities/hatch/index.js +0 -183
  142. package/dist/parser/entities/hatch/index.js.map +0 -1
  143. package/dist/parser/entities/hatch/patternData.d.ts +0 -3
  144. package/dist/parser/entities/hatch/patternData.js +0 -54
  145. package/dist/parser/entities/hatch/patternData.js.map +0 -1
  146. package/dist/parser/entities/hatch/types/boundaryPath.d.ts +0 -59
  147. package/dist/parser/entities/hatch/types/boundaryPath.js +0 -3
  148. package/dist/parser/entities/hatch/types/boundaryPath.js.map +0 -1
  149. package/dist/parser/entities/hatch/types/definitionLine.d.ts +0 -8
  150. package/dist/parser/entities/hatch/types/definitionLine.js +0 -3
  151. package/dist/parser/entities/hatch/types/definitionLine.js.map +0 -1
  152. package/dist/parser/entities/hatch/types/hatch.d.ts +0 -38
  153. package/dist/parser/entities/hatch/types/hatch.js +0 -3
  154. package/dist/parser/entities/hatch/types/hatch.js.map +0 -1
  155. package/dist/parser/entities/hatch/types/index.d.ts +0 -3
  156. package/dist/parser/entities/hatch/types/index.js +0 -20
  157. package/dist/parser/entities/hatch/types/index.js.map +0 -1
  158. package/dist/parser/entities/index.d.ts +0 -8
  159. package/dist/parser/entities/index.js +0 -81
  160. package/dist/parser/entities/index.js.map +0 -1
  161. package/dist/parser/entities/insert/index.d.ts +0 -2
  162. package/dist/parser/entities/insert/index.js +0 -19
  163. package/dist/parser/entities/insert/index.js.map +0 -1
  164. package/dist/parser/entities/insert/parser.d.ts +0 -8
  165. package/dist/parser/entities/insert/parser.js +0 -97
  166. package/dist/parser/entities/insert/parser.js.map +0 -1
  167. package/dist/parser/entities/insert/types.d.ts +0 -18
  168. package/dist/parser/entities/insert/types.js +0 -3
  169. package/dist/parser/entities/insert/types.js.map +0 -1
  170. package/dist/parser/entities/leader/consts.d.ts +0 -6
  171. package/dist/parser/entities/leader/consts.js +0 -11
  172. package/dist/parser/entities/leader/consts.js.map +0 -1
  173. package/dist/parser/entities/leader/index.d.ts +0 -3
  174. package/dist/parser/entities/leader/index.js +0 -20
  175. package/dist/parser/entities/leader/index.js.map +0 -1
  176. package/dist/parser/entities/leader/parser.d.ts +0 -8
  177. package/dist/parser/entities/leader/parser.js +0 -110
  178. package/dist/parser/entities/leader/parser.js.map +0 -1
  179. package/dist/parser/entities/leader/types.d.ts +0 -23
  180. package/dist/parser/entities/leader/types.js +0 -3
  181. package/dist/parser/entities/leader/types.js.map +0 -1
  182. package/dist/parser/entities/line/index.d.ts +0 -2
  183. package/dist/parser/entities/line/index.js +0 -19
  184. package/dist/parser/entities/line/index.js.map +0 -1
  185. package/dist/parser/entities/line/parser.d.ts +0 -8
  186. package/dist/parser/entities/line/parser.js +0 -50
  187. package/dist/parser/entities/line/parser.js.map +0 -1
  188. package/dist/parser/entities/line/types.d.ts +0 -10
  189. package/dist/parser/entities/line/types.js +0 -3
  190. package/dist/parser/entities/line/types.js.map +0 -1
  191. package/dist/parser/entities/lwpolyline/consts.d.ts +0 -4
  192. package/dist/parser/entities/lwpolyline/consts.js +0 -9
  193. package/dist/parser/entities/lwpolyline/consts.js.map +0 -1
  194. package/dist/parser/entities/lwpolyline/index.d.ts +0 -3
  195. package/dist/parser/entities/lwpolyline/index.js +0 -20
  196. package/dist/parser/entities/lwpolyline/index.js.map +0 -1
  197. package/dist/parser/entities/lwpolyline/parser.d.ts +0 -7
  198. package/dist/parser/entities/lwpolyline/parser.js +0 -105
  199. package/dist/parser/entities/lwpolyline/parser.js.map +0 -1
  200. package/dist/parser/entities/lwpolyline/types.d.ts +0 -19
  201. package/dist/parser/entities/lwpolyline/types.js +0 -3
  202. package/dist/parser/entities/lwpolyline/types.js.map +0 -1
  203. package/dist/parser/entities/mtext/consts.d.ts +0 -5
  204. package/dist/parser/entities/mtext/consts.js +0 -10
  205. package/dist/parser/entities/mtext/consts.js.map +0 -1
  206. package/dist/parser/entities/mtext/index.d.ts +0 -3
  207. package/dist/parser/entities/mtext/index.js +0 -20
  208. package/dist/parser/entities/mtext/index.js.map +0 -1
  209. package/dist/parser/entities/mtext/parser.d.ts +0 -10
  210. package/dist/parser/entities/mtext/parser.js +0 -188
  211. package/dist/parser/entities/mtext/parser.js.map +0 -1
  212. package/dist/parser/entities/mtext/types.d.ts +0 -33
  213. package/dist/parser/entities/mtext/types.js +0 -3
  214. package/dist/parser/entities/mtext/types.js.map +0 -1
  215. package/dist/parser/entities/point/index.d.ts +0 -2
  216. package/dist/parser/entities/point/index.js +0 -19
  217. package/dist/parser/entities/point/index.js.map +0 -1
  218. package/dist/parser/entities/point/parser.d.ts +0 -6
  219. package/dist/parser/entities/point/parser.js +0 -54
  220. package/dist/parser/entities/point/parser.js.map +0 -1
  221. package/dist/parser/entities/point/types.d.ts +0 -9
  222. package/dist/parser/entities/point/types.js +0 -3
  223. package/dist/parser/entities/point/types.js.map +0 -1
  224. package/dist/parser/entities/polyline/consts.d.ts +0 -16
  225. package/dist/parser/entities/polyline/consts.js +0 -22
  226. package/dist/parser/entities/polyline/consts.js.map +0 -1
  227. package/dist/parser/entities/polyline/index.d.ts +0 -3
  228. package/dist/parser/entities/polyline/index.js +0 -20
  229. package/dist/parser/entities/polyline/index.js.map +0 -1
  230. package/dist/parser/entities/polyline/parser.d.ts +0 -7
  231. package/dist/parser/entities/polyline/parser.js +0 -118
  232. package/dist/parser/entities/polyline/parser.js.map +0 -1
  233. package/dist/parser/entities/polyline/types.d.ts +0 -19
  234. package/dist/parser/entities/polyline/types.js +0 -3
  235. package/dist/parser/entities/polyline/types.js.map +0 -1
  236. package/dist/parser/entities/section/index.d.ts +0 -2
  237. package/dist/parser/entities/section/index.js +0 -19
  238. package/dist/parser/entities/section/index.js.map +0 -1
  239. package/dist/parser/entities/section/parser.d.ts +0 -7
  240. package/dist/parser/entities/section/parser.js +0 -97
  241. package/dist/parser/entities/section/parser.js.map +0 -1
  242. package/dist/parser/entities/section/types.d.ts +0 -19
  243. package/dist/parser/entities/section/types.js +0 -3
  244. package/dist/parser/entities/section/types.js.map +0 -1
  245. package/dist/parser/entities/shared.d.ts +0 -35
  246. package/dist/parser/entities/shared.js +0 -136
  247. package/dist/parser/entities/shared.js.map +0 -1
  248. package/dist/parser/entities/solid/index.d.ts +0 -2
  249. package/dist/parser/entities/solid/index.js +0 -19
  250. package/dist/parser/entities/solid/index.js.map +0 -1
  251. package/dist/parser/entities/solid/parser.d.ts +0 -8
  252. package/dist/parser/entities/solid/parser.js +0 -48
  253. package/dist/parser/entities/solid/parser.js.map +0 -1
  254. package/dist/parser/entities/solid/types.d.ts +0 -9
  255. package/dist/parser/entities/solid/types.js +0 -3
  256. package/dist/parser/entities/solid/types.js.map +0 -1
  257. package/dist/parser/entities/spline/consts.d.ts +0 -8
  258. package/dist/parser/entities/spline/consts.js +0 -13
  259. package/dist/parser/entities/spline/consts.js.map +0 -1
  260. package/dist/parser/entities/spline/index.d.ts +0 -3
  261. package/dist/parser/entities/spline/index.js +0 -20
  262. package/dist/parser/entities/spline/index.js.map +0 -1
  263. package/dist/parser/entities/spline/parser.d.ts +0 -8
  264. package/dist/parser/entities/spline/parser.js +0 -113
  265. package/dist/parser/entities/spline/parser.js.map +0 -1
  266. package/dist/parser/entities/spline/types.d.ts +0 -21
  267. package/dist/parser/entities/spline/types.js +0 -3
  268. package/dist/parser/entities/spline/types.js.map +0 -1
  269. package/dist/parser/entities/text/consts.d.ts +0 -19
  270. package/dist/parser/entities/text/consts.js +0 -26
  271. package/dist/parser/entities/text/consts.js.map +0 -1
  272. package/dist/parser/entities/text/index.d.ts +0 -3
  273. package/dist/parser/entities/text/index.js +0 -20
  274. package/dist/parser/entities/text/index.js.map +0 -1
  275. package/dist/parser/entities/text/parser.d.ts +0 -26
  276. package/dist/parser/entities/text/parser.js +0 -112
  277. package/dist/parser/entities/text/parser.js.map +0 -1
  278. package/dist/parser/entities/text/types.d.ts +0 -20
  279. package/dist/parser/entities/text/types.js +0 -3
  280. package/dist/parser/entities/text/types.js.map +0 -1
  281. package/dist/parser/entities/vertex/consts.d.ts +0 -10
  282. package/dist/parser/entities/vertex/consts.js +0 -15
  283. package/dist/parser/entities/vertex/consts.js.map +0 -1
  284. package/dist/parser/entities/vertex/index.d.ts +0 -3
  285. package/dist/parser/entities/vertex/index.js +0 -20
  286. package/dist/parser/entities/vertex/index.js.map +0 -1
  287. package/dist/parser/entities/vertex/parser.d.ts +0 -8
  288. package/dist/parser/entities/vertex/parser.js +0 -86
  289. package/dist/parser/entities/vertex/parser.js.map +0 -1
  290. package/dist/parser/entities/vertex/types.d.ts +0 -16
  291. package/dist/parser/entities/vertex/types.js +0 -3
  292. package/dist/parser/entities/vertex/types.js.map +0 -1
  293. package/dist/parser/entities/viewport/index.d.ts +0 -5
  294. package/dist/parser/entities/viewport/index.js +0 -195
  295. package/dist/parser/entities/viewport/index.js.map +0 -1
  296. package/dist/parser/entities/viewport/types.d.ts +0 -51
  297. package/dist/parser/entities/viewport/types.js +0 -3
  298. package/dist/parser/entities/viewport/types.js.map +0 -1
  299. package/dist/parser/filterDummyBlocks.d.ts +0 -2
  300. package/dist/parser/filterDummyBlocks.js +0 -37
  301. package/dist/parser/filterDummyBlocks.js.map +0 -1
  302. package/dist/parser/header/index.d.ts +0 -3
  303. package/dist/parser/header/index.js +0 -32
  304. package/dist/parser/header/index.js.map +0 -1
  305. package/dist/parser/objects/common.d.ts +0 -8
  306. package/dist/parser/objects/common.js +0 -51
  307. package/dist/parser/objects/common.js.map +0 -1
  308. package/dist/parser/objects/dictionary.d.ts +0 -20
  309. package/dist/parser/objects/dictionary.js +0 -50
  310. package/dist/parser/objects/dictionary.js.map +0 -1
  311. package/dist/parser/objects/index.d.ts +0 -6
  312. package/dist/parser/objects/index.js +0 -43
  313. package/dist/parser/objects/index.js.map +0 -1
  314. package/dist/parser/objects/layout.d.ts +0 -30
  315. package/dist/parser/objects/layout.js +0 -110
  316. package/dist/parser/objects/layout.js.map +0 -1
  317. package/dist/parser/objects/plotSettings.d.ts +0 -64
  318. package/dist/parser/objects/plotSettings.js +0 -198
  319. package/dist/parser/objects/plotSettings.js.map +0 -1
  320. package/dist/parser/objects/treefy.d.ts +0 -2
  321. package/dist/parser/objects/treefy.js +0 -37
  322. package/dist/parser/objects/treefy.js.map +0 -1
  323. package/dist/parser/objects/types.d.ts +0 -15
  324. package/dist/parser/objects/types.js +0 -3
  325. package/dist/parser/objects/types.js.map +0 -1
  326. package/dist/parser/shared/index.d.ts +0 -7
  327. package/dist/parser/shared/index.js +0 -22
  328. package/dist/parser/shared/index.js.map +0 -1
  329. package/dist/parser/shared/parsePoint.d.ts +0 -7
  330. package/dist/parser/shared/parsePoint.js +0 -33
  331. package/dist/parser/shared/parsePoint.js.map +0 -1
  332. package/dist/parser/shared/parserGenerator.d.ts +0 -15
  333. package/dist/parser/shared/parserGenerator.js +0 -114
  334. package/dist/parser/shared/parserGenerator.js.map +0 -1
  335. package/dist/parser/shared/parserGenerator.test.d.ts +0 -1
  336. package/dist/parser/shared/parserGenerator.test.js +0 -153
  337. package/dist/parser/shared/parserGenerator.test.js.map +0 -1
  338. package/dist/parser/shared/xdata/index.d.ts +0 -3
  339. package/dist/parser/shared/xdata/index.js +0 -20
  340. package/dist/parser/shared/xdata/index.js.map +0 -1
  341. package/dist/parser/shared/xdata/interpreter.d.ts +0 -20
  342. package/dist/parser/shared/xdata/interpreter.js +0 -43
  343. package/dist/parser/shared/xdata/interpreter.js.map +0 -1
  344. package/dist/parser/shared/xdata/interpreter.test.d.ts +0 -1
  345. package/dist/parser/shared/xdata/interpreter.test.js +0 -83
  346. package/dist/parser/shared/xdata/interpreter.test.js.map +0 -1
  347. package/dist/parser/shared/xdata/parser.d.ts +0 -6
  348. package/dist/parser/shared/xdata/parser.js +0 -133
  349. package/dist/parser/shared/xdata/parser.js.map +0 -1
  350. package/dist/parser/shared/xdata/parser.test.d.ts +0 -1
  351. package/dist/parser/shared/xdata/parser.test.js +0 -64
  352. package/dist/parser/shared/xdata/parser.test.js.map +0 -1
  353. package/dist/parser/shared/xdata/types.d.ts +0 -9
  354. package/dist/parser/shared/xdata/types.js +0 -3
  355. package/dist/parser/shared/xdata/types.js.map +0 -1
  356. package/dist/parser/tables/blockRecord/index.d.ts +0 -2
  357. package/dist/parser/tables/blockRecord/index.js +0 -19
  358. package/dist/parser/tables/blockRecord/index.js.map +0 -1
  359. package/dist/parser/tables/blockRecord/parser.d.ts +0 -1
  360. package/dist/parser/tables/blockRecord/parser.js +0 -45
  361. package/dist/parser/tables/blockRecord/parser.js.map +0 -1
  362. package/dist/parser/tables/blockRecord/types.d.ts +0 -10
  363. package/dist/parser/tables/blockRecord/types.js +0 -3
  364. package/dist/parser/tables/blockRecord/types.js.map +0 -1
  365. package/dist/parser/tables/dimStyle/consts.d.ts +0 -2
  366. package/dist/parser/tables/dimStyle/consts.js +0 -424
  367. package/dist/parser/tables/dimStyle/consts.js.map +0 -1
  368. package/dist/parser/tables/dimStyle/index.d.ts +0 -3
  369. package/dist/parser/tables/dimStyle/index.js +0 -20
  370. package/dist/parser/tables/dimStyle/index.js.map +0 -1
  371. package/dist/parser/tables/dimStyle/parser.d.ts +0 -1
  372. package/dist/parser/tables/dimStyle/parser.js +0 -35
  373. package/dist/parser/tables/dimStyle/parser.js.map +0 -1
  374. package/dist/parser/tables/dimStyle/types.d.ts +0 -83
  375. package/dist/parser/tables/dimStyle/types.js +0 -3
  376. package/dist/parser/tables/dimStyle/types.js.map +0 -1
  377. package/dist/parser/tables/index.d.ts +0 -2
  378. package/dist/parser/tables/index.js +0 -19
  379. package/dist/parser/tables/index.js.map +0 -1
  380. package/dist/parser/tables/layer/index.d.ts +0 -2
  381. package/dist/parser/tables/layer/index.js +0 -19
  382. package/dist/parser/tables/layer/index.js.map +0 -1
  383. package/dist/parser/tables/layer/parser.d.ts +0 -1
  384. package/dist/parser/tables/layer/parser.js +0 -55
  385. package/dist/parser/tables/layer/parser.js.map +0 -1
  386. package/dist/parser/tables/layer/types.d.ts +0 -13
  387. package/dist/parser/tables/layer/types.js +0 -3
  388. package/dist/parser/tables/layer/types.js.map +0 -1
  389. package/dist/parser/tables/ltype/consts.d.ts +0 -6
  390. package/dist/parser/tables/ltype/consts.js +0 -11
  391. package/dist/parser/tables/ltype/consts.js.map +0 -1
  392. package/dist/parser/tables/ltype/index.d.ts +0 -3
  393. package/dist/parser/tables/ltype/index.js +0 -20
  394. package/dist/parser/tables/ltype/index.js.map +0 -1
  395. package/dist/parser/tables/ltype/parser.d.ts +0 -1
  396. package/dist/parser/tables/ltype/parser.js +0 -105
  397. package/dist/parser/tables/ltype/parser.js.map +0 -1
  398. package/dist/parser/tables/ltype/types.d.ts +0 -21
  399. package/dist/parser/tables/ltype/types.js +0 -3
  400. package/dist/parser/tables/ltype/types.js.map +0 -1
  401. package/dist/parser/tables/parser.d.ts +0 -2
  402. package/dist/parser/tables/parser.js +0 -90
  403. package/dist/parser/tables/parser.js.map +0 -1
  404. package/dist/parser/tables/shared.d.ts +0 -2
  405. package/dist/parser/tables/shared.js +0 -32
  406. package/dist/parser/tables/shared.js.map +0 -1
  407. package/dist/parser/tables/style/index.d.ts +0 -2
  408. package/dist/parser/tables/style/index.js +0 -19
  409. package/dist/parser/tables/style/index.js.map +0 -1
  410. package/dist/parser/tables/style/parser.d.ts +0 -1
  411. package/dist/parser/tables/style/parser.js +0 -68
  412. package/dist/parser/tables/style/parser.js.map +0 -1
  413. package/dist/parser/tables/style/types.d.ts +0 -14
  414. package/dist/parser/tables/style/types.js +0 -3
  415. package/dist/parser/tables/style/types.js.map +0 -1
  416. package/dist/parser/tables/types.d.ts +0 -14
  417. package/dist/parser/tables/types.js +0 -3
  418. package/dist/parser/tables/types.js.map +0 -1
  419. package/dist/parser/tables/vport/index.d.ts +0 -2
  420. package/dist/parser/tables/vport/index.js +0 -19
  421. package/dist/parser/tables/vport/index.js.map +0 -1
  422. package/dist/parser/tables/vport/parser.d.ts +0 -1
  423. package/dist/parser/tables/vport/parser.js +0 -201
  424. package/dist/parser/tables/vport/parser.js.map +0 -1
  425. package/dist/parser/tables/vport/types.d.ts +0 -43
  426. package/dist/parser/tables/vport/types.js +0 -3
  427. package/dist/parser/tables/vport/types.js.map +0 -1
  428. package/dist/parser/types.d.ts +0 -29
  429. package/dist/parser/types.js +0 -3
  430. package/dist/parser/types.js.map +0 -1
  431. package/dist/types/color.d.ts +0 -3
  432. package/dist/types/color.js +0 -3
  433. package/dist/types/color.js.map +0 -1
  434. package/dist/types/dxfHeader.d.ts +0 -16
  435. package/dist/types/dxfHeader.js +0 -3
  436. package/dist/types/dxfHeader.js.map +0 -1
  437. package/dist/types/entity.d.ts +0 -6
  438. package/dist/types/entity.js +0 -3
  439. package/dist/types/entity.js.map +0 -1
  440. package/dist/types/index.d.ts +0 -24
  441. package/dist/types/index.js +0 -20
  442. package/dist/types/index.js.map +0 -1
  443. package/dist/utils/binarySearch.d.ts +0 -1
  444. package/dist/utils/binarySearch.js +0 -23
  445. package/dist/utils/binarySearch.js.map +0 -1
  446. package/dist/utils/disjointSet.d.ts +0 -6
  447. package/dist/utils/disjointSet.js +0 -52
  448. package/dist/utils/disjointSet.js.map +0 -1
  449. package/dist/utils/flooding.d.ts +0 -8
  450. package/dist/utils/flooding.js +0 -26
  451. package/dist/utils/flooding.js.map +0 -1
  452. package/dist/utils/functional.d.ts +0 -17
  453. package/dist/utils/functional.js +0 -111
  454. package/dist/utils/functional.js.map +0 -1
  455. package/dist/utils/graph.d.ts +0 -19
  456. package/dist/utils/graph.js +0 -47
  457. package/dist/utils/graph.js.map +0 -1
  458. package/dist/utils/index.d.ts +0 -30
  459. package/dist/utils/index.js +0 -106
  460. package/dist/utils/index.js.map +0 -1
  461. package/dist/utils/queue.d.ts +0 -19
  462. package/dist/utils/queue.js +0 -71
  463. package/dist/utils/queue.js.map +0 -1
  464. package/dist/utils/triangle.d.ts +0 -2
  465. package/dist/utils/triangle.js +0 -19
  466. package/dist/utils/triangle.js.map +0 -1
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "dxf-json",
3
- "version": "0.0.10",
3
+ "version": "0.0.16",
4
4
  "description": "perfect dxf parser",
5
5
  "main": "./src/index.ts",
6
6
  "type": "module",
7
- "types": "./dist/index.d.ts",
8
- "module": "./dist/index.js",
7
+ "module": "./dist/bundle.js",
9
8
  "scripts": {
10
- "build": "tsc && webpack --mode production",
9
+ "build": "webpack --mode production",
11
10
  "test:parser": "jest --silent=false"
12
11
  },
13
12
  "repository": {
package/src/index.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import DxfParser from './parser/DxfParser'
2
2
 
3
3
 
4
- export {
4
+ export default {
5
5
  DxfParser,
6
- };
6
+ };
7
+
8
+ export { DxfParser }
@@ -1,10 +0,0 @@
1
- export declare enum BlockTypeFlag {
2
- None = 0,
3
- Anonymous = 1,
4
- NonConstant = 2,
5
- Xref = 4,
6
- XrefOverlay = 8,
7
- ExternallyDependent = 16,
8
- ResolvedOrDependent = 32,
9
- ReferencedXref = 64
10
- }
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BlockTypeFlag = void 0;
4
- var BlockTypeFlag;
5
- (function (BlockTypeFlag) {
6
- BlockTypeFlag[BlockTypeFlag["None"] = 0] = "None";
7
- // anonymous block generated by hatching, associative dimensioning,
8
- // other internal operations, or an application
9
- BlockTypeFlag[BlockTypeFlag["Anonymous"] = 1] = "Anonymous";
10
- // this bit is not set if the block has any attribute definitions that
11
- // are constant, or has no attribute definitions at all
12
- BlockTypeFlag[BlockTypeFlag["NonConstant"] = 2] = "NonConstant";
13
- // external referenced
14
- BlockTypeFlag[BlockTypeFlag["Xref"] = 4] = "Xref";
15
- BlockTypeFlag[BlockTypeFlag["XrefOverlay"] = 8] = "XrefOverlay";
16
- BlockTypeFlag[BlockTypeFlag["ExternallyDependent"] = 16] = "ExternallyDependent";
17
- // resolved external reference, or dependent of an external reference
18
- BlockTypeFlag[BlockTypeFlag["ResolvedOrDependent"] = 32] = "ResolvedOrDependent";
19
- // referenced external reference
20
- BlockTypeFlag[BlockTypeFlag["ReferencedXref"] = 64] = "ReferencedXref";
21
- })(BlockTypeFlag || (exports.BlockTypeFlag = BlockTypeFlag = {}));
22
- //# sourceMappingURL=block.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"block.js","sourceRoot":"","sources":["../../src/consts/block.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAqBX;AArBD,WAAY,aAAa;IACrB,iDAAQ,CAAA;IAER,mEAAmE;IACnE,+CAA+C;IAC/C,2DAAa,CAAA;IAEb,sEAAsE;IACtE,uDAAuD;IACvD,+DAAe,CAAA;IAEf,sBAAsB;IACtB,iDAAQ,CAAA;IACR,+DAAe,CAAA;IACf,gFAAwB,CAAA;IAExB,qEAAqE;IACrE,gFAAwB,CAAA;IAExB,gCAAgC;IAChC,sEAAmB,CAAA;AACvB,CAAC,EArBW,aAAa,6BAAb,aAAa,QAqBxB"}
@@ -1,5 +0,0 @@
1
- export declare enum ColorCode {
2
- BYBLOCK = 0,
3
- BYLAYER = 256
4
- }
5
- export declare const UndeterminedBlockColor = -1;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UndeterminedBlockColor = exports.ColorCode = void 0;
4
- var ColorCode;
5
- (function (ColorCode) {
6
- ColorCode[ColorCode["BYBLOCK"] = 0] = "BYBLOCK";
7
- ColorCode[ColorCode["BYLAYER"] = 256] = "BYLAYER";
8
- })(ColorCode || (exports.ColorCode = ColorCode = {}));
9
- exports.UndeterminedBlockColor = -1;
10
- //# sourceMappingURL=color.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"color.js","sourceRoot":"","sources":["../../src/consts/color.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAGX;AAHD,WAAY,SAAS;IACjB,+CAAW,CAAA;IACX,iDAAa,CAAA;AACjB,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAEY,QAAA,sBAAsB,GAAG,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const SPLINE_SUBDIVISION = 4;
2
- export declare const TESSELLATION_ANGLE: number;
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TESSELLATION_ANGLE = exports.SPLINE_SUBDIVISION = void 0;
4
- exports.SPLINE_SUBDIVISION = 4;
5
- exports.TESSELLATION_ANGLE = Math.PI / 24;
6
- //# sourceMappingURL=config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/consts/config.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG,CAAC,CAAC;AACvB,QAAA,kBAAkB,GAAG,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC"}
@@ -1,61 +0,0 @@
1
- export declare enum DimensionType {
2
- Rotated = 0,
3
- Aligned = 1,
4
- Angular = 2,
5
- Diameter = 3,
6
- Radius = 4,
7
- Angular3Point = 5,
8
- Ordinate = 6,
9
- ReferenceIsExclusive = 32,
10
- IsOrdinateXTypeFlag = 64,
11
- IsCustomTextPositionFlag = 128
12
- }
13
- export declare enum AttachmentPoint {
14
- TopLeft = 1,
15
- TopCenter = 2,
16
- TopRight = 3,
17
- MiddleLeft = 4,
18
- MiddleCenter = 5,
19
- MiddleRight = 6,
20
- BottomLeft = 7,
21
- BottomCenter = 8,
22
- BottomRight = 9
23
- }
24
- export declare enum DimensionTextLineSpacing {
25
- AtLeast = 1,
26
- Exact = 2
27
- }
28
- export declare enum DimensionTextVertical {
29
- Center = 0,
30
- Above = 1,
31
- Outside = 2,
32
- JIS = 3,
33
- Below = 4
34
- }
35
- export declare enum DimensionZeroSuppression {
36
- Feet = 0,
37
- None = 1,
38
- Inch = 2,
39
- FeetAndInch = 3,
40
- Leading = 4,
41
- Trailing = 8,
42
- LeadingAndTrailing = 12
43
- }
44
- export declare enum DimensionZeroSuppressionAngular {
45
- None = 0,
46
- Leading = 1,
47
- Trailing = 2,
48
- LeadingAndTrailing = 3
49
- }
50
- export declare enum DimensionTextHorizontal {
51
- Center = 0,
52
- Left = 1,
53
- Right = 2,
54
- OverFirst = 3,
55
- OverSecond = 4
56
- }
57
- export declare enum DimensionToleranceTextVertical {
58
- Bottom = 0,
59
- Center = 1,
60
- Top = 2
61
- }
@@ -1,74 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DimensionToleranceTextVertical = exports.DimensionTextHorizontal = exports.DimensionZeroSuppressionAngular = exports.DimensionZeroSuppression = exports.DimensionTextVertical = exports.DimensionTextLineSpacing = exports.AttachmentPoint = exports.DimensionType = void 0;
4
- // https://help.autodesk.com/view/OARX/2023/ENU/?guid=GUID-EDD54EAC-A339-4EBA-AEA6-EC8066505E2B
5
- var DimensionType;
6
- (function (DimensionType) {
7
- DimensionType[DimensionType["Rotated"] = 0] = "Rotated";
8
- DimensionType[DimensionType["Aligned"] = 1] = "Aligned";
9
- DimensionType[DimensionType["Angular"] = 2] = "Angular";
10
- DimensionType[DimensionType["Diameter"] = 3] = "Diameter";
11
- DimensionType[DimensionType["Radius"] = 4] = "Radius";
12
- DimensionType[DimensionType["Angular3Point"] = 5] = "Angular3Point";
13
- DimensionType[DimensionType["Ordinate"] = 6] = "Ordinate";
14
- DimensionType[DimensionType["ReferenceIsExclusive"] = 32] = "ReferenceIsExclusive";
15
- DimensionType[DimensionType["IsOrdinateXTypeFlag"] = 64] = "IsOrdinateXTypeFlag";
16
- DimensionType[DimensionType["IsCustomTextPositionFlag"] = 128] = "IsCustomTextPositionFlag";
17
- })(DimensionType || (exports.DimensionType = DimensionType = {}));
18
- var AttachmentPoint;
19
- (function (AttachmentPoint) {
20
- AttachmentPoint[AttachmentPoint["TopLeft"] = 1] = "TopLeft";
21
- AttachmentPoint[AttachmentPoint["TopCenter"] = 2] = "TopCenter";
22
- AttachmentPoint[AttachmentPoint["TopRight"] = 3] = "TopRight";
23
- AttachmentPoint[AttachmentPoint["MiddleLeft"] = 4] = "MiddleLeft";
24
- AttachmentPoint[AttachmentPoint["MiddleCenter"] = 5] = "MiddleCenter";
25
- AttachmentPoint[AttachmentPoint["MiddleRight"] = 6] = "MiddleRight";
26
- AttachmentPoint[AttachmentPoint["BottomLeft"] = 7] = "BottomLeft";
27
- AttachmentPoint[AttachmentPoint["BottomCenter"] = 8] = "BottomCenter";
28
- AttachmentPoint[AttachmentPoint["BottomRight"] = 9] = "BottomRight";
29
- })(AttachmentPoint || (exports.AttachmentPoint = AttachmentPoint = {}));
30
- var DimensionTextLineSpacing;
31
- (function (DimensionTextLineSpacing) {
32
- DimensionTextLineSpacing[DimensionTextLineSpacing["AtLeast"] = 1] = "AtLeast";
33
- DimensionTextLineSpacing[DimensionTextLineSpacing["Exact"] = 2] = "Exact";
34
- })(DimensionTextLineSpacing || (exports.DimensionTextLineSpacing = DimensionTextLineSpacing = {}));
35
- var DimensionTextVertical;
36
- (function (DimensionTextVertical) {
37
- DimensionTextVertical[DimensionTextVertical["Center"] = 0] = "Center";
38
- DimensionTextVertical[DimensionTextVertical["Above"] = 1] = "Above";
39
- DimensionTextVertical[DimensionTextVertical["Outside"] = 2] = "Outside";
40
- DimensionTextVertical[DimensionTextVertical["JIS"] = 3] = "JIS";
41
- DimensionTextVertical[DimensionTextVertical["Below"] = 4] = "Below";
42
- })(DimensionTextVertical || (exports.DimensionTextVertical = DimensionTextVertical = {}));
43
- var DimensionZeroSuppression;
44
- (function (DimensionZeroSuppression) {
45
- DimensionZeroSuppression[DimensionZeroSuppression["Feet"] = 0] = "Feet";
46
- DimensionZeroSuppression[DimensionZeroSuppression["None"] = 1] = "None";
47
- DimensionZeroSuppression[DimensionZeroSuppression["Inch"] = 2] = "Inch";
48
- DimensionZeroSuppression[DimensionZeroSuppression["FeetAndInch"] = 3] = "FeetAndInch";
49
- DimensionZeroSuppression[DimensionZeroSuppression["Leading"] = 4] = "Leading";
50
- DimensionZeroSuppression[DimensionZeroSuppression["Trailing"] = 8] = "Trailing";
51
- DimensionZeroSuppression[DimensionZeroSuppression["LeadingAndTrailing"] = 12] = "LeadingAndTrailing";
52
- })(DimensionZeroSuppression || (exports.DimensionZeroSuppression = DimensionZeroSuppression = {}));
53
- var DimensionZeroSuppressionAngular;
54
- (function (DimensionZeroSuppressionAngular) {
55
- DimensionZeroSuppressionAngular[DimensionZeroSuppressionAngular["None"] = 0] = "None";
56
- DimensionZeroSuppressionAngular[DimensionZeroSuppressionAngular["Leading"] = 1] = "Leading";
57
- DimensionZeroSuppressionAngular[DimensionZeroSuppressionAngular["Trailing"] = 2] = "Trailing";
58
- DimensionZeroSuppressionAngular[DimensionZeroSuppressionAngular["LeadingAndTrailing"] = 3] = "LeadingAndTrailing";
59
- })(DimensionZeroSuppressionAngular || (exports.DimensionZeroSuppressionAngular = DimensionZeroSuppressionAngular = {}));
60
- var DimensionTextHorizontal;
61
- (function (DimensionTextHorizontal) {
62
- DimensionTextHorizontal[DimensionTextHorizontal["Center"] = 0] = "Center";
63
- DimensionTextHorizontal[DimensionTextHorizontal["Left"] = 1] = "Left";
64
- DimensionTextHorizontal[DimensionTextHorizontal["Right"] = 2] = "Right";
65
- DimensionTextHorizontal[DimensionTextHorizontal["OverFirst"] = 3] = "OverFirst";
66
- DimensionTextHorizontal[DimensionTextHorizontal["OverSecond"] = 4] = "OverSecond";
67
- })(DimensionTextHorizontal || (exports.DimensionTextHorizontal = DimensionTextHorizontal = {}));
68
- var DimensionToleranceTextVertical;
69
- (function (DimensionToleranceTextVertical) {
70
- DimensionToleranceTextVertical[DimensionToleranceTextVertical["Bottom"] = 0] = "Bottom";
71
- DimensionToleranceTextVertical[DimensionToleranceTextVertical["Center"] = 1] = "Center";
72
- DimensionToleranceTextVertical[DimensionToleranceTextVertical["Top"] = 2] = "Top";
73
- })(DimensionToleranceTextVertical || (exports.DimensionToleranceTextVertical = DimensionToleranceTextVertical = {}));
74
- //# sourceMappingURL=dimension.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dimension.js","sourceRoot":"","sources":["../../src/consts/dimension.ts"],"names":[],"mappings":";;;AAAA,+FAA+F;AAC/F,IAAY,aAWX;AAXD,WAAY,aAAa;IACrB,uDAAW,CAAA;IACX,uDAAW,CAAA;IACX,uDAAW,CAAA;IACX,yDAAY,CAAA;IACZ,qDAAU,CAAA;IACV,mEAAiB,CAAA;IACjB,yDAAY,CAAA;IACZ,kFAAyB,CAAA;IACzB,gFAAwB,CAAA;IACxB,2FAA8B,CAAA;AAClC,CAAC,EAXW,aAAa,6BAAb,aAAa,QAWxB;AAED,IAAY,eAUX;AAVD,WAAY,eAAe;IACvB,2DAAW,CAAA;IACX,+DAAa,CAAA;IACb,6DAAY,CAAA;IACZ,iEAAc,CAAA;IACd,qEAAgB,CAAA;IAChB,mEAAe,CAAA;IACf,iEAAc,CAAA;IACd,qEAAgB,CAAA;IAChB,mEAAe,CAAA;AACnB,CAAC,EAVW,eAAe,+BAAf,eAAe,QAU1B;AAED,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAChC,6EAAW,CAAA;IACX,yEAAS,CAAA;AACb,CAAC,EAHW,wBAAwB,wCAAxB,wBAAwB,QAGnC;AAED,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC7B,qEAAU,CAAA;IACV,mEAAS,CAAA;IACT,uEAAW,CAAA;IACX,+DAAO,CAAA;IACP,mEAAS,CAAA;AACb,CAAC,EANW,qBAAqB,qCAArB,qBAAqB,QAMhC;AAED,IAAY,wBAQX;AARD,WAAY,wBAAwB;IAChC,uEAAQ,CAAA;IACR,uEAAQ,CAAA;IACR,uEAAQ,CAAA;IACR,qFAAe,CAAA;IACf,6EAAW,CAAA;IACX,+EAAY,CAAA;IACZ,oGAAuB,CAAA;AAC3B,CAAC,EARW,wBAAwB,wCAAxB,wBAAwB,QAQnC;AAED,IAAY,+BAKX;AALD,WAAY,+BAA+B;IACvC,qFAAQ,CAAA;IACR,2FAAW,CAAA;IACX,6FAAY,CAAA;IACZ,iHAAsB,CAAA;AAC1B,CAAC,EALW,+BAA+B,+CAA/B,+BAA+B,QAK1C;AAED,IAAY,uBAMX;AAND,WAAY,uBAAuB;IAC/B,yEAAU,CAAA;IACV,qEAAQ,CAAA;IACR,uEAAS,CAAA;IACT,+EAAa,CAAA;IACb,iFAAc,CAAA;AAClB,CAAC,EANW,uBAAuB,uCAAvB,uBAAuB,QAMlC;AAED,IAAY,8BAIX;AAJD,WAAY,8BAA8B;IACtC,uFAAU,CAAA;IACV,uFAAU,CAAA;IACV,iFAAO,CAAA;AACX,CAAC,EAJW,8BAA8B,8CAA9B,8BAA8B,QAIzC"}
@@ -1,44 +0,0 @@
1
- export declare enum HatchSolidFill {
2
- PatternFill = 0,
3
- SolidFill = 1
4
- }
5
- export declare enum HatchAssociativity {
6
- NonAssociative = 0,// For MPolygon LacksSolidFill
7
- Associative = 1
8
- }
9
- export declare enum HatchStyle {
10
- Normal = 0,// Odd parity area
11
- Outer = 1,// Outermost area
12
- Ignore = 2
13
- }
14
- export declare enum HatchPatternType {
15
- UserDefined = 0,
16
- Predefined = 1,
17
- Custom = 2
18
- }
19
- export declare enum HatchBoundaryAnnotation {
20
- NotAnnotated = 0,
21
- Annotated = 1
22
- }
23
- export declare enum HatchGradientFlag {
24
- Solid = 0,
25
- Gradient = 1
26
- }
27
- export declare enum HatchGradientColorFlag {
28
- TwoColor = 0,
29
- OneColor = 1
30
- }
31
- export declare enum BoundaryPathTypeFlag {
32
- Default = 0,
33
- External = 1,
34
- Polyline = 2,
35
- Derived = 4,
36
- Textbox = 8,
37
- Outermost = 16
38
- }
39
- export declare enum BoundaryPathEdgeType {
40
- Line = 1,
41
- Circular = 2,
42
- Elliptic = 3,
43
- Spline = 4
44
- }
@@ -1,57 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BoundaryPathEdgeType = exports.BoundaryPathTypeFlag = exports.HatchGradientColorFlag = exports.HatchGradientFlag = exports.HatchBoundaryAnnotation = exports.HatchPatternType = exports.HatchStyle = exports.HatchAssociativity = exports.HatchSolidFill = void 0;
4
- var HatchSolidFill;
5
- (function (HatchSolidFill) {
6
- HatchSolidFill[HatchSolidFill["PatternFill"] = 0] = "PatternFill";
7
- HatchSolidFill[HatchSolidFill["SolidFill"] = 1] = "SolidFill";
8
- })(HatchSolidFill || (exports.HatchSolidFill = HatchSolidFill = {}));
9
- var HatchAssociativity;
10
- (function (HatchAssociativity) {
11
- HatchAssociativity[HatchAssociativity["NonAssociative"] = 0] = "NonAssociative";
12
- HatchAssociativity[HatchAssociativity["Associative"] = 1] = "Associative";
13
- })(HatchAssociativity || (exports.HatchAssociativity = HatchAssociativity = {}));
14
- var HatchStyle;
15
- (function (HatchStyle) {
16
- HatchStyle[HatchStyle["Normal"] = 0] = "Normal";
17
- HatchStyle[HatchStyle["Outer"] = 1] = "Outer";
18
- HatchStyle[HatchStyle["Ignore"] = 2] = "Ignore";
19
- })(HatchStyle || (exports.HatchStyle = HatchStyle = {}));
20
- var HatchPatternType;
21
- (function (HatchPatternType) {
22
- HatchPatternType[HatchPatternType["UserDefined"] = 0] = "UserDefined";
23
- HatchPatternType[HatchPatternType["Predefined"] = 1] = "Predefined";
24
- HatchPatternType[HatchPatternType["Custom"] = 2] = "Custom";
25
- })(HatchPatternType || (exports.HatchPatternType = HatchPatternType = {}));
26
- var HatchBoundaryAnnotation;
27
- (function (HatchBoundaryAnnotation) {
28
- HatchBoundaryAnnotation[HatchBoundaryAnnotation["NotAnnotated"] = 0] = "NotAnnotated";
29
- HatchBoundaryAnnotation[HatchBoundaryAnnotation["Annotated"] = 1] = "Annotated";
30
- })(HatchBoundaryAnnotation || (exports.HatchBoundaryAnnotation = HatchBoundaryAnnotation = {}));
31
- var HatchGradientFlag;
32
- (function (HatchGradientFlag) {
33
- HatchGradientFlag[HatchGradientFlag["Solid"] = 0] = "Solid";
34
- HatchGradientFlag[HatchGradientFlag["Gradient"] = 1] = "Gradient";
35
- })(HatchGradientFlag || (exports.HatchGradientFlag = HatchGradientFlag = {}));
36
- var HatchGradientColorFlag;
37
- (function (HatchGradientColorFlag) {
38
- HatchGradientColorFlag[HatchGradientColorFlag["TwoColor"] = 0] = "TwoColor";
39
- HatchGradientColorFlag[HatchGradientColorFlag["OneColor"] = 1] = "OneColor";
40
- })(HatchGradientColorFlag || (exports.HatchGradientColorFlag = HatchGradientColorFlag = {}));
41
- var BoundaryPathTypeFlag;
42
- (function (BoundaryPathTypeFlag) {
43
- BoundaryPathTypeFlag[BoundaryPathTypeFlag["Default"] = 0] = "Default";
44
- BoundaryPathTypeFlag[BoundaryPathTypeFlag["External"] = 1] = "External";
45
- BoundaryPathTypeFlag[BoundaryPathTypeFlag["Polyline"] = 2] = "Polyline";
46
- BoundaryPathTypeFlag[BoundaryPathTypeFlag["Derived"] = 4] = "Derived";
47
- BoundaryPathTypeFlag[BoundaryPathTypeFlag["Textbox"] = 8] = "Textbox";
48
- BoundaryPathTypeFlag[BoundaryPathTypeFlag["Outermost"] = 16] = "Outermost";
49
- })(BoundaryPathTypeFlag || (exports.BoundaryPathTypeFlag = BoundaryPathTypeFlag = {}));
50
- var BoundaryPathEdgeType;
51
- (function (BoundaryPathEdgeType) {
52
- BoundaryPathEdgeType[BoundaryPathEdgeType["Line"] = 1] = "Line";
53
- BoundaryPathEdgeType[BoundaryPathEdgeType["Circular"] = 2] = "Circular";
54
- BoundaryPathEdgeType[BoundaryPathEdgeType["Elliptic"] = 3] = "Elliptic";
55
- BoundaryPathEdgeType[BoundaryPathEdgeType["Spline"] = 4] = "Spline";
56
- })(BoundaryPathEdgeType || (exports.BoundaryPathEdgeType = BoundaryPathEdgeType = {}));
57
- //# sourceMappingURL=hatch.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hatch.js","sourceRoot":"","sources":["../../src/consts/hatch.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAGX;AAHD,WAAY,cAAc;IACtB,iEAAe,CAAA;IACf,6DAAa,CAAA;AACjB,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC1B,+EAAkB,CAAA;IAClB,yEAAe,CAAA;AACnB,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B;AAED,IAAY,UAIX;AAJD,WAAY,UAAU;IAClB,+CAAU,CAAA;IACV,6CAAS,CAAA;IACT,+CAAU,CAAA;AACd,CAAC,EAJW,UAAU,0BAAV,UAAU,QAIrB;AAED,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IACxB,qEAAe,CAAA;IACf,mEAAc,CAAA;IACd,2DAAU,CAAA;AACd,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAED,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IAC/B,qFAAgB,CAAA;IAChB,+EAAa,CAAA;AACjB,CAAC,EAHW,uBAAuB,uCAAvB,uBAAuB,QAGlC;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IACzB,2DAAS,CAAA;IACT,iEAAY,CAAA;AAChB,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B;AAED,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAC9B,2EAAY,CAAA;IACZ,2EAAY,CAAA;AAChB,CAAC,EAHW,sBAAsB,sCAAtB,sBAAsB,QAGjC;AAED,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC5B,qEAAW,CAAA;IACX,uEAAY,CAAA;IACZ,uEAAY,CAAA;IACZ,qEAAW,CAAA;IACX,qEAAW,CAAA;IACX,0EAAc,CAAA;AAClB,CAAC,EAPW,oBAAoB,oCAApB,oBAAoB,QAO/B;AAED,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC5B,+DAAQ,CAAA;IACR,uEAAY,CAAA;IACZ,uEAAY,CAAA;IACZ,mEAAU,CAAA;AACd,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B"}
@@ -1,9 +0,0 @@
1
- import { ObscuredLineTypes } from './obscuredLineTypes';
2
- export declare const DefaultDxfHeaderVariables: {
3
- DRAGVS: string;
4
- INTERFERECOLOR: number;
5
- INTERFEREOBJVS: string;
6
- INTERFEREVPVS: string;
7
- OBSLTYPE: ObscuredLineTypes;
8
- SHADEDIF: number;
9
- };
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DefaultDxfHeaderVariables = void 0;
4
- const obscuredLineTypes_1 = require("./obscuredLineTypes");
5
- exports.DefaultDxfHeaderVariables = {
6
- DRAGVS: 'NULL',
7
- INTERFERECOLOR: 1,
8
- INTERFEREOBJVS: 'Conceptual',
9
- INTERFEREVPVS: '3d Wireframe',
10
- OBSLTYPE: obscuredLineTypes_1.ObscuredLineTypes.Off,
11
- SHADEDIF: 70,
12
- };
13
- //# sourceMappingURL=header.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"header.js","sourceRoot":"","sources":["../../src/consts/header.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAE3C,QAAA,yBAAyB,GAAG;IACrC,MAAM,EAAE,MAAM;IACd,cAAc,EAAE,CAAC;IACjB,cAAc,EAAE,YAAY;IAC5B,aAAa,EAAE,cAAc;IAC7B,QAAQ,EAAE,qCAAiB,CAAC,GAAG;IAC/B,QAAQ,EAAE,EAAE;CACf,CAAC"}
@@ -1,9 +0,0 @@
1
- export * from './color';
2
- export * from './config';
3
- export * from './dimension';
4
- export * from './hatch';
5
- export * from './measurement';
6
- export * from './obscuredLineTypes';
7
- export * from './lineweight';
8
- export * from './scene';
9
- export * from './viewport';
@@ -1,26 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./color"), exports);
18
- __exportStar(require("./config"), exports);
19
- __exportStar(require("./dimension"), exports);
20
- __exportStar(require("./hatch"), exports);
21
- __exportStar(require("./measurement"), exports);
22
- __exportStar(require("./obscuredLineTypes"), exports);
23
- __exportStar(require("./lineweight"), exports);
24
- __exportStar(require("./scene"), exports);
25
- __exportStar(require("./viewport"), exports);
26
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB;AACzB,8CAA4B;AAC5B,0CAAwB;AACxB,gDAA8B;AAC9B,sDAAoC;AACpC,+CAA6B;AAC7B,0CAAwB;AACxB,6CAA2B"}
@@ -1,5 +0,0 @@
1
- export declare enum ReservedLineweight {
2
- Standard = -3,
3
- ByLayer = -2,
4
- ByBlock = -1
5
- }
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ReservedLineweight = void 0;
4
- var ReservedLineweight;
5
- (function (ReservedLineweight) {
6
- ReservedLineweight[ReservedLineweight["Standard"] = -3] = "Standard";
7
- ReservedLineweight[ReservedLineweight["ByLayer"] = -2] = "ByLayer";
8
- ReservedLineweight[ReservedLineweight["ByBlock"] = -1] = "ByBlock";
9
- })(ReservedLineweight || (exports.ReservedLineweight = ReservedLineweight = {}));
10
- //# sourceMappingURL=lineweight.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lineweight.js","sourceRoot":"","sources":["../../src/consts/lineweight.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,oEAAa,CAAA;IACb,kEAAY,CAAA;IACZ,kEAAY,CAAA;AAChB,CAAC,EAJW,kBAAkB,kCAAlB,kBAAkB,QAI7B"}
@@ -1,4 +0,0 @@
1
- export declare enum Measurement {
2
- English = 0,
3
- Metric = 1
4
- }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Measurement = void 0;
4
- var Measurement;
5
- (function (Measurement) {
6
- Measurement[Measurement["English"] = 0] = "English";
7
- Measurement[Measurement["Metric"] = 1] = "Metric";
8
- })(Measurement || (exports.Measurement = Measurement = {}));
9
- //# sourceMappingURL=measurement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"measurement.js","sourceRoot":"","sources":["../../src/consts/measurement.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAGX;AAHD,WAAY,WAAW;IACnB,mDAAW,CAAA;IACX,iDAAU,CAAA;AACd,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB"}
@@ -1,21 +0,0 @@
1
- /**
2
- * Specifies the linetype of obscured lines.
3
- * Obscured linetypes are independent of zoom level,
4
- * unlike standard object linetypes.
5
- *
6
- * Value 0 turns off display of obscured lines and is the default
7
- * */
8
- export declare enum ObscuredLineTypes {
9
- Off = 0,
10
- Solid = 1,
11
- Dashed = 2,
12
- Dotted = 3,
13
- ShotDash = 4,
14
- MediumDash = 5,
15
- LongDash = 6,
16
- DoubleShortDash = 7,
17
- DoubleMediumDash = 8,
18
- DoubleLongDash = 9,
19
- DoubleMediumLongDash = 10,
20
- SparseDot = 11
21
- }
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ObscuredLineTypes = void 0;
4
- /**
5
- * Specifies the linetype of obscured lines.
6
- * Obscured linetypes are independent of zoom level,
7
- * unlike standard object linetypes.
8
- *
9
- * Value 0 turns off display of obscured lines and is the default
10
- * */
11
- var ObscuredLineTypes;
12
- (function (ObscuredLineTypes) {
13
- ObscuredLineTypes[ObscuredLineTypes["Off"] = 0] = "Off";
14
- ObscuredLineTypes[ObscuredLineTypes["Solid"] = 1] = "Solid";
15
- ObscuredLineTypes[ObscuredLineTypes["Dashed"] = 2] = "Dashed";
16
- ObscuredLineTypes[ObscuredLineTypes["Dotted"] = 3] = "Dotted";
17
- ObscuredLineTypes[ObscuredLineTypes["ShotDash"] = 4] = "ShotDash";
18
- ObscuredLineTypes[ObscuredLineTypes["MediumDash"] = 5] = "MediumDash";
19
- ObscuredLineTypes[ObscuredLineTypes["LongDash"] = 6] = "LongDash";
20
- ObscuredLineTypes[ObscuredLineTypes["DoubleShortDash"] = 7] = "DoubleShortDash";
21
- ObscuredLineTypes[ObscuredLineTypes["DoubleMediumDash"] = 8] = "DoubleMediumDash";
22
- ObscuredLineTypes[ObscuredLineTypes["DoubleLongDash"] = 9] = "DoubleLongDash";
23
- ObscuredLineTypes[ObscuredLineTypes["DoubleMediumLongDash"] = 10] = "DoubleMediumLongDash";
24
- ObscuredLineTypes[ObscuredLineTypes["SparseDot"] = 11] = "SparseDot";
25
- })(ObscuredLineTypes || (exports.ObscuredLineTypes = ObscuredLineTypes = {}));
26
- //# sourceMappingURL=obscuredLineTypes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"obscuredLineTypes.js","sourceRoot":"","sources":["../../src/consts/obscuredLineTypes.ts"],"names":[],"mappings":";;;AAAA;;;;;;KAMK;AACL,IAAY,iBAaX;AAbD,WAAY,iBAAiB;IACzB,uDAAO,CAAA;IACP,2DAAS,CAAA;IACT,6DAAU,CAAA;IACV,6DAAU,CAAA;IACV,iEAAY,CAAA;IACZ,qEAAc,CAAA;IACd,iEAAY,CAAA;IACZ,+EAAmB,CAAA;IACnB,iFAAoB,CAAA;IACpB,6EAAkB,CAAA;IAClB,0FAAyB,CAAA;IACzB,oEAAc,CAAA;AAClB,CAAC,EAbW,iBAAiB,iCAAjB,iBAAiB,QAa5B"}
@@ -1,2 +0,0 @@
1
- /** Use 16-bit indices for indexed geometry. */
2
- export declare const INDEXED_CHUNK_SIZE = 65536;
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.INDEXED_CHUNK_SIZE = void 0;
4
- /** Use 16-bit indices for indexed geometry. */
5
- exports.INDEXED_CHUNK_SIZE = 0x10000;
6
- //# sourceMappingURL=scene.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scene.js","sourceRoot":"","sources":["../../src/consts/scene.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAClC,QAAA,kBAAkB,GAAG,OAAO,CAAC"}
@@ -1,56 +0,0 @@
1
- export declare enum ViewportStatusFlag {
2
- PERSPECTIVE_MODE = 1,
3
- FRONT_CLIPPING = 2,
4
- BACK_CLIPPING = 4,
5
- UCS_FOLLOW = 8,
6
- FRONT_CLIP_NOT_AT_EYE = 16,
7
- UCS_ICON_VISIBILITY = 32,
8
- UCS_ICON_AT_ORIGIN = 64,
9
- FAST_ZOOM = 128,
10
- SNAP_MODE = 256,
11
- GRID_MODE = 512,
12
- ISOMETRIC_SNAP_STYLE = 1024,
13
- HIDE_PLOT_MODE = 2048,
14
- K_ISO_PAIR_TOP = 4096,
15
- K_ISO_PAIR_RIGHT = 8192,
16
- VIEWPORT_ZOOM_LOCKING = 16384,
17
- UNUSED = 32768,
18
- NON_RECTANGULAR_CLIPPING = 65536,
19
- VIEWPORT_OFF = 131072,
20
- GRID_BEYOND_DRAWING_LIMITS = 262144,
21
- ADAPTIVE_GRID_DISPLAY = 524288,
22
- SUBDIVISION_BELOW_SPACING = 1048576,
23
- GRID_FOLLOWS_WORKPLANE = 2097152
24
- }
25
- export declare enum RenderMode {
26
- OPTIMIZED_2D = 0,// classic 2D
27
- WIREFRAME = 1,
28
- HIDDEN_LINE = 2,
29
- FLAT_SHADED = 3,
30
- GOURAUD_SHADED = 4,
31
- FLAT_SHADED_WITH_WIREFRAME = 5,
32
- GOURAUD_SHADED_WITH_WIREFRAME = 6
33
- }
34
- export declare enum UCSPerViewport {
35
- UCS_UNCHANGED = 0,
36
- HAS_OWN_UCS = 1
37
- }
38
- export declare enum OrthographicType {
39
- NON_ORTHOGRAPHIC = 0,
40
- TOP = 1,
41
- BOTTOM = 2,
42
- FRONT = 3,
43
- BACK = 4,
44
- LEFT = 5,
45
- RIGHT = 6
46
- }
47
- export declare enum ShadePlotMode {
48
- AS_DISPLAYED = 0,
49
- WIREFRAME = 1,
50
- HIDDEN = 2,
51
- RENDERED = 3
52
- }
53
- export declare enum DefaultLightingType {
54
- ONE_DISTANT_LIGHT = 0,
55
- TWO_DISTANT_LIGHTS = 1
56
- }