@mlightcad/data-model 1.3.1 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (328) hide show
  1. package/package.json +4 -4
  2. package/dist/data-model.cjs +0 -5
  3. package/dist/data-model.js +0 -25475
  4. package/dist/dxf-parser-worker.js +0 -1669
  5. package/lib/base/AcDbHostApplicationServices.d.ts +0 -96
  6. package/lib/base/AcDbHostApplicationServices.d.ts.map +0 -1
  7. package/lib/base/AcDbHostApplicationServices.js +0 -118
  8. package/lib/base/AcDbHostApplicationServices.js.map +0 -1
  9. package/lib/base/AcDbObject.d.ts +0 -205
  10. package/lib/base/AcDbObject.d.ts.map +0 -1
  11. package/lib/base/AcDbObject.js +0 -236
  12. package/lib/base/AcDbObject.js.map +0 -1
  13. package/lib/base/index.d.ts +0 -3
  14. package/lib/base/index.d.ts.map +0 -1
  15. package/lib/base/index.js +0 -3
  16. package/lib/base/index.js.map +0 -1
  17. package/lib/converter/AcDbBatchProcessing.d.ts +0 -146
  18. package/lib/converter/AcDbBatchProcessing.d.ts.map +0 -1
  19. package/lib/converter/AcDbBatchProcessing.js +0 -272
  20. package/lib/converter/AcDbBatchProcessing.js.map +0 -1
  21. package/lib/converter/AcDbDxfConverter.d.ts +0 -272
  22. package/lib/converter/AcDbDxfConverter.d.ts.map +0 -1
  23. package/lib/converter/AcDbDxfConverter.js +0 -867
  24. package/lib/converter/AcDbDxfConverter.js.map +0 -1
  25. package/lib/converter/AcDbDxfParser.d.ts +0 -23
  26. package/lib/converter/AcDbDxfParser.d.ts.map +0 -1
  27. package/lib/converter/AcDbDxfParser.js +0 -85
  28. package/lib/converter/AcDbDxfParser.js.map +0 -1
  29. package/lib/converter/AcDbEntitiyConverter.d.ts +0 -159
  30. package/lib/converter/AcDbEntitiyConverter.d.ts.map +0 -1
  31. package/lib/converter/AcDbEntitiyConverter.js +0 -659
  32. package/lib/converter/AcDbEntitiyConverter.js.map +0 -1
  33. package/lib/converter/AcDbObjectConverter.d.ts +0 -61
  34. package/lib/converter/AcDbObjectConverter.d.ts.map +0 -1
  35. package/lib/converter/AcDbObjectConverter.js +0 -91
  36. package/lib/converter/AcDbObjectConverter.js.map +0 -1
  37. package/lib/converter/AcDbRegenerator.d.ts +0 -101
  38. package/lib/converter/AcDbRegenerator.d.ts.map +0 -1
  39. package/lib/converter/AcDbRegenerator.js +0 -334
  40. package/lib/converter/AcDbRegenerator.js.map +0 -1
  41. package/lib/converter/index.d.ts +0 -5
  42. package/lib/converter/index.d.ts.map +0 -1
  43. package/lib/converter/index.js +0 -5
  44. package/lib/converter/index.js.map +0 -1
  45. package/lib/converter/worker/AcDbBaseWorker.d.ts +0 -36
  46. package/lib/converter/worker/AcDbBaseWorker.d.ts.map +0 -1
  47. package/lib/converter/worker/AcDbBaseWorker.js +0 -93
  48. package/lib/converter/worker/AcDbBaseWorker.js.map +0 -1
  49. package/lib/converter/worker/AcDbDxfParserWorker.d.ts +0 -11
  50. package/lib/converter/worker/AcDbDxfParserWorker.d.ts.map +0 -1
  51. package/lib/converter/worker/AcDbDxfParserWorker.js +0 -75
  52. package/lib/converter/worker/AcDbDxfParserWorker.js.map +0 -1
  53. package/lib/converter/worker/AcDbWorkerManager.d.ts +0 -107
  54. package/lib/converter/worker/AcDbWorkerManager.d.ts.map +0 -1
  55. package/lib/converter/worker/AcDbWorkerManager.js +0 -360
  56. package/lib/converter/worker/AcDbWorkerManager.js.map +0 -1
  57. package/lib/converter/worker/index.d.ts +0 -3
  58. package/lib/converter/worker/index.d.ts.map +0 -1
  59. package/lib/converter/worker/index.js +0 -3
  60. package/lib/converter/worker/index.js.map +0 -1
  61. package/lib/database/AcDbBlockTable.d.ts +0 -56
  62. package/lib/database/AcDbBlockTable.d.ts.map +0 -1
  63. package/lib/database/AcDbBlockTable.js +0 -98
  64. package/lib/database/AcDbBlockTable.js.map +0 -1
  65. package/lib/database/AcDbBlockTableRecord.d.ts +0 -185
  66. package/lib/database/AcDbBlockTableRecord.d.ts.map +0 -1
  67. package/lib/database/AcDbBlockTableRecord.js +0 -261
  68. package/lib/database/AcDbBlockTableRecord.js.map +0 -1
  69. package/lib/database/AcDbDatabase.d.ts +0 -563
  70. package/lib/database/AcDbDatabase.d.ts.map +0 -1
  71. package/lib/database/AcDbDatabase.js +0 -842
  72. package/lib/database/AcDbDatabase.js.map +0 -1
  73. package/lib/database/AcDbDatabaseConverter.d.ts +0 -292
  74. package/lib/database/AcDbDatabaseConverter.d.ts.map +0 -1
  75. package/lib/database/AcDbDatabaseConverter.js +0 -446
  76. package/lib/database/AcDbDatabaseConverter.js.map +0 -1
  77. package/lib/database/AcDbDatabaseConverterManager.d.ts +0 -141
  78. package/lib/database/AcDbDatabaseConverterManager.d.ts.map +0 -1
  79. package/lib/database/AcDbDatabaseConverterManager.js +0 -173
  80. package/lib/database/AcDbDatabaseConverterManager.js.map +0 -1
  81. package/lib/database/AcDbDimStyleTable.d.ts +0 -31
  82. package/lib/database/AcDbDimStyleTable.d.ts.map +0 -1
  83. package/lib/database/AcDbDimStyleTable.js +0 -49
  84. package/lib/database/AcDbDimStyleTable.js.map +0 -1
  85. package/lib/database/AcDbDimStyleTableRecord.d.ts +0 -797
  86. package/lib/database/AcDbDimStyleTableRecord.d.ts.map +0 -1
  87. package/lib/database/AcDbDimStyleTableRecord.js +0 -1294
  88. package/lib/database/AcDbDimStyleTableRecord.js.map +0 -1
  89. package/lib/database/AcDbDwgVersion.d.ts +0 -32
  90. package/lib/database/AcDbDwgVersion.d.ts.map +0 -1
  91. package/lib/database/AcDbDwgVersion.js +0 -76
  92. package/lib/database/AcDbDwgVersion.js.map +0 -1
  93. package/lib/database/AcDbLayerTable.d.ts +0 -51
  94. package/lib/database/AcDbLayerTable.d.ts.map +0 -1
  95. package/lib/database/AcDbLayerTable.js +0 -92
  96. package/lib/database/AcDbLayerTable.js.map +0 -1
  97. package/lib/database/AcDbLayerTableRecord.d.ts +0 -278
  98. package/lib/database/AcDbLayerTableRecord.d.ts.map +0 -1
  99. package/lib/database/AcDbLayerTableRecord.js +0 -397
  100. package/lib/database/AcDbLayerTableRecord.js.map +0 -1
  101. package/lib/database/AcDbLinetypeTable.d.ts +0 -30
  102. package/lib/database/AcDbLinetypeTable.d.ts.map +0 -1
  103. package/lib/database/AcDbLinetypeTable.js +0 -48
  104. package/lib/database/AcDbLinetypeTable.js.map +0 -1
  105. package/lib/database/AcDbLinetypeTableRecord.d.ts +0 -79
  106. package/lib/database/AcDbLinetypeTableRecord.d.ts.map +0 -1
  107. package/lib/database/AcDbLinetypeTableRecord.js +0 -129
  108. package/lib/database/AcDbLinetypeTableRecord.js.map +0 -1
  109. package/lib/database/AcDbSymbolTable.d.ts +0 -199
  110. package/lib/database/AcDbSymbolTable.d.ts.map +0 -1
  111. package/lib/database/AcDbSymbolTable.js +0 -264
  112. package/lib/database/AcDbSymbolTable.js.map +0 -1
  113. package/lib/database/AcDbSymbolTableRecord.d.ts +0 -61
  114. package/lib/database/AcDbSymbolTableRecord.d.ts.map +0 -1
  115. package/lib/database/AcDbSymbolTableRecord.js +0 -82
  116. package/lib/database/AcDbSymbolTableRecord.js.map +0 -1
  117. package/lib/database/AcDbTextStyleTable.d.ts +0 -48
  118. package/lib/database/AcDbTextStyleTable.d.ts.map +0 -1
  119. package/lib/database/AcDbTextStyleTable.js +0 -112
  120. package/lib/database/AcDbTextStyleTable.js.map +0 -1
  121. package/lib/database/AcDbTextStyleTableRecord.d.ts +0 -179
  122. package/lib/database/AcDbTextStyleTableRecord.d.ts.map +0 -1
  123. package/lib/database/AcDbTextStyleTableRecord.js +0 -276
  124. package/lib/database/AcDbTextStyleTableRecord.js.map +0 -1
  125. package/lib/database/AcDbViewportTable.d.ts +0 -31
  126. package/lib/database/AcDbViewportTable.d.ts.map +0 -1
  127. package/lib/database/AcDbViewportTable.js +0 -49
  128. package/lib/database/AcDbViewportTable.js.map +0 -1
  129. package/lib/database/AcDbViewportTableRecord.d.ts +0 -154
  130. package/lib/database/AcDbViewportTableRecord.d.ts.map +0 -1
  131. package/lib/database/AcDbViewportTableRecord.js +0 -318
  132. package/lib/database/AcDbViewportTableRecord.js.map +0 -1
  133. package/lib/database/index.d.ts +0 -19
  134. package/lib/database/index.d.ts.map +0 -1
  135. package/lib/database/index.js +0 -19
  136. package/lib/database/index.js.map +0 -1
  137. package/lib/entity/AcDbArc.d.ts +0 -254
  138. package/lib/entity/AcDbArc.d.ts.map +0 -1
  139. package/lib/entity/AcDbArc.js +0 -340
  140. package/lib/entity/AcDbArc.js.map +0 -1
  141. package/lib/entity/AcDbBlockReference.d.ts +0 -190
  142. package/lib/entity/AcDbBlockReference.d.ts.map +0 -1
  143. package/lib/entity/AcDbBlockReference.js +0 -302
  144. package/lib/entity/AcDbBlockReference.js.map +0 -1
  145. package/lib/entity/AcDbCircle.d.ts +0 -186
  146. package/lib/entity/AcDbCircle.d.ts.map +0 -1
  147. package/lib/entity/AcDbCircle.js +0 -249
  148. package/lib/entity/AcDbCircle.js.map +0 -1
  149. package/lib/entity/AcDbCurve.d.ts +0 -42
  150. package/lib/entity/AcDbCurve.d.ts.map +0 -1
  151. package/lib/entity/AcDbCurve.js +0 -44
  152. package/lib/entity/AcDbCurve.js.map +0 -1
  153. package/lib/entity/AcDbEllipse.d.ts +0 -207
  154. package/lib/entity/AcDbEllipse.d.ts.map +0 -1
  155. package/lib/entity/AcDbEllipse.js +0 -272
  156. package/lib/entity/AcDbEllipse.js.map +0 -1
  157. package/lib/entity/AcDbEntity.d.ts +0 -385
  158. package/lib/entity/AcDbEntity.d.ts.map +0 -1
  159. package/lib/entity/AcDbEntity.js +0 -561
  160. package/lib/entity/AcDbEntity.js.map +0 -1
  161. package/lib/entity/AcDbFace.d.ts +0 -151
  162. package/lib/entity/AcDbFace.d.ts.map +0 -1
  163. package/lib/entity/AcDbFace.js +0 -224
  164. package/lib/entity/AcDbFace.js.map +0 -1
  165. package/lib/entity/AcDbHatch.d.ts +0 -174
  166. package/lib/entity/AcDbHatch.d.ts.map +0 -1
  167. package/lib/entity/AcDbHatch.js +0 -250
  168. package/lib/entity/AcDbHatch.js.map +0 -1
  169. package/lib/entity/AcDbLeader.d.ts +0 -243
  170. package/lib/entity/AcDbLeader.d.ts.map +0 -1
  171. package/lib/entity/AcDbLeader.js +0 -358
  172. package/lib/entity/AcDbLeader.js.map +0 -1
  173. package/lib/entity/AcDbLine.d.ts +0 -198
  174. package/lib/entity/AcDbLine.d.ts.map +0 -1
  175. package/lib/entity/AcDbLine.js +0 -300
  176. package/lib/entity/AcDbLine.js.map +0 -1
  177. package/lib/entity/AcDbMText.d.ts +0 -248
  178. package/lib/entity/AcDbMText.d.ts.map +0 -1
  179. package/lib/entity/AcDbMText.js +0 -414
  180. package/lib/entity/AcDbMText.js.map +0 -1
  181. package/lib/entity/AcDbPoint.d.ts +0 -113
  182. package/lib/entity/AcDbPoint.d.ts.map +0 -1
  183. package/lib/entity/AcDbPoint.js +0 -155
  184. package/lib/entity/AcDbPoint.js.map +0 -1
  185. package/lib/entity/AcDbPolyline.d.ts +0 -221
  186. package/lib/entity/AcDbPolyline.d.ts.map +0 -1
  187. package/lib/entity/AcDbPolyline.js +0 -301
  188. package/lib/entity/AcDbPolyline.js.map +0 -1
  189. package/lib/entity/AcDbRasterImage.d.ts +0 -216
  190. package/lib/entity/AcDbRasterImage.d.ts.map +0 -1
  191. package/lib/entity/AcDbRasterImage.js +0 -451
  192. package/lib/entity/AcDbRasterImage.js.map +0 -1
  193. package/lib/entity/AcDbRay.d.ts +0 -150
  194. package/lib/entity/AcDbRay.d.ts.map +0 -1
  195. package/lib/entity/AcDbRay.js +0 -208
  196. package/lib/entity/AcDbRay.js.map +0 -1
  197. package/lib/entity/AcDbSpline.d.ts +0 -135
  198. package/lib/entity/AcDbSpline.d.ts.map +0 -1
  199. package/lib/entity/AcDbSpline.js +0 -142
  200. package/lib/entity/AcDbSpline.js.map +0 -1
  201. package/lib/entity/AcDbTable.d.ts +0 -260
  202. package/lib/entity/AcDbTable.d.ts.map +0 -1
  203. package/lib/entity/AcDbTable.js +0 -452
  204. package/lib/entity/AcDbTable.js.map +0 -1
  205. package/lib/entity/AcDbText.d.ts +0 -388
  206. package/lib/entity/AcDbText.d.ts.map +0 -1
  207. package/lib/entity/AcDbText.js +0 -523
  208. package/lib/entity/AcDbText.js.map +0 -1
  209. package/lib/entity/AcDbTrace.d.ts +0 -193
  210. package/lib/entity/AcDbTrace.d.ts.map +0 -1
  211. package/lib/entity/AcDbTrace.js +0 -271
  212. package/lib/entity/AcDbTrace.js.map +0 -1
  213. package/lib/entity/AcDbViewport.d.ts +0 -173
  214. package/lib/entity/AcDbViewport.d.ts.map +0 -1
  215. package/lib/entity/AcDbViewport.js +0 -295
  216. package/lib/entity/AcDbViewport.js.map +0 -1
  217. package/lib/entity/AcDbWipeout.d.ts +0 -39
  218. package/lib/entity/AcDbWipeout.d.ts.map +0 -1
  219. package/lib/entity/AcDbWipeout.js +0 -70
  220. package/lib/entity/AcDbWipeout.js.map +0 -1
  221. package/lib/entity/AcDbXline.d.ts +0 -151
  222. package/lib/entity/AcDbXline.d.ts.map +0 -1
  223. package/lib/entity/AcDbXline.js +0 -209
  224. package/lib/entity/AcDbXline.js.map +0 -1
  225. package/lib/entity/dimension/AcDb3PointAngularDimension.d.ts +0 -92
  226. package/lib/entity/dimension/AcDb3PointAngularDimension.d.ts.map +0 -1
  227. package/lib/entity/dimension/AcDb3PointAngularDimension.js +0 -157
  228. package/lib/entity/dimension/AcDb3PointAngularDimension.js.map +0 -1
  229. package/lib/entity/dimension/AcDbAlignedDimension.d.ts +0 -220
  230. package/lib/entity/dimension/AcDbAlignedDimension.d.ts.map +0 -1
  231. package/lib/entity/dimension/AcDbAlignedDimension.js +0 -341
  232. package/lib/entity/dimension/AcDbAlignedDimension.js.map +0 -1
  233. package/lib/entity/dimension/AcDbArcDimension.d.ts +0 -94
  234. package/lib/entity/dimension/AcDbArcDimension.d.ts.map +0 -1
  235. package/lib/entity/dimension/AcDbArcDimension.js +0 -159
  236. package/lib/entity/dimension/AcDbArcDimension.js.map +0 -1
  237. package/lib/entity/dimension/AcDbDiametricDimension.d.ts +0 -145
  238. package/lib/entity/dimension/AcDbDiametricDimension.d.ts.map +0 -1
  239. package/lib/entity/dimension/AcDbDiametricDimension.js +0 -275
  240. package/lib/entity/dimension/AcDbDiametricDimension.js.map +0 -1
  241. package/lib/entity/dimension/AcDbDimension.d.ts +0 -257
  242. package/lib/entity/dimension/AcDbDimension.d.ts.map +0 -1
  243. package/lib/entity/dimension/AcDbDimension.js +0 -466
  244. package/lib/entity/dimension/AcDbDimension.js.map +0 -1
  245. package/lib/entity/dimension/AcDbOrdinateDimension.d.ts +0 -78
  246. package/lib/entity/dimension/AcDbOrdinateDimension.d.ts.map +0 -1
  247. package/lib/entity/dimension/AcDbOrdinateDimension.js +0 -133
  248. package/lib/entity/dimension/AcDbOrdinateDimension.js.map +0 -1
  249. package/lib/entity/dimension/AcDbRadialDimension.d.ts +0 -214
  250. package/lib/entity/dimension/AcDbRadialDimension.d.ts.map +0 -1
  251. package/lib/entity/dimension/AcDbRadialDimension.js +0 -288
  252. package/lib/entity/dimension/AcDbRadialDimension.js.map +0 -1
  253. package/lib/entity/dimension/index.d.ts +0 -8
  254. package/lib/entity/dimension/index.d.ts.map +0 -1
  255. package/lib/entity/dimension/index.js +0 -8
  256. package/lib/entity/dimension/index.js.map +0 -1
  257. package/lib/entity/index.d.ts +0 -24
  258. package/lib/entity/index.d.ts.map +0 -1
  259. package/lib/entity/index.js +0 -24
  260. package/lib/entity/index.js.map +0 -1
  261. package/lib/index.d.ts +0 -10
  262. package/lib/index.d.ts.map +0 -1
  263. package/lib/index.js +0 -10
  264. package/lib/index.js.map +0 -1
  265. package/lib/misc/AcDbAngleUnits.d.ts +0 -20
  266. package/lib/misc/AcDbAngleUnits.d.ts.map +0 -1
  267. package/lib/misc/AcDbAngleUnits.js +0 -21
  268. package/lib/misc/AcDbAngleUnits.js.map +0 -1
  269. package/lib/misc/AcDbCodePage.d.ts +0 -50
  270. package/lib/misc/AcDbCodePage.d.ts.map +0 -1
  271. package/lib/misc/AcDbCodePage.js +0 -100
  272. package/lib/misc/AcDbCodePage.js.map +0 -1
  273. package/lib/misc/AcDbConstants.d.ts +0 -24
  274. package/lib/misc/AcDbConstants.d.ts.map +0 -1
  275. package/lib/misc/AcDbConstants.js +0 -24
  276. package/lib/misc/AcDbConstants.js.map +0 -1
  277. package/lib/misc/AcDbDimArrowType.d.ts +0 -89
  278. package/lib/misc/AcDbDimArrowType.d.ts.map +0 -1
  279. package/lib/misc/AcDbDimArrowType.js +0 -90
  280. package/lib/misc/AcDbDimArrowType.js.map +0 -1
  281. package/lib/misc/AcDbObjectIterator.d.ts +0 -64
  282. package/lib/misc/AcDbObjectIterator.d.ts.map +0 -1
  283. package/lib/misc/AcDbObjectIterator.js +0 -84
  284. package/lib/misc/AcDbObjectIterator.js.map +0 -1
  285. package/lib/misc/AcDbOsnapMode.d.ts +0 -51
  286. package/lib/misc/AcDbOsnapMode.d.ts.map +0 -1
  287. package/lib/misc/AcDbOsnapMode.js +0 -52
  288. package/lib/misc/AcDbOsnapMode.js.map +0 -1
  289. package/lib/misc/AcDbRenderingCache.d.ts +0 -141
  290. package/lib/misc/AcDbRenderingCache.d.ts.map +0 -1
  291. package/lib/misc/AcDbRenderingCache.js +0 -239
  292. package/lib/misc/AcDbRenderingCache.js.map +0 -1
  293. package/lib/misc/AcDbUnitsValue.d.ts +0 -101
  294. package/lib/misc/AcDbUnitsValue.d.ts.map +0 -1
  295. package/lib/misc/AcDbUnitsValue.js +0 -121
  296. package/lib/misc/AcDbUnitsValue.js.map +0 -1
  297. package/lib/misc/index.d.ts +0 -9
  298. package/lib/misc/index.d.ts.map +0 -1
  299. package/lib/misc/index.js +0 -9
  300. package/lib/misc/index.js.map +0 -1
  301. package/lib/object/AcDbDictionary.d.ts +0 -178
  302. package/lib/object/AcDbDictionary.d.ts.map +0 -1
  303. package/lib/object/AcDbDictionary.js +0 -264
  304. package/lib/object/AcDbDictionary.js.map +0 -1
  305. package/lib/object/AcDbRasterImageDef.d.ts +0 -54
  306. package/lib/object/AcDbRasterImageDef.d.ts.map +0 -1
  307. package/lib/object/AcDbRasterImageDef.js +0 -82
  308. package/lib/object/AcDbRasterImageDef.js.map +0 -1
  309. package/lib/object/index.d.ts +0 -4
  310. package/lib/object/index.d.ts.map +0 -1
  311. package/lib/object/index.js +0 -4
  312. package/lib/object/index.js.map +0 -1
  313. package/lib/object/layout/AcDbLayout.d.ts +0 -190
  314. package/lib/object/layout/AcDbLayout.d.ts.map +0 -1
  315. package/lib/object/layout/AcDbLayout.js +0 -253
  316. package/lib/object/layout/AcDbLayout.js.map +0 -1
  317. package/lib/object/layout/AcDbLayoutDictionary.d.ts +0 -47
  318. package/lib/object/layout/AcDbLayoutDictionary.d.ts.map +0 -1
  319. package/lib/object/layout/AcDbLayoutDictionary.js +0 -122
  320. package/lib/object/layout/AcDbLayoutDictionary.js.map +0 -1
  321. package/lib/object/layout/AcDbLayoutManager.d.ts +0 -188
  322. package/lib/object/layout/AcDbLayoutManager.d.ts.map +0 -1
  323. package/lib/object/layout/AcDbLayoutManager.js +0 -245
  324. package/lib/object/layout/AcDbLayoutManager.js.map +0 -1
  325. package/lib/object/layout/index.d.ts +0 -4
  326. package/lib/object/layout/index.d.ts.map +0 -1
  327. package/lib/object/layout/index.js +0 -4
  328. package/lib/object/layout/index.js.map +0 -1
@@ -1,561 +0,0 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- if (typeof b !== "function" && b !== null)
10
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
11
- extendStatics(d, b);
12
- function __() { this.constructor = d; }
13
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
14
- };
15
- })();
16
- var __assign = (this && this.__assign) || function () {
17
- __assign = Object.assign || function(t) {
18
- for (var s, i = 1, n = arguments.length; i < n; i++) {
19
- s = arguments[i];
20
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
21
- t[p] = s[p];
22
- }
23
- return t;
24
- };
25
- return __assign.apply(this, arguments);
26
- };
27
- var __read = (this && this.__read) || function (o, n) {
28
- var m = typeof Symbol === "function" && o[Symbol.iterator];
29
- if (!m) return o;
30
- var i = m.call(o), r, ar = [], e;
31
- try {
32
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
33
- }
34
- catch (error) { e = { error: error }; }
35
- finally {
36
- try {
37
- if (r && !r.done && (m = i["return"])) m.call(i);
38
- }
39
- finally { if (e) throw e.error; }
40
- }
41
- return ar;
42
- };
43
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
44
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
45
- if (ar || !(i in from)) {
46
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
47
- ar[i] = from[i];
48
- }
49
- }
50
- return to.concat(ar || Array.prototype.slice.call(from));
51
- };
52
- import { AcCmColor } from '@mlightcad/common';
53
- import { AcDbObject } from '../base/AcDbObject';
54
- import { ByBlock, ByLayer, DEFAULT_LINE_TYPE } from '../misc';
55
- /**
56
- * Abstract base class for all drawing entities.
57
- *
58
- * This class provides the fundamental functionality for all drawing entities,
59
- * including layer management, color handling, linetype support, visibility,
60
- * and geometric operations. All specific entity types (lines, circles, text, etc.)
61
- * inherit from this class.
62
- *
63
- * @example
64
- * ```typescript
65
- * class MyEntity extends AcDbEntity {
66
- * get geometricExtents(): AcGeBox3d {
67
- * // Implementation for geometric extents
68
- * }
69
- *
70
- * draw(renderer: AcGiRenderer): AcGiEntity | undefined {
71
- * // Implementation for drawing
72
- * }
73
- * }
74
- * ```
75
- */
76
- var AcDbEntity = /** @class */ (function (_super) {
77
- __extends(AcDbEntity, _super);
78
- function AcDbEntity() {
79
- var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this;
80
- /** The layer name this entity belongs to */
81
- _this._layer = '0';
82
- /** The color of this entity */
83
- _this._color = new AcCmColor();
84
- /** The linetype name for this entity */
85
- _this._lineType = ByLayer;
86
- /** The line weight for this entity */
87
- _this._lineWeight = 1;
88
- /** The linetype scale factor for this entity */
89
- _this._linetypeScale = -1;
90
- /** Whether this entity is visible */
91
- _this._visibility = true;
92
- /** The transparency level of this entity (0-1) */
93
- _this._transparency = 0;
94
- return _this;
95
- }
96
- Object.defineProperty(AcDbEntity.prototype, "type", {
97
- /**
98
- * Gets the type name of this entity.
99
- *
100
- * This method returns the entity type by removing the "AcDb" prefix
101
- * from the constructor name.
102
- *
103
- * @returns The entity type name
104
- *
105
- * @example
106
- * ```typescript
107
- * const entity = new AcDbLine();
108
- * console.log(entity.type); // "Line"
109
- * ```
110
- */
111
- get: function () {
112
- return this.constructor.typeName;
113
- },
114
- enumerable: false,
115
- configurable: true
116
- });
117
- Object.defineProperty(AcDbEntity.prototype, "layer", {
118
- /**
119
- * Gets the name of the layer referenced by this entity.
120
- *
121
- * @returns The layer name
122
- *
123
- * @example
124
- * ```typescript
125
- * const layerName = entity.layer;
126
- * ```
127
- */
128
- get: function () {
129
- return this._layer;
130
- },
131
- /**
132
- * Sets the name of the layer for this entity.
133
- *
134
- * @param value - The new layer name
135
- *
136
- * @example
137
- * ```typescript
138
- * entity.layer = 'MyLayer';
139
- * ```
140
- */
141
- set: function (value) {
142
- this._layer = value;
143
- },
144
- enumerable: false,
145
- configurable: true
146
- });
147
- Object.defineProperty(AcDbEntity.prototype, "color", {
148
- /**
149
- * Gets the color information of this entity.
150
- *
151
- * @returns The color object for this entity
152
- *
153
- * @example
154
- * ```typescript
155
- * const color = entity.color;
156
- * ```
157
- */
158
- get: function () {
159
- return this._color;
160
- },
161
- /**
162
- * Sets the color information for this entity.
163
- *
164
- * @param value - The new color object
165
- *
166
- * @example
167
- * ```typescript
168
- * entity.color = new AcCmColor(0xFF0000);
169
- * ```
170
- */
171
- set: function (value) {
172
- this._color.copy(value);
173
- },
174
- enumerable: false,
175
- configurable: true
176
- });
177
- Object.defineProperty(AcDbEntity.prototype, "rgbColor", {
178
- /**
179
- * Gets the RGB color of this entity after converting color index.
180
- *
181
- * This method handles the conversion of color indices (including ByLayer and ByBlock)
182
- * to actual RGB colors. It resolves layer colors and block colors as needed.
183
- *
184
- * @returns The RGB color value as a number
185
- *
186
- * @example
187
- * ```typescript
188
- * const rgbColor = entity.rgbColor;
189
- * console.log(`RGB: ${rgbColor.toString(16)}`);
190
- * ```
191
- */
192
- get: function () {
193
- // Default color
194
- var color = this.database.cecolor;
195
- if (this.color.isByLayer) {
196
- var layerColor = this.getLayerColor();
197
- if (layerColor && layerColor.color) {
198
- color = layerColor;
199
- }
200
- }
201
- else if (this.color.isByBlock) {
202
- // Do nothing for common entity and just use default color in database
203
- // Block reference entity need to override this method handle 'byBlock'.
204
- }
205
- else if (this.color.color != null) {
206
- color = this.color;
207
- }
208
- return color.color == null ? 0xffffff : color.color;
209
- },
210
- enumerable: false,
211
- configurable: true
212
- });
213
- Object.defineProperty(AcDbEntity.prototype, "lineType", {
214
- /**
215
- * Gets the name of the line type referenced by this entity.
216
- *
217
- * @returns The linetype name
218
- *
219
- * @example
220
- * ```typescript
221
- * const lineType = entity.lineType;
222
- * ```
223
- */
224
- get: function () {
225
- return this._lineType;
226
- },
227
- /**
228
- * Sets the name of the line type for this entity.
229
- *
230
- * @param value - The new linetype name
231
- *
232
- * @example
233
- * ```typescript
234
- * entity.lineType = 'DASHED';
235
- * ```
236
- */
237
- set: function (value) {
238
- this._lineType = value || ByLayer;
239
- },
240
- enumerable: false,
241
- configurable: true
242
- });
243
- Object.defineProperty(AcDbEntity.prototype, "lineWeight", {
244
- /**
245
- * Gets the line weight used by this entity.
246
- *
247
- * @returns The line weight value
248
- *
249
- * @example
250
- * ```typescript
251
- * const weight = entity.lineWeight;
252
- * ```
253
- */
254
- get: function () {
255
- return this._lineWeight;
256
- },
257
- /**
258
- * Sets the line weight for this entity.
259
- *
260
- * @param value - The new line weight value
261
- *
262
- * @example
263
- * ```typescript
264
- * entity.lineWeight = 2;
265
- * ```
266
- */
267
- set: function (value) {
268
- this._lineWeight = value;
269
- },
270
- enumerable: false,
271
- configurable: true
272
- });
273
- Object.defineProperty(AcDbEntity.prototype, "linetypeScale", {
274
- /**
275
- * Gets the line type scale factor of this entity.
276
- *
277
- * When an entity is first instantiated, its line type scale is initialized
278
- * to an invalid value. When the entity is added to the database, if a
279
- * linetype scale has not been specified for the entity, it is set to the
280
- * database's current line type scale value.
281
- *
282
- * @returns The linetype scale factor
283
- *
284
- * @example
285
- * ```typescript
286
- * const scale = entity.linetypeScale;
287
- * ```
288
- */
289
- get: function () {
290
- return this._linetypeScale;
291
- },
292
- /**
293
- * Sets the line type scale factor for this entity.
294
- *
295
- * @param value - The new linetype scale factor
296
- *
297
- * @example
298
- * ```typescript
299
- * entity.linetypeScale = 2.0;
300
- * ```
301
- */
302
- set: function (value) {
303
- this._linetypeScale = value;
304
- },
305
- enumerable: false,
306
- configurable: true
307
- });
308
- Object.defineProperty(AcDbEntity.prototype, "visibility", {
309
- /**
310
- * Gets whether this entity is visible.
311
- *
312
- * @returns True if the entity is visible, false otherwise
313
- *
314
- * @example
315
- * ```typescript
316
- * const isVisible = entity.visibility;
317
- * ```
318
- */
319
- get: function () {
320
- return this._visibility;
321
- },
322
- /**
323
- * Sets whether this entity is visible.
324
- *
325
- * @param value - True to make the entity visible, false to hide it
326
- *
327
- * @example
328
- * ```typescript
329
- * entity.visibility = false; // Hide the entity
330
- * ```
331
- */
332
- set: function (value) {
333
- this._visibility = value;
334
- },
335
- enumerable: false,
336
- configurable: true
337
- });
338
- Object.defineProperty(AcDbEntity.prototype, "transparency", {
339
- /**
340
- * Gets the transparency level of this entity.
341
- *
342
- * @returns The transparency value (0-1, where 0 is opaque and 1 is fully transparent)
343
- *
344
- * @example
345
- * ```typescript
346
- * const transparency = entity.transparency;
347
- * ```
348
- */
349
- get: function () {
350
- return this._transparency;
351
- },
352
- /**
353
- * Sets the transparency level of this entity.
354
- *
355
- * @param value - The transparency value (0-1, where 0 is opaque and 1 is fully transparent)
356
- *
357
- * @example
358
- * ```typescript
359
- * entity.transparency = 0.5; // 50% transparent
360
- * ```
361
- */
362
- set: function (value) {
363
- this._transparency = value;
364
- },
365
- enumerable: false,
366
- configurable: true
367
- });
368
- /**
369
- * Gets the grip points for this entity.
370
- *
371
- * Grip points are the control points that can be used to modify the entity.
372
- * This method should be overridden by subclasses to provide entity-specific
373
- * grip points.
374
- *
375
- * @returns Array of grip points as 3D points
376
- *
377
- * @example
378
- * ```typescript
379
- * const gripPoints = entity.subGetGripPoints();
380
- * ```
381
- */
382
- AcDbEntity.prototype.subGetGripPoints = function () {
383
- var gripPoints = new Array();
384
- return gripPoints;
385
- };
386
- /**
387
- * Gets the object snap points for this entity.
388
- *
389
- * Object snap points are the points that can be used for precise positioning
390
- * when drawing or editing. This method should be overridden by subclasses
391
- * to provide entity-specific snap points.
392
- *
393
- * @param osnapMode - The object snap mode
394
- * @param gsSelectionMark - The selection mark
395
- * @param pickPoint - The pick point
396
- * @param lastPoint - The last point
397
- * @param snapPoints - Array to populate with snap points
398
- *
399
- * @example
400
- * ```typescript
401
- * const snapPoints: AcGePoint3d[] = [];
402
- * entity.subGetOsnapPoints(AcDbOsnapMode.Endpoint, 0, pickPoint, lastPoint, snapPoints);
403
- * ```
404
- */
405
- AcDbEntity.prototype.subGetOsnapPoints = function (
406
- // @ts-expect-error not use '_' prefix so that typedoc can the correct parameter to generate doc
407
- osnapMode,
408
- // @ts-expect-error not use '_' prefix so that typedoc can the correct parameter to generate doc
409
- gsSelectionMark,
410
- // @ts-expect-error not use '_' prefix so that typedoc can the correct parameter to generate doc
411
- pickPoint,
412
- // @ts-expect-error not use '_' prefix so that typedoc can the correct parameter to generate doc
413
- lastPoint,
414
- // @ts-expect-error not use '_' prefix so that typedoc can the correct parameter to generate doc
415
- snapPoints) { };
416
- /**
417
- * Transforms this entity by the specified matrix.
418
- *
419
- * This method applies a geometric transformation to the entity.
420
- * Subclasses should override this method to provide entity-specific
421
- * transformation behavior.
422
- *
423
- * @param matrix - The transformation matrix to apply
424
- * @returns This entity after transformation
425
- *
426
- * @example
427
- * ```typescript
428
- * const matrix = AcGeMatrix3d.translation(10, 0, 0);
429
- * entity.transformBy(matrix);
430
- * ```
431
- */
432
- // @ts-expect-error not use '_' prefix so that typedoc can the correct parameter to generate doc
433
- AcDbEntity.prototype.transformBy = function (matrix) {
434
- return this;
435
- };
436
- /**
437
- * Triggers a modified event for this entity.
438
- *
439
- * This method notifies listeners that the entity has been modified.
440
- *
441
- * @example
442
- * ```typescript
443
- * entity.triggerModifiedEvent();
444
- * ```
445
- */
446
- AcDbEntity.prototype.triggerModifiedEvent = function () {
447
- this.database.events.entityModified.dispatch({
448
- database: this.database,
449
- entity: this
450
- });
451
- };
452
- Object.defineProperty(AcDbEntity.prototype, "lineStyle", {
453
- /**
454
- * Gets the line style for this entity.
455
- *
456
- * This method returns the line style based on the entity's linetype
457
- * and other properties.
458
- *
459
- * @returns The line style object
460
- *
461
- * @example
462
- * ```typescript
463
- * const lineStyle = entity.lineStyle;
464
- * ```
465
- */
466
- get: function () {
467
- var _a;
468
- var linetypeName = this.getLineType();
469
- var linetypeRecord = (_a = this.database) === null || _a === void 0 ? void 0 : _a.tables.linetypeTable.getAt(linetypeName);
470
- if (linetypeRecord) {
471
- return __assign(__assign({}, linetypeRecord.linetype), { color: this.rgbColor });
472
- }
473
- else {
474
- return {
475
- name: linetypeName,
476
- standardFlag: 0,
477
- color: this.rgbColor,
478
- description: '',
479
- totalPatternLength: 0
480
- };
481
- }
482
- },
483
- enumerable: false,
484
- configurable: true
485
- });
486
- /**
487
- * Gets the line type for this entity.
488
- *
489
- * This method resolves the line type, handling ByLayer and ByBlock
490
- * references as needed.
491
- *
492
- * @returns The resolved line type name
493
- *
494
- * @example
495
- * ```typescript
496
- * const lineType = entity.getLineType();
497
- * ```
498
- */
499
- AcDbEntity.prototype.getLineType = function () {
500
- if (this.lineType == ByLayer) {
501
- var layer = this.database.tables.layerTable.getAt(this.layer);
502
- if (layer && layer.linetype)
503
- return layer.linetype;
504
- }
505
- else if (this.lineType == ByBlock) {
506
- // TODO: Get line type correctly
507
- return DEFAULT_LINE_TYPE;
508
- }
509
- else {
510
- return this.lineType;
511
- }
512
- return DEFAULT_LINE_TYPE;
513
- };
514
- /**
515
- * Gets the color of the layer this entity belongs to.
516
- *
517
- * This method retrieves the color from the layer table for the
518
- * layer this entity belongs to.
519
- *
520
- * @returns The layer color, or undefined if the layer doesn't exist
521
- *
522
- * @example
523
- * ```typescript
524
- * const layerColor = entity.getLayerColor();
525
- * ```
526
- */
527
- AcDbEntity.prototype.getLayerColor = function () {
528
- var layer = this.database.tables.layerTable.getAt(this.layer);
529
- if (layer == null) {
530
- console.error("The layer with name '".concat(this.layer, "' not found in drawing database!"));
531
- }
532
- else {
533
- return layer.color;
534
- }
535
- return null;
536
- };
537
- /**
538
- * Attaches entity information to a graphic interface entity.
539
- *
540
- * This method transfers essential entity properties (object ID, owner ID,
541
- * layer name, and visibility) from this entity to the target graphic
542
- * interface entity. This is typically used during the rendering process
543
- * to ensure the graphic entity has the correct metadata.
544
- *
545
- * @param target - The graphic interface entity to attach information to
546
- *
547
- */
548
- AcDbEntity.prototype.attachEntityInfo = function (target) {
549
- if (target) {
550
- target.objectId = this.objectId;
551
- target.ownerId = this.ownerId;
552
- target.layerName = this.layer;
553
- target.visible = this.visibility;
554
- }
555
- };
556
- /** The entity type name */
557
- AcDbEntity.typeName = 'Entity';
558
- return AcDbEntity;
559
- }(AcDbObject));
560
- export { AcDbEntity };
561
- //# sourceMappingURL=AcDbEntity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AcDbEntity.js","sourceRoot":"","sources":["../../src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