dxf-json 0.0.9 → 0.0.14

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 (467) hide show
  1. package/package.json +3 -4
  2. package/src/index.ts +1 -1
  3. package/src/parser/DxfParser.ts +2 -1
  4. package/dist/consts/block.d.ts +0 -10
  5. package/dist/consts/block.js +0 -22
  6. package/dist/consts/block.js.map +0 -1
  7. package/dist/consts/color.d.ts +0 -5
  8. package/dist/consts/color.js +0 -10
  9. package/dist/consts/color.js.map +0 -1
  10. package/dist/consts/config.d.ts +0 -2
  11. package/dist/consts/config.js +0 -6
  12. package/dist/consts/config.js.map +0 -1
  13. package/dist/consts/dimension.d.ts +0 -61
  14. package/dist/consts/dimension.js +0 -74
  15. package/dist/consts/dimension.js.map +0 -1
  16. package/dist/consts/hatch.d.ts +0 -44
  17. package/dist/consts/hatch.js +0 -57
  18. package/dist/consts/hatch.js.map +0 -1
  19. package/dist/consts/header.d.ts +0 -9
  20. package/dist/consts/header.js +0 -13
  21. package/dist/consts/header.js.map +0 -1
  22. package/dist/consts/index.d.ts +0 -9
  23. package/dist/consts/index.js +0 -26
  24. package/dist/consts/index.js.map +0 -1
  25. package/dist/consts/lineweight.d.ts +0 -5
  26. package/dist/consts/lineweight.js +0 -10
  27. package/dist/consts/lineweight.js.map +0 -1
  28. package/dist/consts/measurement.d.ts +0 -4
  29. package/dist/consts/measurement.js +0 -9
  30. package/dist/consts/measurement.js.map +0 -1
  31. package/dist/consts/obscuredLineTypes.d.ts +0 -21
  32. package/dist/consts/obscuredLineTypes.js +0 -26
  33. package/dist/consts/obscuredLineTypes.js.map +0 -1
  34. package/dist/consts/scene.d.ts +0 -2
  35. package/dist/consts/scene.js +0 -6
  36. package/dist/consts/scene.js.map +0 -1
  37. package/dist/consts/viewport.d.ts +0 -56
  38. package/dist/consts/viewport.js +0 -67
  39. package/dist/consts/viewport.js.map +0 -1
  40. package/dist/index.d.ts +0 -2
  41. package/dist/index.js +0 -9
  42. package/dist/index.js.map +0 -1
  43. package/dist/parser/AutoCadColorIndex.d.ts +0 -8
  44. package/dist/parser/AutoCadColorIndex.js +0 -267
  45. package/dist/parser/AutoCadColorIndex.js.map +0 -1
  46. package/dist/parser/DxfArrayScanner.d.ts +0 -38
  47. package/dist/parser/DxfArrayScanner.js +0 -159
  48. package/dist/parser/DxfArrayScanner.js.map +0 -1
  49. package/dist/parser/DxfParser.d.ts +0 -9
  50. package/dist/parser/DxfParser.js +0 -108
  51. package/dist/parser/DxfParser.js.map +0 -1
  52. package/dist/parser/ParseHelpers.d.ts +0 -21
  53. package/dist/parser/ParseHelpers.js +0 -129
  54. package/dist/parser/ParseHelpers.js.map +0 -1
  55. package/dist/parser/blocks/blocks.test.d.ts +0 -1
  56. package/dist/parser/blocks/blocks.test.js +0 -86
  57. package/dist/parser/blocks/blocks.test.js.map +0 -1
  58. package/dist/parser/blocks/index.d.ts +0 -4
  59. package/dist/parser/blocks/index.js +0 -83
  60. package/dist/parser/blocks/index.js.map +0 -1
  61. package/dist/parser/blocks/types.d.ts +0 -14
  62. package/dist/parser/blocks/types.js +0 -3
  63. package/dist/parser/blocks/types.js.map +0 -1
  64. package/dist/parser/entities/3dface.js +0 -106
  65. package/dist/parser/entities/3dface.js.map +0 -1
  66. package/dist/parser/entities/arc/index.d.ts +0 -2
  67. package/dist/parser/entities/arc/index.js +0 -19
  68. package/dist/parser/entities/arc/index.js.map +0 -1
  69. package/dist/parser/entities/arc/parser.d.ts +0 -7
  70. package/dist/parser/entities/arc/parser.js +0 -63
  71. package/dist/parser/entities/arc/parser.js.map +0 -1
  72. package/dist/parser/entities/arc/types.d.ts +0 -12
  73. package/dist/parser/entities/arc/types.js +0 -3
  74. package/dist/parser/entities/arc/types.js.map +0 -1
  75. package/dist/parser/entities/attdef/consts.d.ts +0 -11
  76. package/dist/parser/entities/attdef/consts.js +0 -17
  77. package/dist/parser/entities/attdef/consts.js.map +0 -1
  78. package/dist/parser/entities/attdef/index.d.ts +0 -3
  79. package/dist/parser/entities/attdef/index.js +0 -20
  80. package/dist/parser/entities/attdef/index.js.map +0 -1
  81. package/dist/parser/entities/attdef/parser.d.ts +0 -8
  82. package/dist/parser/entities/attdef/parser.js +0 -108
  83. package/dist/parser/entities/attdef/parser.js.map +0 -1
  84. package/dist/parser/entities/attdef/types.d.ts +0 -17
  85. package/dist/parser/entities/attdef/types.js +0 -3
  86. package/dist/parser/entities/attdef/types.js.map +0 -1
  87. package/dist/parser/entities/attribute/consts.d.ts +0 -6
  88. package/dist/parser/entities/attribute/consts.js +0 -11
  89. package/dist/parser/entities/attribute/consts.js.map +0 -1
  90. package/dist/parser/entities/attribute/index.d.ts +0 -3
  91. package/dist/parser/entities/attribute/index.js +0 -20
  92. package/dist/parser/entities/attribute/index.js.map +0 -1
  93. package/dist/parser/entities/attribute/parser.d.ts +0 -8
  94. package/dist/parser/entities/attribute/parser.js +0 -185
  95. package/dist/parser/entities/attribute/parser.js.map +0 -1
  96. package/dist/parser/entities/attribute/types.d.ts +0 -30
  97. package/dist/parser/entities/attribute/types.js +0 -3
  98. package/dist/parser/entities/attribute/types.js.map +0 -1
  99. package/dist/parser/entities/circle/index.d.ts +0 -2
  100. package/dist/parser/entities/circle/index.js +0 -19
  101. package/dist/parser/entities/circle/index.js.map +0 -1
  102. package/dist/parser/entities/circle/parser.d.ts +0 -8
  103. package/dist/parser/entities/circle/parser.js +0 -50
  104. package/dist/parser/entities/circle/parser.js.map +0 -1
  105. package/dist/parser/entities/circle/types.d.ts +0 -10
  106. package/dist/parser/entities/circle/types.js +0 -3
  107. package/dist/parser/entities/circle/types.js.map +0 -1
  108. package/dist/parser/entities/dimension/common.d.ts +0 -6
  109. package/dist/parser/entities/dimension/common.js +0 -122
  110. package/dist/parser/entities/dimension/common.js.map +0 -1
  111. package/dist/parser/entities/dimension/index.d.ts +0 -6
  112. package/dist/parser/entities/dimension/index.js +0 -21
  113. package/dist/parser/entities/dimension/index.js.map +0 -1
  114. package/dist/parser/entities/dimension/types.d.ts +0 -48
  115. package/dist/parser/entities/dimension/types.js +0 -3
  116. package/dist/parser/entities/dimension/types.js.map +0 -1
  117. package/dist/parser/entities/ellipse/index.d.ts +0 -2
  118. package/dist/parser/entities/ellipse/index.js +0 -19
  119. package/dist/parser/entities/ellipse/index.js.map +0 -1
  120. package/dist/parser/entities/ellipse/parser.d.ts +0 -7
  121. package/dist/parser/entities/ellipse/parser.js +0 -59
  122. package/dist/parser/entities/ellipse/parser.js.map +0 -1
  123. package/dist/parser/entities/ellipse/types.d.ts +0 -12
  124. package/dist/parser/entities/ellipse/types.js +0 -3
  125. package/dist/parser/entities/ellipse/types.js.map +0 -1
  126. package/dist/parser/entities/entities.test.d.ts +0 -1
  127. package/dist/parser/entities/entities.test.js +0 -81
  128. package/dist/parser/entities/entities.test.js.map +0 -1
  129. package/dist/parser/entities/hatch/boundaryPathData/edge.d.ts +0 -6
  130. package/dist/parser/entities/hatch/boundaryPathData/edge.js +0 -178
  131. package/dist/parser/entities/hatch/boundaryPathData/edge.js.map +0 -1
  132. package/dist/parser/entities/hatch/boundaryPathData/index.d.ts +0 -5
  133. package/dist/parser/entities/hatch/boundaryPathData/index.js +0 -23
  134. package/dist/parser/entities/hatch/boundaryPathData/index.js.map +0 -1
  135. package/dist/parser/entities/hatch/boundaryPathData/polyline.d.ts +0 -2
  136. package/dist/parser/entities/hatch/boundaryPathData/polyline.js +0 -41
  137. package/dist/parser/entities/hatch/boundaryPathData/polyline.js.map +0 -1
  138. package/dist/parser/entities/hatch/boundaryPathData/shared.d.ts +0 -2
  139. package/dist/parser/entities/hatch/boundaryPathData/shared.js +0 -19
  140. package/dist/parser/entities/hatch/boundaryPathData/shared.js.map +0 -1
  141. package/dist/parser/entities/hatch/index.d.ts +0 -8
  142. package/dist/parser/entities/hatch/index.js +0 -183
  143. package/dist/parser/entities/hatch/index.js.map +0 -1
  144. package/dist/parser/entities/hatch/patternData.d.ts +0 -3
  145. package/dist/parser/entities/hatch/patternData.js +0 -54
  146. package/dist/parser/entities/hatch/patternData.js.map +0 -1
  147. package/dist/parser/entities/hatch/types/boundaryPath.d.ts +0 -59
  148. package/dist/parser/entities/hatch/types/boundaryPath.js +0 -3
  149. package/dist/parser/entities/hatch/types/boundaryPath.js.map +0 -1
  150. package/dist/parser/entities/hatch/types/definitionLine.d.ts +0 -8
  151. package/dist/parser/entities/hatch/types/definitionLine.js +0 -3
  152. package/dist/parser/entities/hatch/types/definitionLine.js.map +0 -1
  153. package/dist/parser/entities/hatch/types/hatch.d.ts +0 -38
  154. package/dist/parser/entities/hatch/types/hatch.js +0 -3
  155. package/dist/parser/entities/hatch/types/hatch.js.map +0 -1
  156. package/dist/parser/entities/hatch/types/index.d.ts +0 -3
  157. package/dist/parser/entities/hatch/types/index.js +0 -20
  158. package/dist/parser/entities/hatch/types/index.js.map +0 -1
  159. package/dist/parser/entities/index.d.ts +0 -8
  160. package/dist/parser/entities/index.js +0 -81
  161. package/dist/parser/entities/index.js.map +0 -1
  162. package/dist/parser/entities/insert/index.d.ts +0 -2
  163. package/dist/parser/entities/insert/index.js +0 -19
  164. package/dist/parser/entities/insert/index.js.map +0 -1
  165. package/dist/parser/entities/insert/parser.d.ts +0 -8
  166. package/dist/parser/entities/insert/parser.js +0 -97
  167. package/dist/parser/entities/insert/parser.js.map +0 -1
  168. package/dist/parser/entities/insert/types.d.ts +0 -18
  169. package/dist/parser/entities/insert/types.js +0 -3
  170. package/dist/parser/entities/insert/types.js.map +0 -1
  171. package/dist/parser/entities/leader/consts.d.ts +0 -6
  172. package/dist/parser/entities/leader/consts.js +0 -11
  173. package/dist/parser/entities/leader/consts.js.map +0 -1
  174. package/dist/parser/entities/leader/index.d.ts +0 -3
  175. package/dist/parser/entities/leader/index.js +0 -20
  176. package/dist/parser/entities/leader/index.js.map +0 -1
  177. package/dist/parser/entities/leader/parser.d.ts +0 -8
  178. package/dist/parser/entities/leader/parser.js +0 -110
  179. package/dist/parser/entities/leader/parser.js.map +0 -1
  180. package/dist/parser/entities/leader/types.d.ts +0 -23
  181. package/dist/parser/entities/leader/types.js +0 -3
  182. package/dist/parser/entities/leader/types.js.map +0 -1
  183. package/dist/parser/entities/line/index.d.ts +0 -2
  184. package/dist/parser/entities/line/index.js +0 -19
  185. package/dist/parser/entities/line/index.js.map +0 -1
  186. package/dist/parser/entities/line/parser.d.ts +0 -8
  187. package/dist/parser/entities/line/parser.js +0 -50
  188. package/dist/parser/entities/line/parser.js.map +0 -1
  189. package/dist/parser/entities/line/types.d.ts +0 -10
  190. package/dist/parser/entities/line/types.js +0 -3
  191. package/dist/parser/entities/line/types.js.map +0 -1
  192. package/dist/parser/entities/lwpolyline/consts.d.ts +0 -4
  193. package/dist/parser/entities/lwpolyline/consts.js +0 -9
  194. package/dist/parser/entities/lwpolyline/consts.js.map +0 -1
  195. package/dist/parser/entities/lwpolyline/index.d.ts +0 -3
  196. package/dist/parser/entities/lwpolyline/index.js +0 -20
  197. package/dist/parser/entities/lwpolyline/index.js.map +0 -1
  198. package/dist/parser/entities/lwpolyline/parser.d.ts +0 -7
  199. package/dist/parser/entities/lwpolyline/parser.js +0 -105
  200. package/dist/parser/entities/lwpolyline/parser.js.map +0 -1
  201. package/dist/parser/entities/lwpolyline/types.d.ts +0 -19
  202. package/dist/parser/entities/lwpolyline/types.js +0 -3
  203. package/dist/parser/entities/lwpolyline/types.js.map +0 -1
  204. package/dist/parser/entities/mtext/consts.d.ts +0 -5
  205. package/dist/parser/entities/mtext/consts.js +0 -10
  206. package/dist/parser/entities/mtext/consts.js.map +0 -1
  207. package/dist/parser/entities/mtext/index.d.ts +0 -3
  208. package/dist/parser/entities/mtext/index.js +0 -20
  209. package/dist/parser/entities/mtext/index.js.map +0 -1
  210. package/dist/parser/entities/mtext/parser.d.ts +0 -10
  211. package/dist/parser/entities/mtext/parser.js +0 -188
  212. package/dist/parser/entities/mtext/parser.js.map +0 -1
  213. package/dist/parser/entities/mtext/types.d.ts +0 -33
  214. package/dist/parser/entities/mtext/types.js +0 -3
  215. package/dist/parser/entities/mtext/types.js.map +0 -1
  216. package/dist/parser/entities/point/index.d.ts +0 -2
  217. package/dist/parser/entities/point/index.js +0 -19
  218. package/dist/parser/entities/point/index.js.map +0 -1
  219. package/dist/parser/entities/point/parser.d.ts +0 -6
  220. package/dist/parser/entities/point/parser.js +0 -54
  221. package/dist/parser/entities/point/parser.js.map +0 -1
  222. package/dist/parser/entities/point/types.d.ts +0 -9
  223. package/dist/parser/entities/point/types.js +0 -3
  224. package/dist/parser/entities/point/types.js.map +0 -1
  225. package/dist/parser/entities/polyline/consts.d.ts +0 -16
  226. package/dist/parser/entities/polyline/consts.js +0 -22
  227. package/dist/parser/entities/polyline/consts.js.map +0 -1
  228. package/dist/parser/entities/polyline/index.d.ts +0 -3
  229. package/dist/parser/entities/polyline/index.js +0 -20
  230. package/dist/parser/entities/polyline/index.js.map +0 -1
  231. package/dist/parser/entities/polyline/parser.d.ts +0 -7
  232. package/dist/parser/entities/polyline/parser.js +0 -118
  233. package/dist/parser/entities/polyline/parser.js.map +0 -1
  234. package/dist/parser/entities/polyline/types.d.ts +0 -19
  235. package/dist/parser/entities/polyline/types.js +0 -3
  236. package/dist/parser/entities/polyline/types.js.map +0 -1
  237. package/dist/parser/entities/section/index.d.ts +0 -2
  238. package/dist/parser/entities/section/index.js +0 -19
  239. package/dist/parser/entities/section/index.js.map +0 -1
  240. package/dist/parser/entities/section/parser.d.ts +0 -7
  241. package/dist/parser/entities/section/parser.js +0 -97
  242. package/dist/parser/entities/section/parser.js.map +0 -1
  243. package/dist/parser/entities/section/types.d.ts +0 -19
  244. package/dist/parser/entities/section/types.js +0 -3
  245. package/dist/parser/entities/section/types.js.map +0 -1
  246. package/dist/parser/entities/shared.d.ts +0 -35
  247. package/dist/parser/entities/shared.js +0 -136
  248. package/dist/parser/entities/shared.js.map +0 -1
  249. package/dist/parser/entities/solid/index.d.ts +0 -2
  250. package/dist/parser/entities/solid/index.js +0 -19
  251. package/dist/parser/entities/solid/index.js.map +0 -1
  252. package/dist/parser/entities/solid/parser.d.ts +0 -8
  253. package/dist/parser/entities/solid/parser.js +0 -48
  254. package/dist/parser/entities/solid/parser.js.map +0 -1
  255. package/dist/parser/entities/solid/types.d.ts +0 -9
  256. package/dist/parser/entities/solid/types.js +0 -3
  257. package/dist/parser/entities/solid/types.js.map +0 -1
  258. package/dist/parser/entities/spline/consts.d.ts +0 -8
  259. package/dist/parser/entities/spline/consts.js +0 -13
  260. package/dist/parser/entities/spline/consts.js.map +0 -1
  261. package/dist/parser/entities/spline/index.d.ts +0 -3
  262. package/dist/parser/entities/spline/index.js +0 -20
  263. package/dist/parser/entities/spline/index.js.map +0 -1
  264. package/dist/parser/entities/spline/parser.d.ts +0 -8
  265. package/dist/parser/entities/spline/parser.js +0 -113
  266. package/dist/parser/entities/spline/parser.js.map +0 -1
  267. package/dist/parser/entities/spline/types.d.ts +0 -21
  268. package/dist/parser/entities/spline/types.js +0 -3
  269. package/dist/parser/entities/spline/types.js.map +0 -1
  270. package/dist/parser/entities/text/consts.d.ts +0 -19
  271. package/dist/parser/entities/text/consts.js +0 -26
  272. package/dist/parser/entities/text/consts.js.map +0 -1
  273. package/dist/parser/entities/text/index.d.ts +0 -3
  274. package/dist/parser/entities/text/index.js +0 -20
  275. package/dist/parser/entities/text/index.js.map +0 -1
  276. package/dist/parser/entities/text/parser.d.ts +0 -26
  277. package/dist/parser/entities/text/parser.js +0 -112
  278. package/dist/parser/entities/text/parser.js.map +0 -1
  279. package/dist/parser/entities/text/types.d.ts +0 -20
  280. package/dist/parser/entities/text/types.js +0 -3
  281. package/dist/parser/entities/text/types.js.map +0 -1
  282. package/dist/parser/entities/vertex/consts.d.ts +0 -10
  283. package/dist/parser/entities/vertex/consts.js +0 -15
  284. package/dist/parser/entities/vertex/consts.js.map +0 -1
  285. package/dist/parser/entities/vertex/index.d.ts +0 -3
  286. package/dist/parser/entities/vertex/index.js +0 -20
  287. package/dist/parser/entities/vertex/index.js.map +0 -1
  288. package/dist/parser/entities/vertex/parser.d.ts +0 -8
  289. package/dist/parser/entities/vertex/parser.js +0 -86
  290. package/dist/parser/entities/vertex/parser.js.map +0 -1
  291. package/dist/parser/entities/vertex/types.d.ts +0 -16
  292. package/dist/parser/entities/vertex/types.js +0 -3
  293. package/dist/parser/entities/vertex/types.js.map +0 -1
  294. package/dist/parser/entities/viewport/index.d.ts +0 -5
  295. package/dist/parser/entities/viewport/index.js +0 -195
  296. package/dist/parser/entities/viewport/index.js.map +0 -1
  297. package/dist/parser/entities/viewport/types.d.ts +0 -51
  298. package/dist/parser/entities/viewport/types.js +0 -3
  299. package/dist/parser/entities/viewport/types.js.map +0 -1
  300. package/dist/parser/filterDummyBlocks.d.ts +0 -2
  301. package/dist/parser/filterDummyBlocks.js +0 -37
  302. package/dist/parser/filterDummyBlocks.js.map +0 -1
  303. package/dist/parser/header/index.d.ts +0 -3
  304. package/dist/parser/header/index.js +0 -32
  305. package/dist/parser/header/index.js.map +0 -1
  306. package/dist/parser/objects/common.d.ts +0 -8
  307. package/dist/parser/objects/common.js +0 -51
  308. package/dist/parser/objects/common.js.map +0 -1
  309. package/dist/parser/objects/dictionary.d.ts +0 -20
  310. package/dist/parser/objects/dictionary.js +0 -50
  311. package/dist/parser/objects/dictionary.js.map +0 -1
  312. package/dist/parser/objects/index.d.ts +0 -6
  313. package/dist/parser/objects/index.js +0 -43
  314. package/dist/parser/objects/index.js.map +0 -1
  315. package/dist/parser/objects/layout.d.ts +0 -30
  316. package/dist/parser/objects/layout.js +0 -110
  317. package/dist/parser/objects/layout.js.map +0 -1
  318. package/dist/parser/objects/plotSettings.d.ts +0 -64
  319. package/dist/parser/objects/plotSettings.js +0 -198
  320. package/dist/parser/objects/plotSettings.js.map +0 -1
  321. package/dist/parser/objects/treefy.d.ts +0 -2
  322. package/dist/parser/objects/treefy.js +0 -37
  323. package/dist/parser/objects/treefy.js.map +0 -1
  324. package/dist/parser/objects/types.d.ts +0 -15
  325. package/dist/parser/objects/types.js +0 -3
  326. package/dist/parser/objects/types.js.map +0 -1
  327. package/dist/parser/shared/index.d.ts +0 -7
  328. package/dist/parser/shared/index.js +0 -22
  329. package/dist/parser/shared/index.js.map +0 -1
  330. package/dist/parser/shared/parsePoint.d.ts +0 -7
  331. package/dist/parser/shared/parsePoint.js +0 -33
  332. package/dist/parser/shared/parsePoint.js.map +0 -1
  333. package/dist/parser/shared/parserGenerator.d.ts +0 -15
  334. package/dist/parser/shared/parserGenerator.js +0 -114
  335. package/dist/parser/shared/parserGenerator.js.map +0 -1
  336. package/dist/parser/shared/parserGenerator.test.d.ts +0 -1
  337. package/dist/parser/shared/parserGenerator.test.js +0 -153
  338. package/dist/parser/shared/parserGenerator.test.js.map +0 -1
  339. package/dist/parser/shared/xdata/index.d.ts +0 -3
  340. package/dist/parser/shared/xdata/index.js +0 -20
  341. package/dist/parser/shared/xdata/index.js.map +0 -1
  342. package/dist/parser/shared/xdata/interpreter.d.ts +0 -20
  343. package/dist/parser/shared/xdata/interpreter.js +0 -43
  344. package/dist/parser/shared/xdata/interpreter.js.map +0 -1
  345. package/dist/parser/shared/xdata/interpreter.test.d.ts +0 -1
  346. package/dist/parser/shared/xdata/interpreter.test.js +0 -83
  347. package/dist/parser/shared/xdata/interpreter.test.js.map +0 -1
  348. package/dist/parser/shared/xdata/parser.d.ts +0 -6
  349. package/dist/parser/shared/xdata/parser.js +0 -133
  350. package/dist/parser/shared/xdata/parser.js.map +0 -1
  351. package/dist/parser/shared/xdata/parser.test.d.ts +0 -1
  352. package/dist/parser/shared/xdata/parser.test.js +0 -64
  353. package/dist/parser/shared/xdata/parser.test.js.map +0 -1
  354. package/dist/parser/shared/xdata/types.d.ts +0 -9
  355. package/dist/parser/shared/xdata/types.js +0 -3
  356. package/dist/parser/shared/xdata/types.js.map +0 -1
  357. package/dist/parser/tables/blockRecord/index.d.ts +0 -2
  358. package/dist/parser/tables/blockRecord/index.js +0 -19
  359. package/dist/parser/tables/blockRecord/index.js.map +0 -1
  360. package/dist/parser/tables/blockRecord/parser.d.ts +0 -1
  361. package/dist/parser/tables/blockRecord/parser.js +0 -45
  362. package/dist/parser/tables/blockRecord/parser.js.map +0 -1
  363. package/dist/parser/tables/blockRecord/types.d.ts +0 -10
  364. package/dist/parser/tables/blockRecord/types.js +0 -3
  365. package/dist/parser/tables/blockRecord/types.js.map +0 -1
  366. package/dist/parser/tables/dimStyle/consts.d.ts +0 -2
  367. package/dist/parser/tables/dimStyle/consts.js +0 -424
  368. package/dist/parser/tables/dimStyle/consts.js.map +0 -1
  369. package/dist/parser/tables/dimStyle/index.d.ts +0 -3
  370. package/dist/parser/tables/dimStyle/index.js +0 -20
  371. package/dist/parser/tables/dimStyle/index.js.map +0 -1
  372. package/dist/parser/tables/dimStyle/parser.d.ts +0 -1
  373. package/dist/parser/tables/dimStyle/parser.js +0 -35
  374. package/dist/parser/tables/dimStyle/parser.js.map +0 -1
  375. package/dist/parser/tables/dimStyle/types.d.ts +0 -83
  376. package/dist/parser/tables/dimStyle/types.js +0 -3
  377. package/dist/parser/tables/dimStyle/types.js.map +0 -1
  378. package/dist/parser/tables/index.d.ts +0 -2
  379. package/dist/parser/tables/index.js +0 -19
  380. package/dist/parser/tables/index.js.map +0 -1
  381. package/dist/parser/tables/layer/index.d.ts +0 -2
  382. package/dist/parser/tables/layer/index.js +0 -19
  383. package/dist/parser/tables/layer/index.js.map +0 -1
  384. package/dist/parser/tables/layer/parser.d.ts +0 -1
  385. package/dist/parser/tables/layer/parser.js +0 -55
  386. package/dist/parser/tables/layer/parser.js.map +0 -1
  387. package/dist/parser/tables/layer/types.d.ts +0 -13
  388. package/dist/parser/tables/layer/types.js +0 -3
  389. package/dist/parser/tables/layer/types.js.map +0 -1
  390. package/dist/parser/tables/ltype/consts.d.ts +0 -6
  391. package/dist/parser/tables/ltype/consts.js +0 -11
  392. package/dist/parser/tables/ltype/consts.js.map +0 -1
  393. package/dist/parser/tables/ltype/index.d.ts +0 -3
  394. package/dist/parser/tables/ltype/index.js +0 -20
  395. package/dist/parser/tables/ltype/index.js.map +0 -1
  396. package/dist/parser/tables/ltype/parser.d.ts +0 -1
  397. package/dist/parser/tables/ltype/parser.js +0 -105
  398. package/dist/parser/tables/ltype/parser.js.map +0 -1
  399. package/dist/parser/tables/ltype/types.d.ts +0 -21
  400. package/dist/parser/tables/ltype/types.js +0 -3
  401. package/dist/parser/tables/ltype/types.js.map +0 -1
  402. package/dist/parser/tables/parser.d.ts +0 -2
  403. package/dist/parser/tables/parser.js +0 -90
  404. package/dist/parser/tables/parser.js.map +0 -1
  405. package/dist/parser/tables/shared.d.ts +0 -2
  406. package/dist/parser/tables/shared.js +0 -32
  407. package/dist/parser/tables/shared.js.map +0 -1
  408. package/dist/parser/tables/style/index.d.ts +0 -2
  409. package/dist/parser/tables/style/index.js +0 -19
  410. package/dist/parser/tables/style/index.js.map +0 -1
  411. package/dist/parser/tables/style/parser.d.ts +0 -1
  412. package/dist/parser/tables/style/parser.js +0 -68
  413. package/dist/parser/tables/style/parser.js.map +0 -1
  414. package/dist/parser/tables/style/types.d.ts +0 -14
  415. package/dist/parser/tables/style/types.js +0 -3
  416. package/dist/parser/tables/style/types.js.map +0 -1
  417. package/dist/parser/tables/types.d.ts +0 -14
  418. package/dist/parser/tables/types.js +0 -3
  419. package/dist/parser/tables/types.js.map +0 -1
  420. package/dist/parser/tables/vport/index.d.ts +0 -2
  421. package/dist/parser/tables/vport/index.js +0 -19
  422. package/dist/parser/tables/vport/index.js.map +0 -1
  423. package/dist/parser/tables/vport/parser.d.ts +0 -1
  424. package/dist/parser/tables/vport/parser.js +0 -201
  425. package/dist/parser/tables/vport/parser.js.map +0 -1
  426. package/dist/parser/tables/vport/types.d.ts +0 -43
  427. package/dist/parser/tables/vport/types.js +0 -3
  428. package/dist/parser/tables/vport/types.js.map +0 -1
  429. package/dist/parser/types.d.ts +0 -29
  430. package/dist/parser/types.js +0 -3
  431. package/dist/parser/types.js.map +0 -1
  432. package/dist/types/color.d.ts +0 -3
  433. package/dist/types/color.js +0 -3
  434. package/dist/types/color.js.map +0 -1
  435. package/dist/types/dxfHeader.d.ts +0 -16
  436. package/dist/types/dxfHeader.js +0 -3
  437. package/dist/types/dxfHeader.js.map +0 -1
  438. package/dist/types/entity.d.ts +0 -6
  439. package/dist/types/entity.js +0 -3
  440. package/dist/types/entity.js.map +0 -1
  441. package/dist/types/index.d.ts +0 -24
  442. package/dist/types/index.js +0 -20
  443. package/dist/types/index.js.map +0 -1
  444. package/dist/utils/binarySearch.d.ts +0 -1
  445. package/dist/utils/binarySearch.js +0 -23
  446. package/dist/utils/binarySearch.js.map +0 -1
  447. package/dist/utils/disjointSet.d.ts +0 -6
  448. package/dist/utils/disjointSet.js +0 -52
  449. package/dist/utils/disjointSet.js.map +0 -1
  450. package/dist/utils/flooding.d.ts +0 -8
  451. package/dist/utils/flooding.js +0 -26
  452. package/dist/utils/flooding.js.map +0 -1
  453. package/dist/utils/functional.d.ts +0 -17
  454. package/dist/utils/functional.js +0 -111
  455. package/dist/utils/functional.js.map +0 -1
  456. package/dist/utils/graph.d.ts +0 -19
  457. package/dist/utils/graph.js +0 -47
  458. package/dist/utils/graph.js.map +0 -1
  459. package/dist/utils/index.d.ts +0 -30
  460. package/dist/utils/index.js +0 -106
  461. package/dist/utils/index.js.map +0 -1
  462. package/dist/utils/queue.d.ts +0 -19
  463. package/dist/utils/queue.js +0 -71
  464. package/dist/utils/queue.js.map +0 -1
  465. package/dist/utils/triangle.d.ts +0 -2
  466. package/dist/utils/triangle.js +0 -19
  467. package/dist/utils/triangle.js.map +0 -1
@@ -1,45 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.parseBlockRecordTable = void 0;
4
- const parserGenerator_1 = require("../../shared/parserGenerator");
5
- const shared_1 = require("../shared");
6
- const BlockRecordTableParserSnippets = [
7
- {
8
- code: 310,
9
- name: 'bmpPreview',
10
- parser: parserGenerator_1.Identity,
11
- },
12
- {
13
- code: 281,
14
- name: 'scalability',
15
- parser: parserGenerator_1.Identity,
16
- },
17
- {
18
- code: 280,
19
- name: 'explodability',
20
- parser: parserGenerator_1.Identity,
21
- },
22
- {
23
- code: 70,
24
- name: 'insertionUnits',
25
- parser: parserGenerator_1.Identity,
26
- },
27
- {
28
- code: 340,
29
- name: 'layoutObjects',
30
- parser: parserGenerator_1.Identity,
31
- },
32
- {
33
- code: 2,
34
- name: 'name',
35
- parser: parserGenerator_1.Identity,
36
- },
37
- {
38
- code: 100,
39
- name: 'subclassMarker',
40
- parser: parserGenerator_1.Identity,
41
- },
42
- ...shared_1.CommonTableEntryParserSnippets,
43
- ];
44
- exports.parseBlockRecordTable = (0, parserGenerator_1.createParser)(BlockRecordTableParserSnippets);
45
- //# sourceMappingURL=parser.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parser.js","sourceRoot":"","sources":["../../../../src/parser/tables/blockRecord/parser.ts"],"names":[],"mappings":";;;AAAA,kEAIsC;AACtC,sCAA2D;AAE3D,MAAM,8BAA8B,GAAuB;IACvD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,aAAa;QACnB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,CAAC;QACP,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE,0BAAQ;KACnB;IACD,GAAG,uCAA8B;CACpC,CAAC;AAEW,QAAA,qBAAqB,GAAG,IAAA,8BAAY,EAC7C,8BAA8B,CACjC,CAAC"}
@@ -1,10 +0,0 @@
1
- import type { CommonDxfTableEntry } from '../types';
2
- export interface BlockRecordTableEntry extends CommonDxfTableEntry {
3
- subclassMarker: 'AcDbBlockTableRecord';
4
- name: string;
5
- layoutObjects: string;
6
- insertionUnits: number;
7
- explodability: number;
8
- scalability: number;
9
- bmpPreview: string;
10
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/parser/tables/blockRecord/types.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import type { DimStyleVariableSchema } from './types';
2
- export declare const DimStyleVariablesSchema: DimStyleVariableSchema[];
@@ -1,424 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DimStyleVariablesSchema = void 0;
4
- const consts_1 = require("../../../consts");
5
- exports.DimStyleVariablesSchema = [
6
- // Prefix/suffix for primary units dimension values.
7
- {
8
- name: 'DIMPOST',
9
- code: 3,
10
- },
11
- // Prefix/suffix for alternate units dimensions.
12
- {
13
- name: 'DIMAPOST',
14
- code: 4,
15
- },
16
- {
17
- name: 'DIMBLK_OBSOLETE',
18
- code: 5,
19
- },
20
- {
21
- name: 'DIMBLK1_OBSOLETE',
22
- code: 6,
23
- },
24
- {
25
- name: 'DIMBLK2_OBSOLETE',
26
- code: 7,
27
- },
28
- // Global dimension feature scale factor
29
- {
30
- name: 'DIMSCALE',
31
- code: 40,
32
- defaultValue: 1,
33
- },
34
- // Dimension line and arrowhead size
35
- {
36
- name: 'DIMASZ',
37
- code: 41,
38
- defaultValue: 0.25,
39
- },
40
- // Distance from origin points to extension lines
41
- {
42
- name: 'DIMEXO',
43
- code: 42,
44
- defaultValue: 0.625,
45
- defaultValueImperial: 0.0625,
46
- },
47
- // Incremental spacing between baseline dimensions
48
- {
49
- name: 'DIMDLI',
50
- code: 43,
51
- defaultValue: 3.75,
52
- defaultValueImperial: 0.38,
53
- },
54
- // Extension line distance beyond dimension line
55
- {
56
- name: 'DIMEXE',
57
- code: 44,
58
- defaultValue: 2.25,
59
- defaultValueImperial: 0.28,
60
- },
61
- // Rounding value for decimal dimensions
62
- {
63
- name: 'DIMRND',
64
- code: 45,
65
- defaultValue: 0,
66
- },
67
- // Dimension line extension beyond extension lines
68
- {
69
- name: 'DIMDLE',
70
- code: 46,
71
- defaultValue: 0,
72
- },
73
- // Upper tolerance value for tolerance dimensions
74
- {
75
- name: 'DIMTP',
76
- code: 47,
77
- defaultValue: 0,
78
- },
79
- // Lower tolerance value for tolerance dimensions
80
- {
81
- name: 'DIMTM',
82
- code: 48,
83
- defaultValue: 0,
84
- },
85
- // Size of dimension text
86
- {
87
- name: 'DIMTXT',
88
- code: 140,
89
- defaultValue: 2.5,
90
- defaultValueImperial: 0.28,
91
- },
92
- // Controls placement of center marks or centerlines
93
- {
94
- name: 'DIMCEN',
95
- code: 141,
96
- defaultValue: 2.5,
97
- defaultValueImperial: 0.09,
98
- },
99
- // Controls size of dimension line tick marks drawn instead of arrowheads
100
- {
101
- name: 'DIMTSZ',
102
- code: 142,
103
- defaultValue: 0,
104
- },
105
- // Alternate units dimension scale factor
106
- {
107
- name: 'DIMALTF',
108
- code: 143,
109
- defaultValue: 25.4,
110
- },
111
- // Scale factor for linear dimension values
112
- {
113
- name: 'DIMLFAC',
114
- code: 144,
115
- defaultValue: 1,
116
- },
117
- // Vertical position of text above or below dimension line if dimtad is 0
118
- {
119
- name: 'DIMTVP',
120
- code: 145,
121
- defaultValue: 0,
122
- },
123
- // Scale factor for fractional or tolerance text size
124
- {
125
- name: 'DIMTFAC',
126
- code: 146,
127
- defaultValue: 1,
128
- },
129
- // Gap size between dimension line and dimension text
130
- {
131
- name: 'DIMGAP',
132
- code: 147,
133
- defaultValue: 0.625,
134
- defaultValueImperial: 0.09,
135
- },
136
- // Rounding value for alternate dimension units
137
- {
138
- name: 'DIMALTRND',
139
- code: 148,
140
- defaultValue: 0,
141
- },
142
- // Toggles creation of appended tolerance dimensions
143
- {
144
- name: 'DIMTOL',
145
- code: 71,
146
- defaultValue: 0,
147
- defaultValueImperial: 1,
148
- },
149
- // Toggles creation of limits-style dimension text
150
- {
151
- name: 'DIMLIM',
152
- code: 72,
153
- defaultValue: 0,
154
- },
155
- // Orientation of text inside extension lines
156
- {
157
- name: 'DIMTIH',
158
- code: 73,
159
- defaultValue: 0,
160
- defaultValueImperial: 1,
161
- },
162
- // Orientation of text outside extension lines
163
- {
164
- name: 'DIMTOH',
165
- code: 74,
166
- defaultValue: 0,
167
- defaultValueImperial: 1,
168
- },
169
- // Toggles suppression of first extension line
170
- {
171
- name: 'DIMSE1',
172
- code: 75,
173
- defaultValue: 0,
174
- },
175
- // Toggles suppression of second extension line
176
- {
177
- name: 'DIMSE2',
178
- code: 76,
179
- defaultValue: 0,
180
- },
181
- // Sets vertical text placement relative to dimension line
182
- {
183
- name: 'DIMTAD',
184
- code: 77,
185
- defaultValue: consts_1.DimensionTextVertical.Above,
186
- defaultValueImperial: consts_1.DimensionTextVertical.Center,
187
- },
188
- // Zero suppression for primary units dimensions
189
- {
190
- name: 'DIMZIN',
191
- code: 78,
192
- defaultValue: consts_1.DimensionZeroSuppression.Trailing,
193
- defaultValueImperial: consts_1.DimensionZeroSuppression.Feet,
194
- },
195
- // Controls zero suppression for angular dimensions
196
- {
197
- name: 'DIMAZIN',
198
- code: 79,
199
- defaultValue: consts_1.DimensionZeroSuppressionAngular.None,
200
- },
201
- // Enables or disables alternate units dimensioning
202
- {
203
- name: 'DIMALT',
204
- code: 170,
205
- defaultValue: 0,
206
- },
207
- // Controls decimal places for alternate units dimensions
208
- {
209
- name: 'DIMALTD',
210
- code: 171,
211
- defaultValue: 3,
212
- defaultValueImperial: 2,
213
- },
214
- // Toggles forced dimension line creation
215
- {
216
- name: 'DIMTOFL',
217
- code: 172,
218
- defaultValue: 1,
219
- defaultValueImperial: 0,
220
- },
221
- // Toggles appearance of arrowhead blocks
222
- {
223
- name: 'DIMSAH',
224
- code: 173,
225
- defaultValue: 0,
226
- },
227
- // Toggles forced placement of text between extension lines
228
- {
229
- name: 'DIMTIX',
230
- code: 174,
231
- defaultValue: 0,
232
- },
233
- // Suppresses dimension lines outside extension lines
234
- {
235
- name: 'DIMSOXD',
236
- code: 175,
237
- defaultValue: 0,
238
- },
239
- // Dimension line, arrowhead, and leader line color
240
- {
241
- name: 'DIMCLRD',
242
- code: 176,
243
- defaultValue: 0,
244
- },
245
- // Dimension extension line color
246
- {
247
- name: 'DIMCLRE',
248
- code: 177,
249
- defaultValue: 0,
250
- },
251
- // Dimension text color
252
- {
253
- name: 'DIMCLRT',
254
- code: 178,
255
- defaultValue: 0,
256
- },
257
- // Controls the number of decimal places for angular dimensions
258
- {
259
- name: 'DIMADEC',
260
- code: 179,
261
- },
262
- // Obsolete, now use DIMLUNIT AND DIMFRAC
263
- {
264
- name: 'DIMUNIT',
265
- code: 270,
266
- },
267
- // Decimal places for dimension values
268
- {
269
- name: 'DIMDEC',
270
- code: 271,
271
- defaultValue: 2,
272
- defaultValueImperial: 4,
273
- },
274
- // Decimal places for primary units tolerance values
275
- {
276
- name: 'DIMTDEC',
277
- code: 272,
278
- defaultValue: 2,
279
- defaultValueImperial: 4,
280
- },
281
- // Units format for alternate units dimensions
282
- {
283
- name: 'DIMALTU',
284
- code: 273,
285
- defaultValue: 2,
286
- },
287
- // Decimal places for alternate units tolerance values
288
- {
289
- name: 'DIMALTTD',
290
- code: 274,
291
- defaultValue: 2,
292
- defaultValueImperial: 4,
293
- },
294
- // Unit format for angular dimension values
295
- {
296
- name: 'DIMAUNIT',
297
- code: 275,
298
- defaultValue: 0,
299
- },
300
- // Controls the fraction format used for architectural and fractional dimensions
301
- {
302
- name: 'DIMFRAC',
303
- code: 276,
304
- defaultValue: 0,
305
- },
306
- // Specifies units for all nonangular dimensions
307
- {
308
- name: 'DIMLUNIT',
309
- code: 277,
310
- defaultValue: 2,
311
- },
312
- // Specifies a single character to use as a decimal separator
313
- {
314
- name: 'DIMDSEP',
315
- code: 278,
316
- defaultValue: ',',
317
- defaultValueImperial: '.',
318
- },
319
- // Controls the format of dimension text when it is moved
320
- // 뷰어에는 필요없어서 주석처리
321
- // {
322
- // name: 'DIMTMOVE',
323
- // code: 279,
324
- // defaultValue: 0,
325
- // },
326
- // Horizontal justification of dimension text
327
- {
328
- name: 'DIMJUST',
329
- code: 280,
330
- defaultValue: consts_1.DimensionTextHorizontal.Center,
331
- },
332
- // Toggles suppression of first dimension line
333
- {
334
- name: 'DIMSD1',
335
- code: 281,
336
- defaultValue: 0,
337
- },
338
- // Toggles suppression of second dimension line
339
- {
340
- name: 'DIMSD2',
341
- code: 282,
342
- defaultValue: 0,
343
- },
344
- // Vertical justification for dimension tolerance text
345
- {
346
- name: 'DIMTOLJ',
347
- code: 283,
348
- defaultValue: consts_1.DimensionToleranceTextVertical.Center,
349
- },
350
- // Zero suppression for tolerances values
351
- {
352
- name: 'DIMTZIN',
353
- code: 284,
354
- defaultValue: consts_1.DimensionZeroSuppression.Trailing,
355
- defaultValueImperial: consts_1.DimensionZeroSuppression.Feet,
356
- },
357
- // Zero suppression for alternate units dimension values
358
- {
359
- name: 'DIMALTZ',
360
- code: 285,
361
- defaultValue: consts_1.DimensionZeroSuppression.Trailing,
362
- },
363
- // Zero suppression for alternate units tolerance values
364
- {
365
- name: 'DIMALTTZ',
366
- code: 286,
367
- defaultValue: consts_1.DimensionZeroSuppression.Trailing,
368
- },
369
- // Obsolete, now use DIMATFIT and DIMTMOVE
370
- {
371
- name: 'DIMFIT',
372
- code: 287,
373
- },
374
- // Controls user placement of dimension line and text
375
- {
376
- name: 'DIMUPT',
377
- code: 288,
378
- defaultValue: 0,
379
- },
380
- // Controls placement of text and arrowheads when there is insufficient space between the extension lines
381
- {
382
- name: 'DIMATFIT',
383
- code: 289,
384
- defaultValue: 3,
385
- },
386
- // Text style used for dimension text by name
387
- {
388
- name: 'DIMTXSTY',
389
- code: 340,
390
- },
391
- // Specify arrowhead used for leaders by name
392
- {
393
- name: 'DIMLDRBLK',
394
- code: 341,
395
- },
396
- // Block type to use for both arrowheads, handle of referenced block
397
- {
398
- name: 'DIMBLK',
399
- code: 342,
400
- },
401
- // Block type to use for first arrowhead, handle of referenced block
402
- {
403
- name: 'DIMBLK1',
404
- code: 343,
405
- },
406
- // Block type to use for first arrowhead, handle of referenced block
407
- {
408
- name: 'DIMBLK2',
409
- code: 344,
410
- },
411
- // Lineweight value for dimension lines
412
- {
413
- name: 'DIMLWD',
414
- code: 371,
415
- defaultValue: -2,
416
- },
417
- // Lineweight value for extension lines
418
- {
419
- name: 'DIMLWD',
420
- code: 372,
421
- defaultValue: -2,
422
- },
423
- ];
424
- //# sourceMappingURL=consts.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/parser/tables/dimStyle/consts.ts"],"names":[],"mappings":";;;AAAA,4CAMyB;AAGZ,QAAA,uBAAuB,GAAG;IACnC,oDAAoD;IACpD;QACI,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,CAAC;KACV;IACD,gDAAgD;IAChD;QACI,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,CAAC;KACV;IACD;QACI,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,CAAC;KACV;IACD;QACI,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,CAAC;KACV;IACD;QACI,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,CAAC;KACV;IACD,wCAAwC;IACxC;QACI,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,EAAE;QACR,YAAY,EAAE,CAAC;KAClB;IACD,oCAAoC;IACpC;QACI,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,EAAE;QACR,YAAY,EAAE,IAAI;KACrB;IACD,iDAAiD;IACjD;QACI,IA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I,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,GAAG;QACT,YAAY,EAAE,CAAC,CAAC;KACnB;IACD,uCAAuC;IACvC;QACI,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,GAAG;QACT,YAAY,EAAE,CAAC,CAAC;KACnB;CACwB,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from './types';
2
- export * from './consts';
3
- export * from './parser';
@@ -1,20 +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("./types"), exports);
18
- __exportStar(require("./consts"), exports);
19
- __exportStar(require("./parser"), exports);
20
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/parser/tables/dimStyle/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB;AACzB,2CAAyB"}
@@ -1 +0,0 @@
1
- export declare const parseDimStyle: import("../../shared/parserGenerator").DXFParser;
@@ -1,35 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.parseDimStyle = void 0;
4
- const parserGenerator_1 = require("../../shared/parserGenerator");
5
- const consts_1 = require("./consts");
6
- const shared_1 = require("../shared");
7
- const DimStyleTableParserSnippets = [
8
- ...consts_1.DimStyleVariablesSchema.map((schema) => ({
9
- ...schema,
10
- parser: parserGenerator_1.Identity,
11
- })),
12
- {
13
- code: 70,
14
- name: 'standardFlag',
15
- parser: parserGenerator_1.Identity,
16
- },
17
- {
18
- code: 2,
19
- name: 'name',
20
- parser: parserGenerator_1.Identity,
21
- },
22
- {
23
- code: 100,
24
- name: 'subclassMarker',
25
- parser: parserGenerator_1.Identity,
26
- },
27
- {
28
- code: 105,
29
- name: 'handle',
30
- parser: parserGenerator_1.Identity,
31
- },
32
- ...shared_1.CommonTableEntryParserSnippets.filter((snippet) => snippet.code !== 5),
33
- ];
34
- exports.parseDimStyle = (0, parserGenerator_1.createParser)(DimStyleTableParserSnippets);
35
- //# sourceMappingURL=parser.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parser.js","sourceRoot":"","sources":["../../../../src/parser/tables/dimStyle/parser.ts"],"names":[],"mappings":";;;AAAA,kEAIsC;AACtC,qCAAmD;AACnD,sCAA2D;AAE3D,MAAM,2BAA2B,GAAuB;IACpD,GAAG,gCAAuB,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QACxC,GAAG,MAAM;QACT,MAAM,EAAE,0BAAQ;KACnB,CAAC,CAAC;IACH;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,CAAC;QACP,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,0BAAQ;KACnB;IACD,GAAG,uCAA8B,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,KAAK,CAAC,CAAC;CAC5E,CAAC;AAEW,QAAA,aAAa,GAAG,IAAA,8BAAY,EAAC,2BAA2B,CAAC,CAAC"}
@@ -1,83 +0,0 @@
1
- import type { DimensionTextHorizontal, DimensionTextVertical, DimensionZeroSuppression, DimensionZeroSuppressionAngular } from '../../../consts';
2
- import type { CommonDxfTableEntry } from '../types';
3
- export type DimStyleVariable = 'DIMPOST' | 'DIMAPOST' | 'DIMBLK_OBSOLETE' | 'DIMBLK1_OBSOLETE' | 'DIMBLK2_OBSOLETE' | 'DIMSCALE' | 'DIMASZ' | 'DIMEXO' | 'DIMDLI' | 'DIMEXE' | 'DIMRND' | 'DIMDLE' | 'DIMTP' | 'DIMTM' | 'DIMTXT' | 'DIMCEN' | 'DIMTSZ' | 'DIMALTF' | 'DIMLFAC' | 'DIMTVP' | 'DIMTFAC' | 'DIMGAP' | 'DIMALTRND' | 'DIMTOL' | 'DIMLIM' | 'DIMTIH' | 'DIMTOH' | 'DIMSE1' | 'DIMSE2' | 'DIMTAD' | 'DIMZIN' | 'DIMAZIN' | 'DIMALT' | 'DIMALTD' | 'DIMTOFL' | 'DIMSAH' | 'DIMTIX' | 'DIMSOXD' | 'DIMCLRD' | 'DIMCLRE' | 'DIMCLRT' | 'DIMADEC' | 'DIMUNIT' | 'DIMDEC' | 'DIMTDEC' | 'DIMALTU' | 'DIMALTTD' | 'DIMAUNIT' | 'DIMFRAC' | 'DIMLUNIT' | 'DIMDSEP' | 'DIMTMOVE' | 'DIMJUST' | 'DIMSD1' | 'DIMSD2' | 'DIMTOLJ' | 'DIMTZIN' | 'DIMALTZ' | 'DIMALTTZ' | 'DIMFIT' | 'DIMUPT' | 'DIMATFIT' | 'DIMTXSTY' | 'DIMLDRBLK' | 'DIMBLK' | 'DIMBLK1' | 'DIMBLK2' | 'DIMLWD' | 'DIMLWE';
4
- export interface DimStyleVariableSchema {
5
- name: string;
6
- code: number;
7
- defaultValue?: string | number;
8
- defaultValueImperial?: string | number;
9
- }
10
- export type DimStylesTableEntry = {
11
- subclassMarker: 'AcDbDimStyleTableRecord';
12
- styleName: string;
13
- DIMPOST?: string;
14
- DIMAPOST?: string;
15
- DIMBLK_OBSOLETE?: string;
16
- DIMBLK1_OBSOLETE?: string;
17
- DIMBLK2_OBSOLETE?: string;
18
- DIMSCALE: number;
19
- DIMASZ: number;
20
- DIMEXO: number;
21
- DIMDLI: number;
22
- DIMEXE: number;
23
- DIMRND: number;
24
- DIMDLE: number;
25
- DIMTP: number;
26
- DIMTM: number;
27
- DIMTXT: number;
28
- DIMCEN: number;
29
- DIMTSZ: number;
30
- DIMALTF: number;
31
- DIMLFAC: number;
32
- DIMTVP: number;
33
- DIMTFAC: number;
34
- DIMGAP: number;
35
- DIMALTRND: number;
36
- DIMTOL: number;
37
- DIMLIM: number;
38
- DIMTIH: number;
39
- DIMTOH: number;
40
- DIMSE1: 0 | 1;
41
- DIMSE2: 0 | 1;
42
- DIMTAD: DimensionTextVertical;
43
- DIMZIN: DimensionZeroSuppression;
44
- DIMAZIN: DimensionZeroSuppressionAngular;
45
- DIMALT: 0 | 1;
46
- DIMALTD: number;
47
- DIMTOFL: 0 | 1;
48
- DIMSAH: 0 | 1;
49
- DIMTIX: 0 | 1;
50
- DIMSOXD: 0 | 1;
51
- DIMCLRD: number;
52
- DIMCLRE: number;
53
- DIMCLRT: number;
54
- DIMADEC?: number;
55
- DIMUNIT?: number;
56
- DIMDEC: number;
57
- DIMTDEC: number;
58
- DIMALTU: number;
59
- DIMALTTD: number;
60
- DIMAUNIT: number;
61
- DIMFRAC: number;
62
- DIMLUNIT: number;
63
- DIMDSEP: string;
64
- DIMTMOVE: undefined;
65
- DIMJUST: DimensionTextHorizontal;
66
- DIMSD1: 0 | 1;
67
- DIMSD2: 0 | 1;
68
- DIMTOLJ: DimensionTextVertical;
69
- DIMTZIN: DimensionZeroSuppression;
70
- DIMALTZ: DimensionZeroSuppression;
71
- DIMALTTZ: DimensionZeroSuppression;
72
- DIMFIT?: number;
73
- DIMUPT: number;
74
- DIMATFIT: number;
75
- DIMTXSTY?: string;
76
- DIMLDRBLK?: string;
77
- DIMBLK?: string;
78
- DIMBLK1?: string;
79
- DIMBLK2?: string;
80
- DIMLWD: number;
81
- DIMLWE: number;
82
- } & CommonDxfTableEntry;
83
- export type StyleResolver = <Name extends DimStyleVariable>(variableName: Name) => DimStylesTableEntry[Name];
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/parser/tables/dimStyle/types.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export * from './types';
2
- export * from './parser';