dxf-json 0.0.8 → 0.0.10

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 (469) hide show
  1. package/.github/workflows/npm-publish.yml +1 -1
  2. package/dist/bundle.js +2 -0
  3. package/dist/bundle.js.LICENSE.txt +5 -0
  4. package/dist/consts/block.d.ts +10 -0
  5. package/dist/consts/block.js +22 -0
  6. package/dist/consts/block.js.map +1 -0
  7. package/dist/consts/color.d.ts +5 -0
  8. package/dist/consts/color.js +10 -0
  9. package/dist/consts/color.js.map +1 -0
  10. package/dist/consts/config.d.ts +2 -0
  11. package/dist/consts/config.js +6 -0
  12. package/dist/consts/config.js.map +1 -0
  13. package/dist/consts/dimension.d.ts +61 -0
  14. package/dist/consts/dimension.js +74 -0
  15. package/dist/consts/dimension.js.map +1 -0
  16. package/dist/consts/hatch.d.ts +44 -0
  17. package/dist/consts/hatch.js +57 -0
  18. package/dist/consts/hatch.js.map +1 -0
  19. package/dist/consts/header.d.ts +9 -0
  20. package/dist/consts/header.js +13 -0
  21. package/dist/consts/header.js.map +1 -0
  22. package/dist/consts/index.d.ts +9 -0
  23. package/dist/consts/index.js +26 -0
  24. package/dist/consts/index.js.map +1 -0
  25. package/dist/consts/lineweight.d.ts +5 -0
  26. package/dist/consts/lineweight.js +10 -0
  27. package/dist/consts/lineweight.js.map +1 -0
  28. package/dist/consts/measurement.d.ts +4 -0
  29. package/dist/consts/measurement.js +9 -0
  30. package/dist/consts/measurement.js.map +1 -0
  31. package/dist/consts/obscuredLineTypes.d.ts +21 -0
  32. package/dist/consts/obscuredLineTypes.js +26 -0
  33. package/dist/consts/obscuredLineTypes.js.map +1 -0
  34. package/dist/consts/scene.d.ts +2 -0
  35. package/dist/consts/scene.js +6 -0
  36. package/dist/consts/scene.js.map +1 -0
  37. package/dist/consts/viewport.d.ts +56 -0
  38. package/dist/consts/viewport.js +67 -0
  39. package/dist/consts/viewport.js.map +1 -0
  40. package/dist/index.d.ts +2 -0
  41. package/dist/index.js +9 -0
  42. package/dist/index.js.map +1 -0
  43. package/dist/parser/AutoCadColorIndex.d.ts +8 -0
  44. package/dist/parser/AutoCadColorIndex.js +267 -0
  45. package/dist/parser/AutoCadColorIndex.js.map +1 -0
  46. package/dist/parser/DxfArrayScanner.d.ts +38 -0
  47. package/dist/parser/DxfArrayScanner.js +159 -0
  48. package/dist/parser/DxfArrayScanner.js.map +1 -0
  49. package/dist/parser/DxfParser.d.ts +11 -0
  50. package/dist/parser/DxfParser.js +108 -0
  51. package/dist/parser/DxfParser.js.map +1 -0
  52. package/dist/parser/ParseHelpers.d.ts +21 -0
  53. package/dist/parser/ParseHelpers.js +129 -0
  54. package/dist/parser/ParseHelpers.js.map +1 -0
  55. package/dist/parser/blocks/blocks.test.d.ts +1 -0
  56. package/dist/parser/blocks/blocks.test.js +86 -0
  57. package/dist/parser/blocks/blocks.test.js.map +1 -0
  58. package/dist/parser/blocks/index.d.ts +4 -0
  59. package/dist/parser/blocks/index.js +83 -0
  60. package/dist/parser/blocks/index.js.map +1 -0
  61. package/dist/parser/blocks/types.d.ts +14 -0
  62. package/dist/parser/blocks/types.js +3 -0
  63. package/dist/parser/blocks/types.js.map +1 -0
  64. package/dist/parser/entities/3dface.js +106 -0
  65. package/dist/parser/entities/3dface.js.map +1 -0
  66. package/dist/parser/entities/arc/index.d.ts +2 -0
  67. package/dist/parser/entities/arc/index.js +19 -0
  68. package/dist/parser/entities/arc/index.js.map +1 -0
  69. package/dist/parser/entities/arc/parser.d.ts +7 -0
  70. package/dist/parser/entities/arc/parser.js +63 -0
  71. package/dist/parser/entities/arc/parser.js.map +1 -0
  72. package/dist/parser/entities/arc/types.d.ts +12 -0
  73. package/dist/parser/entities/arc/types.js +3 -0
  74. package/dist/parser/entities/arc/types.js.map +1 -0
  75. package/dist/parser/entities/attdef/consts.d.ts +11 -0
  76. package/dist/parser/entities/attdef/consts.js +17 -0
  77. package/dist/parser/entities/attdef/consts.js.map +1 -0
  78. package/dist/parser/entities/attdef/index.d.ts +3 -0
  79. package/dist/parser/entities/attdef/index.js +20 -0
  80. package/dist/parser/entities/attdef/index.js.map +1 -0
  81. package/dist/parser/entities/attdef/parser.d.ts +8 -0
  82. package/dist/parser/entities/attdef/parser.js +108 -0
  83. package/dist/parser/entities/attdef/parser.js.map +1 -0
  84. package/dist/parser/entities/attdef/types.d.ts +17 -0
  85. package/dist/parser/entities/attdef/types.js +3 -0
  86. package/dist/parser/entities/attdef/types.js.map +1 -0
  87. package/dist/parser/entities/attribute/consts.d.ts +6 -0
  88. package/dist/parser/entities/attribute/consts.js +11 -0
  89. package/dist/parser/entities/attribute/consts.js.map +1 -0
  90. package/dist/parser/entities/attribute/index.d.ts +3 -0
  91. package/dist/parser/entities/attribute/index.js +20 -0
  92. package/dist/parser/entities/attribute/index.js.map +1 -0
  93. package/dist/parser/entities/attribute/parser.d.ts +8 -0
  94. package/dist/parser/entities/attribute/parser.js +185 -0
  95. package/dist/parser/entities/attribute/parser.js.map +1 -0
  96. package/dist/parser/entities/attribute/types.d.ts +30 -0
  97. package/dist/parser/entities/attribute/types.js +3 -0
  98. package/dist/parser/entities/attribute/types.js.map +1 -0
  99. package/dist/parser/entities/circle/index.d.ts +2 -0
  100. package/dist/parser/entities/circle/index.js +19 -0
  101. package/dist/parser/entities/circle/index.js.map +1 -0
  102. package/dist/parser/entities/circle/parser.d.ts +8 -0
  103. package/dist/parser/entities/circle/parser.js +50 -0
  104. package/dist/parser/entities/circle/parser.js.map +1 -0
  105. package/dist/parser/entities/circle/types.d.ts +10 -0
  106. package/dist/parser/entities/circle/types.js +3 -0
  107. package/dist/parser/entities/circle/types.js.map +1 -0
  108. package/dist/parser/entities/dimension/common.d.ts +6 -0
  109. package/dist/parser/entities/dimension/common.js +122 -0
  110. package/dist/parser/entities/dimension/common.js.map +1 -0
  111. package/dist/parser/entities/dimension/index.d.ts +6 -0
  112. package/dist/parser/entities/dimension/index.js +21 -0
  113. package/dist/parser/entities/dimension/index.js.map +1 -0
  114. package/dist/parser/entities/dimension/types.d.ts +48 -0
  115. package/dist/parser/entities/dimension/types.js +3 -0
  116. package/dist/parser/entities/dimension/types.js.map +1 -0
  117. package/dist/parser/entities/ellipse/index.d.ts +2 -0
  118. package/dist/parser/entities/ellipse/index.js +19 -0
  119. package/dist/parser/entities/ellipse/index.js.map +1 -0
  120. package/dist/parser/entities/ellipse/parser.d.ts +7 -0
  121. package/dist/parser/entities/ellipse/parser.js +59 -0
  122. package/dist/parser/entities/ellipse/parser.js.map +1 -0
  123. package/dist/parser/entities/ellipse/types.d.ts +12 -0
  124. package/dist/parser/entities/ellipse/types.js +3 -0
  125. package/dist/parser/entities/ellipse/types.js.map +1 -0
  126. package/dist/parser/entities/entities.test.d.ts +1 -0
  127. package/dist/parser/entities/entities.test.js +81 -0
  128. package/dist/parser/entities/entities.test.js.map +1 -0
  129. package/dist/parser/entities/hatch/boundaryPathData/edge.d.ts +6 -0
  130. package/dist/parser/entities/hatch/boundaryPathData/edge.js +178 -0
  131. package/dist/parser/entities/hatch/boundaryPathData/edge.js.map +1 -0
  132. package/dist/parser/entities/hatch/boundaryPathData/index.d.ts +5 -0
  133. package/dist/parser/entities/hatch/boundaryPathData/index.js +23 -0
  134. package/dist/parser/entities/hatch/boundaryPathData/index.js.map +1 -0
  135. package/dist/parser/entities/hatch/boundaryPathData/polyline.d.ts +2 -0
  136. package/dist/parser/entities/hatch/boundaryPathData/polyline.js +41 -0
  137. package/dist/parser/entities/hatch/boundaryPathData/polyline.js.map +1 -0
  138. package/dist/parser/entities/hatch/boundaryPathData/shared.d.ts +2 -0
  139. package/dist/parser/entities/hatch/boundaryPathData/shared.js +19 -0
  140. package/dist/parser/entities/hatch/boundaryPathData/shared.js.map +1 -0
  141. package/dist/parser/entities/hatch/index.d.ts +8 -0
  142. package/dist/parser/entities/hatch/index.js +183 -0
  143. package/dist/parser/entities/hatch/index.js.map +1 -0
  144. package/dist/parser/entities/hatch/patternData.d.ts +3 -0
  145. package/dist/parser/entities/hatch/patternData.js +54 -0
  146. package/dist/parser/entities/hatch/patternData.js.map +1 -0
  147. package/dist/parser/entities/hatch/types/boundaryPath.d.ts +59 -0
  148. package/dist/parser/entities/hatch/types/boundaryPath.js +3 -0
  149. package/dist/parser/entities/hatch/types/boundaryPath.js.map +1 -0
  150. package/dist/parser/entities/hatch/types/definitionLine.d.ts +8 -0
  151. package/dist/parser/entities/hatch/types/definitionLine.js +3 -0
  152. package/dist/parser/entities/hatch/types/definitionLine.js.map +1 -0
  153. package/dist/parser/entities/hatch/types/hatch.d.ts +38 -0
  154. package/dist/parser/entities/hatch/types/hatch.js +3 -0
  155. package/dist/parser/entities/hatch/types/hatch.js.map +1 -0
  156. package/dist/parser/entities/hatch/types/index.d.ts +3 -0
  157. package/dist/parser/entities/hatch/types/index.js +20 -0
  158. package/dist/parser/entities/hatch/types/index.js.map +1 -0
  159. package/dist/parser/entities/index.d.ts +8 -0
  160. package/dist/parser/entities/index.js +81 -0
  161. package/dist/parser/entities/index.js.map +1 -0
  162. package/dist/parser/entities/insert/index.d.ts +2 -0
  163. package/dist/parser/entities/insert/index.js +19 -0
  164. package/dist/parser/entities/insert/index.js.map +1 -0
  165. package/dist/parser/entities/insert/parser.d.ts +8 -0
  166. package/dist/parser/entities/insert/parser.js +97 -0
  167. package/dist/parser/entities/insert/parser.js.map +1 -0
  168. package/dist/parser/entities/insert/types.d.ts +18 -0
  169. package/dist/parser/entities/insert/types.js +3 -0
  170. package/dist/parser/entities/insert/types.js.map +1 -0
  171. package/dist/parser/entities/leader/consts.d.ts +6 -0
  172. package/dist/parser/entities/leader/consts.js +11 -0
  173. package/dist/parser/entities/leader/consts.js.map +1 -0
  174. package/dist/parser/entities/leader/index.d.ts +3 -0
  175. package/dist/parser/entities/leader/index.js +20 -0
  176. package/dist/parser/entities/leader/index.js.map +1 -0
  177. package/dist/parser/entities/leader/parser.d.ts +8 -0
  178. package/dist/parser/entities/leader/parser.js +110 -0
  179. package/dist/parser/entities/leader/parser.js.map +1 -0
  180. package/dist/parser/entities/leader/types.d.ts +23 -0
  181. package/dist/parser/entities/leader/types.js +3 -0
  182. package/dist/parser/entities/leader/types.js.map +1 -0
  183. package/dist/parser/entities/line/index.d.ts +2 -0
  184. package/dist/parser/entities/line/index.js +19 -0
  185. package/dist/parser/entities/line/index.js.map +1 -0
  186. package/dist/parser/entities/line/parser.d.ts +8 -0
  187. package/dist/parser/entities/line/parser.js +50 -0
  188. package/dist/parser/entities/line/parser.js.map +1 -0
  189. package/dist/parser/entities/line/types.d.ts +10 -0
  190. package/dist/parser/entities/line/types.js +3 -0
  191. package/dist/parser/entities/line/types.js.map +1 -0
  192. package/dist/parser/entities/lwpolyline/consts.d.ts +4 -0
  193. package/dist/parser/entities/lwpolyline/consts.js +9 -0
  194. package/dist/parser/entities/lwpolyline/consts.js.map +1 -0
  195. package/dist/parser/entities/lwpolyline/index.d.ts +3 -0
  196. package/dist/parser/entities/lwpolyline/index.js +20 -0
  197. package/dist/parser/entities/lwpolyline/index.js.map +1 -0
  198. package/dist/parser/entities/lwpolyline/parser.d.ts +7 -0
  199. package/dist/parser/entities/lwpolyline/parser.js +105 -0
  200. package/dist/parser/entities/lwpolyline/parser.js.map +1 -0
  201. package/dist/parser/entities/lwpolyline/types.d.ts +19 -0
  202. package/dist/parser/entities/lwpolyline/types.js +3 -0
  203. package/dist/parser/entities/lwpolyline/types.js.map +1 -0
  204. package/dist/parser/entities/mtext/consts.d.ts +5 -0
  205. package/dist/parser/entities/mtext/consts.js +10 -0
  206. package/dist/parser/entities/mtext/consts.js.map +1 -0
  207. package/dist/parser/entities/mtext/index.d.ts +3 -0
  208. package/dist/parser/entities/mtext/index.js +20 -0
  209. package/dist/parser/entities/mtext/index.js.map +1 -0
  210. package/dist/parser/entities/mtext/parser.d.ts +10 -0
  211. package/dist/parser/entities/mtext/parser.js +188 -0
  212. package/dist/parser/entities/mtext/parser.js.map +1 -0
  213. package/dist/parser/entities/mtext/types.d.ts +33 -0
  214. package/dist/parser/entities/mtext/types.js +3 -0
  215. package/dist/parser/entities/mtext/types.js.map +1 -0
  216. package/dist/parser/entities/point/index.d.ts +2 -0
  217. package/dist/parser/entities/point/index.js +19 -0
  218. package/dist/parser/entities/point/index.js.map +1 -0
  219. package/dist/parser/entities/point/parser.d.ts +6 -0
  220. package/dist/parser/entities/point/parser.js +54 -0
  221. package/dist/parser/entities/point/parser.js.map +1 -0
  222. package/dist/parser/entities/point/types.d.ts +9 -0
  223. package/dist/parser/entities/point/types.js +3 -0
  224. package/dist/parser/entities/point/types.js.map +1 -0
  225. package/dist/parser/entities/polyline/consts.d.ts +16 -0
  226. package/dist/parser/entities/polyline/consts.js +22 -0
  227. package/dist/parser/entities/polyline/consts.js.map +1 -0
  228. package/dist/parser/entities/polyline/index.d.ts +3 -0
  229. package/dist/parser/entities/polyline/index.js +20 -0
  230. package/dist/parser/entities/polyline/index.js.map +1 -0
  231. package/dist/parser/entities/polyline/parser.d.ts +7 -0
  232. package/dist/parser/entities/polyline/parser.js +118 -0
  233. package/dist/parser/entities/polyline/parser.js.map +1 -0
  234. package/dist/parser/entities/polyline/types.d.ts +19 -0
  235. package/dist/parser/entities/polyline/types.js +3 -0
  236. package/dist/parser/entities/polyline/types.js.map +1 -0
  237. package/dist/parser/entities/section/index.d.ts +2 -0
  238. package/dist/parser/entities/section/index.js +19 -0
  239. package/dist/parser/entities/section/index.js.map +1 -0
  240. package/dist/parser/entities/section/parser.d.ts +7 -0
  241. package/dist/parser/entities/section/parser.js +97 -0
  242. package/dist/parser/entities/section/parser.js.map +1 -0
  243. package/dist/parser/entities/section/types.d.ts +19 -0
  244. package/dist/parser/entities/section/types.js +3 -0
  245. package/dist/parser/entities/section/types.js.map +1 -0
  246. package/dist/parser/entities/shared.d.ts +35 -0
  247. package/dist/parser/entities/shared.js +136 -0
  248. package/dist/parser/entities/shared.js.map +1 -0
  249. package/dist/parser/entities/solid/index.d.ts +2 -0
  250. package/dist/parser/entities/solid/index.js +19 -0
  251. package/dist/parser/entities/solid/index.js.map +1 -0
  252. package/dist/parser/entities/solid/parser.d.ts +8 -0
  253. package/dist/parser/entities/solid/parser.js +48 -0
  254. package/dist/parser/entities/solid/parser.js.map +1 -0
  255. package/dist/parser/entities/solid/types.d.ts +9 -0
  256. package/dist/parser/entities/solid/types.js +3 -0
  257. package/dist/parser/entities/solid/types.js.map +1 -0
  258. package/dist/parser/entities/spline/consts.d.ts +8 -0
  259. package/dist/parser/entities/spline/consts.js +13 -0
  260. package/dist/parser/entities/spline/consts.js.map +1 -0
  261. package/dist/parser/entities/spline/index.d.ts +3 -0
  262. package/dist/parser/entities/spline/index.js +20 -0
  263. package/dist/parser/entities/spline/index.js.map +1 -0
  264. package/dist/parser/entities/spline/parser.d.ts +8 -0
  265. package/dist/parser/entities/spline/parser.js +113 -0
  266. package/dist/parser/entities/spline/parser.js.map +1 -0
  267. package/dist/parser/entities/spline/types.d.ts +21 -0
  268. package/dist/parser/entities/spline/types.js +3 -0
  269. package/dist/parser/entities/spline/types.js.map +1 -0
  270. package/dist/parser/entities/text/consts.d.ts +19 -0
  271. package/dist/parser/entities/text/consts.js +26 -0
  272. package/dist/parser/entities/text/consts.js.map +1 -0
  273. package/dist/parser/entities/text/index.d.ts +3 -0
  274. package/dist/parser/entities/text/index.js +20 -0
  275. package/dist/parser/entities/text/index.js.map +1 -0
  276. package/dist/parser/entities/text/parser.d.ts +26 -0
  277. package/dist/parser/entities/text/parser.js +112 -0
  278. package/dist/parser/entities/text/parser.js.map +1 -0
  279. package/dist/parser/entities/text/types.d.ts +20 -0
  280. package/dist/parser/entities/text/types.js +3 -0
  281. package/dist/parser/entities/text/types.js.map +1 -0
  282. package/dist/parser/entities/vertex/consts.d.ts +10 -0
  283. package/dist/parser/entities/vertex/consts.js +15 -0
  284. package/dist/parser/entities/vertex/consts.js.map +1 -0
  285. package/dist/parser/entities/vertex/index.d.ts +3 -0
  286. package/dist/parser/entities/vertex/index.js +20 -0
  287. package/dist/parser/entities/vertex/index.js.map +1 -0
  288. package/dist/parser/entities/vertex/parser.d.ts +8 -0
  289. package/dist/parser/entities/vertex/parser.js +86 -0
  290. package/dist/parser/entities/vertex/parser.js.map +1 -0
  291. package/dist/parser/entities/vertex/types.d.ts +16 -0
  292. package/dist/parser/entities/vertex/types.js +3 -0
  293. package/dist/parser/entities/vertex/types.js.map +1 -0
  294. package/dist/parser/entities/viewport/index.d.ts +5 -0
  295. package/dist/parser/entities/viewport/index.js +195 -0
  296. package/dist/parser/entities/viewport/index.js.map +1 -0
  297. package/dist/parser/entities/viewport/types.d.ts +51 -0
  298. package/dist/parser/entities/viewport/types.js +3 -0
  299. package/dist/parser/entities/viewport/types.js.map +1 -0
  300. package/dist/parser/filterDummyBlocks.d.ts +2 -0
  301. package/dist/parser/filterDummyBlocks.js +37 -0
  302. package/dist/parser/filterDummyBlocks.js.map +1 -0
  303. package/dist/parser/header/index.d.ts +3 -0
  304. package/dist/parser/header/index.js +32 -0
  305. package/dist/parser/header/index.js.map +1 -0
  306. package/dist/parser/objects/common.d.ts +8 -0
  307. package/dist/parser/objects/common.js +51 -0
  308. package/dist/parser/objects/common.js.map +1 -0
  309. package/dist/parser/objects/dictionary.d.ts +20 -0
  310. package/dist/parser/objects/dictionary.js +50 -0
  311. package/dist/parser/objects/dictionary.js.map +1 -0
  312. package/dist/parser/objects/index.d.ts +6 -0
  313. package/dist/parser/objects/index.js +43 -0
  314. package/dist/parser/objects/index.js.map +1 -0
  315. package/dist/parser/objects/layout.d.ts +30 -0
  316. package/dist/parser/objects/layout.js +110 -0
  317. package/dist/parser/objects/layout.js.map +1 -0
  318. package/dist/parser/objects/plotSettings.d.ts +64 -0
  319. package/dist/parser/objects/plotSettings.js +198 -0
  320. package/dist/parser/objects/plotSettings.js.map +1 -0
  321. package/dist/parser/objects/treefy.d.ts +2 -0
  322. package/dist/parser/objects/treefy.js +37 -0
  323. package/dist/parser/objects/treefy.js.map +1 -0
  324. package/dist/parser/objects/types.d.ts +15 -0
  325. package/dist/parser/objects/types.js +3 -0
  326. package/dist/parser/objects/types.js.map +1 -0
  327. package/dist/parser/shared/index.d.ts +7 -0
  328. package/dist/parser/shared/index.js +22 -0
  329. package/dist/parser/shared/index.js.map +1 -0
  330. package/dist/parser/shared/parsePoint.d.ts +7 -0
  331. package/dist/parser/shared/parsePoint.js +33 -0
  332. package/dist/parser/shared/parsePoint.js.map +1 -0
  333. package/dist/parser/shared/parserGenerator.d.ts +15 -0
  334. package/dist/parser/shared/parserGenerator.js +114 -0
  335. package/dist/parser/shared/parserGenerator.js.map +1 -0
  336. package/dist/parser/shared/parserGenerator.test.d.ts +1 -0
  337. package/dist/parser/shared/parserGenerator.test.js +153 -0
  338. package/dist/parser/shared/parserGenerator.test.js.map +1 -0
  339. package/dist/parser/shared/xdata/index.d.ts +3 -0
  340. package/dist/parser/shared/xdata/index.js +20 -0
  341. package/dist/parser/shared/xdata/index.js.map +1 -0
  342. package/dist/parser/shared/xdata/interpreter.d.ts +20 -0
  343. package/dist/parser/shared/xdata/interpreter.js +43 -0
  344. package/dist/parser/shared/xdata/interpreter.js.map +1 -0
  345. package/dist/parser/shared/xdata/interpreter.test.d.ts +1 -0
  346. package/dist/parser/shared/xdata/interpreter.test.js +83 -0
  347. package/dist/parser/shared/xdata/interpreter.test.js.map +1 -0
  348. package/dist/parser/shared/xdata/parser.d.ts +6 -0
  349. package/dist/parser/shared/xdata/parser.js +133 -0
  350. package/dist/parser/shared/xdata/parser.js.map +1 -0
  351. package/dist/parser/shared/xdata/parser.test.d.ts +1 -0
  352. package/dist/parser/shared/xdata/parser.test.js +64 -0
  353. package/dist/parser/shared/xdata/parser.test.js.map +1 -0
  354. package/dist/parser/shared/xdata/types.d.ts +9 -0
  355. package/dist/parser/shared/xdata/types.js +3 -0
  356. package/dist/parser/shared/xdata/types.js.map +1 -0
  357. package/dist/parser/tables/blockRecord/index.d.ts +2 -0
  358. package/dist/parser/tables/blockRecord/index.js +19 -0
  359. package/dist/parser/tables/blockRecord/index.js.map +1 -0
  360. package/dist/parser/tables/blockRecord/parser.d.ts +1 -0
  361. package/dist/parser/tables/blockRecord/parser.js +45 -0
  362. package/dist/parser/tables/blockRecord/parser.js.map +1 -0
  363. package/dist/parser/tables/blockRecord/types.d.ts +10 -0
  364. package/dist/parser/tables/blockRecord/types.js +3 -0
  365. package/dist/parser/tables/blockRecord/types.js.map +1 -0
  366. package/dist/parser/tables/dimStyle/consts.d.ts +2 -0
  367. package/dist/parser/tables/dimStyle/consts.js +424 -0
  368. package/dist/parser/tables/dimStyle/consts.js.map +1 -0
  369. package/dist/parser/tables/dimStyle/index.d.ts +3 -0
  370. package/dist/parser/tables/dimStyle/index.js +20 -0
  371. package/dist/parser/tables/dimStyle/index.js.map +1 -0
  372. package/dist/parser/tables/dimStyle/parser.d.ts +1 -0
  373. package/dist/parser/tables/dimStyle/parser.js +35 -0
  374. package/dist/parser/tables/dimStyle/parser.js.map +1 -0
  375. package/dist/parser/tables/dimStyle/types.d.ts +83 -0
  376. package/dist/parser/tables/dimStyle/types.js +3 -0
  377. package/dist/parser/tables/dimStyle/types.js.map +1 -0
  378. package/dist/parser/tables/index.d.ts +2 -0
  379. package/dist/parser/tables/index.js +19 -0
  380. package/dist/parser/tables/index.js.map +1 -0
  381. package/dist/parser/tables/layer/index.d.ts +2 -0
  382. package/dist/parser/tables/layer/index.js +19 -0
  383. package/dist/parser/tables/layer/index.js.map +1 -0
  384. package/dist/parser/tables/layer/parser.d.ts +1 -0
  385. package/dist/parser/tables/layer/parser.js +55 -0
  386. package/dist/parser/tables/layer/parser.js.map +1 -0
  387. package/dist/parser/tables/layer/types.d.ts +13 -0
  388. package/dist/parser/tables/layer/types.js +3 -0
  389. package/dist/parser/tables/layer/types.js.map +1 -0
  390. package/dist/parser/tables/ltype/consts.d.ts +6 -0
  391. package/dist/parser/tables/ltype/consts.js +11 -0
  392. package/dist/parser/tables/ltype/consts.js.map +1 -0
  393. package/dist/parser/tables/ltype/index.d.ts +3 -0
  394. package/dist/parser/tables/ltype/index.js +20 -0
  395. package/dist/parser/tables/ltype/index.js.map +1 -0
  396. package/dist/parser/tables/ltype/parser.d.ts +1 -0
  397. package/dist/parser/tables/ltype/parser.js +105 -0
  398. package/dist/parser/tables/ltype/parser.js.map +1 -0
  399. package/dist/parser/tables/ltype/types.d.ts +21 -0
  400. package/dist/parser/tables/ltype/types.js +3 -0
  401. package/dist/parser/tables/ltype/types.js.map +1 -0
  402. package/dist/parser/tables/parser.d.ts +2 -0
  403. package/dist/parser/tables/parser.js +90 -0
  404. package/dist/parser/tables/parser.js.map +1 -0
  405. package/dist/parser/tables/shared.d.ts +2 -0
  406. package/dist/parser/tables/shared.js +32 -0
  407. package/dist/parser/tables/shared.js.map +1 -0
  408. package/dist/parser/tables/style/index.d.ts +2 -0
  409. package/dist/parser/tables/style/index.js +19 -0
  410. package/dist/parser/tables/style/index.js.map +1 -0
  411. package/dist/parser/tables/style/parser.d.ts +1 -0
  412. package/dist/parser/tables/style/parser.js +68 -0
  413. package/dist/parser/tables/style/parser.js.map +1 -0
  414. package/dist/parser/tables/style/types.d.ts +14 -0
  415. package/dist/parser/tables/style/types.js +3 -0
  416. package/dist/parser/tables/style/types.js.map +1 -0
  417. package/dist/parser/tables/types.d.ts +14 -0
  418. package/dist/parser/tables/types.js +3 -0
  419. package/dist/parser/tables/types.js.map +1 -0
  420. package/dist/parser/tables/vport/index.d.ts +2 -0
  421. package/dist/parser/tables/vport/index.js +19 -0
  422. package/dist/parser/tables/vport/index.js.map +1 -0
  423. package/dist/parser/tables/vport/parser.d.ts +1 -0
  424. package/dist/parser/tables/vport/parser.js +201 -0
  425. package/dist/parser/tables/vport/parser.js.map +1 -0
  426. package/dist/parser/tables/vport/types.d.ts +43 -0
  427. package/dist/parser/tables/vport/types.js +3 -0
  428. package/dist/parser/tables/vport/types.js.map +1 -0
  429. package/dist/parser/types.d.ts +29 -0
  430. package/dist/parser/types.js +3 -0
  431. package/dist/parser/types.js.map +1 -0
  432. package/dist/types/color.d.ts +3 -0
  433. package/dist/types/color.js +3 -0
  434. package/dist/types/color.js.map +1 -0
  435. package/dist/types/dxfHeader.d.ts +16 -0
  436. package/dist/types/dxfHeader.js +3 -0
  437. package/dist/types/dxfHeader.js.map +1 -0
  438. package/dist/types/entity.d.ts +6 -0
  439. package/dist/types/entity.js +3 -0
  440. package/dist/types/entity.js.map +1 -0
  441. package/dist/types/index.d.ts +24 -0
  442. package/dist/types/index.js +20 -0
  443. package/dist/types/index.js.map +1 -0
  444. package/dist/utils/binarySearch.d.ts +1 -0
  445. package/dist/utils/binarySearch.js +23 -0
  446. package/dist/utils/binarySearch.js.map +1 -0
  447. package/dist/utils/disjointSet.d.ts +6 -0
  448. package/dist/utils/disjointSet.js +52 -0
  449. package/dist/utils/disjointSet.js.map +1 -0
  450. package/dist/utils/flooding.d.ts +8 -0
  451. package/dist/utils/flooding.js +26 -0
  452. package/dist/utils/flooding.js.map +1 -0
  453. package/dist/utils/functional.d.ts +17 -0
  454. package/dist/utils/functional.js +111 -0
  455. package/dist/utils/functional.js.map +1 -0
  456. package/dist/utils/graph.d.ts +19 -0
  457. package/dist/utils/graph.js +47 -0
  458. package/dist/utils/graph.js.map +1 -0
  459. package/dist/utils/index.d.ts +30 -0
  460. package/dist/utils/index.js +106 -0
  461. package/dist/utils/index.js.map +1 -0
  462. package/dist/utils/queue.d.ts +19 -0
  463. package/dist/utils/queue.js +71 -0
  464. package/dist/utils/queue.js.map +1 -0
  465. package/dist/utils/triangle.d.ts +2 -0
  466. package/dist/utils/triangle.js +19 -0
  467. package/dist/utils/triangle.js.map +1 -0
  468. package/package.json +2 -2
  469. package/src/parser/DxfParser.ts +2 -1
@@ -0,0 +1,45 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,10 @@
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
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/parser/tables/blockRecord/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import type { DimStyleVariableSchema } from './types';
2
+ export declare const DimStyleVariablesSchema: DimStyleVariableSchema[];
@@ -0,0 +1,424 @@
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
@@ -0,0 +1 @@
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,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,EAAE;QACR,YAAY,EAAE,KAAK;QACnB,oBAAoB,EAAE,MAAM;KAC/B;IACD,kDAAkD;IAClD;QACI,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,EAAE;QACR,YAAY,EAAE,IAAI;QAClB,oBAAoB,EAAE,IAAI;KAC7B;IACD,gDAAgD;IAChD;QACI,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,EAAE;QACR,YAAY,EAAE,IAAI;QAClB,oBAAoB,EAAE,IAAI;KAC7B;IACD,wCAAwC;IACxC;QACI,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,EAAE;QACR,YAAY,EAAE,CAAC;KAClB;IACD,kDAAkD;IAClD;QACI,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,EAAE;QACR,YAAY,EAAE,CAAC;KAClB;IACD,iDAAiD;IACjD;QACI,IAAI,EAAE,OAAO;QACb,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;KAClD;IACD,0CAA0C;IAC1C;QACI,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,GAAG;KACZ;IACD,qDAAqD;IACrD;QACI,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,GAAG;QACT,YAAY,EAAE,CAAC;KAClB;IACD,yGAAyG;IACzG;QACI,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,GAAG;QACT,YAAY,EAAE,CAAC;KAClB;IACD,6CAA6C;IAC7C;QACI,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,GAAG;KACZ;IACD,6CAA6C;IAC7C;QACI,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,GAAG;KACZ;IACD,oEAAoE;IACpE;QACI,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,GAAG;KACZ;IACD,oEAAoE;IACpE;QACI,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,GAAG;KACZ;IACD,oEAAoE;IACpE;QACI,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,GAAG;KACZ;IACD,uCAAuC;IACvC;QACI,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"}
@@ -0,0 +1,3 @@
1
+ export * from './types';
2
+ export * from './consts';
3
+ export * from './parser';
@@ -0,0 +1,20 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/parser/tables/dimStyle/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB;AACzB,2CAAyB"}
@@ -0,0 +1 @@
1
+ export declare const parseDimStyle: import("../../shared/parserGenerator").DXFParser;
@@ -0,0 +1,35 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,83 @@
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];
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/parser/tables/dimStyle/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from './types';
2
+ export * from './parser';