@bill_nee/dwg-reader 0.0.0-stage → 1.0.0

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 (99) hide show
  1. package/LICENSE +615 -0
  2. package/cordis.patch.yml +3 -0
  3. package/icon.svg +15 -0
  4. package/lib/index.js +355 -0
  5. package/locale/en.json +6 -0
  6. package/locale/zh.json +6 -0
  7. package/package.json +32 -4
  8. package/vendor/libredwg-web/lib/converter/converter.js +1102 -0
  9. package/vendor/libredwg-web/lib/converter/dwgColorToMLeaderRawColor.js +55 -0
  10. package/vendor/libredwg-web/lib/converter/entityConverter.js +2050 -0
  11. package/vendor/libredwg-web/lib/converter/index.js +3 -0
  12. package/vendor/libredwg-web/lib/converter/utils.js +46 -0
  13. package/vendor/libredwg-web/lib/database/classes/class.js +2 -0
  14. package/vendor/libredwg-web/lib/database/classes/index.js +2 -0
  15. package/vendor/libredwg-web/lib/database/codepage.js +101 -0
  16. package/vendor/libredwg-web/lib/database/common.js +2 -0
  17. package/vendor/libredwg-web/lib/database/database.js +2 -0
  18. package/vendor/libredwg-web/lib/database/entities/3dface.js +2 -0
  19. package/vendor/libredwg-web/lib/database/entities/arc.js +2 -0
  20. package/vendor/libredwg-web/lib/database/entities/arcAlignedText.js +2 -0
  21. package/vendor/libredwg-web/lib/database/entities/attdef.js +2 -0
  22. package/vendor/libredwg-web/lib/database/entities/attrib.js +2 -0
  23. package/vendor/libredwg-web/lib/database/entities/circle.js +2 -0
  24. package/vendor/libredwg-web/lib/database/entities/dimension.js +70 -0
  25. package/vendor/libredwg-web/lib/database/entities/ellipse.js +2 -0
  26. package/vendor/libredwg-web/lib/database/entities/entity.js +2 -0
  27. package/vendor/libredwg-web/lib/database/entities/hatch.js +54 -0
  28. package/vendor/libredwg-web/lib/database/entities/image.js +2 -0
  29. package/vendor/libredwg-web/lib/database/entities/index.js +38 -0
  30. package/vendor/libredwg-web/lib/database/entities/insert.js +2 -0
  31. package/vendor/libredwg-web/lib/database/entities/leader.js +2 -0
  32. package/vendor/libredwg-web/lib/database/entities/line.js +2 -0
  33. package/vendor/libredwg-web/lib/database/entities/lwpolyline.js +2 -0
  34. package/vendor/libredwg-web/lib/database/entities/mline.js +2 -0
  35. package/vendor/libredwg-web/lib/database/entities/mtext.js +2 -0
  36. package/vendor/libredwg-web/lib/database/entities/multileader.js +2 -0
  37. package/vendor/libredwg-web/lib/database/entities/ole2frame.js +2 -0
  38. package/vendor/libredwg-web/lib/database/entities/oleframe.js +2 -0
  39. package/vendor/libredwg-web/lib/database/entities/point.js +2 -0
  40. package/vendor/libredwg-web/lib/database/entities/polyline.js +19 -0
  41. package/vendor/libredwg-web/lib/database/entities/proxy.js +10 -0
  42. package/vendor/libredwg-web/lib/database/entities/ray.js +2 -0
  43. package/vendor/libredwg-web/lib/database/entities/section.js +2 -0
  44. package/vendor/libredwg-web/lib/database/entities/shape.js +2 -0
  45. package/vendor/libredwg-web/lib/database/entities/solid.js +2 -0
  46. package/vendor/libredwg-web/lib/database/entities/solid3d.js +2 -0
  47. package/vendor/libredwg-web/lib/database/entities/spline.js +2 -0
  48. package/vendor/libredwg-web/lib/database/entities/table.js +2 -0
  49. package/vendor/libredwg-web/lib/database/entities/text.js +23 -0
  50. package/vendor/libredwg-web/lib/database/entities/tolerance.js +2 -0
  51. package/vendor/libredwg-web/lib/database/entities/trace.js +2 -0
  52. package/vendor/libredwg-web/lib/database/entities/vertex.js +2 -0
  53. package/vendor/libredwg-web/lib/database/entities/viewport.js +2 -0
  54. package/vendor/libredwg-web/lib/database/entities/wipeout.js +2 -0
  55. package/vendor/libredwg-web/lib/database/entities/xline.js +2 -0
  56. package/vendor/libredwg-web/lib/database/header/header.js +2 -0
  57. package/vendor/libredwg-web/lib/database/header/index.js +3 -0
  58. package/vendor/libredwg-web/lib/database/header/variables.js +217 -0
  59. package/vendor/libredwg-web/lib/database/index.js +12 -0
  60. package/vendor/libredwg-web/lib/database/objects/common.js +2 -0
  61. package/vendor/libredwg-web/lib/database/objects/dictionary.js +19 -0
  62. package/vendor/libredwg-web/lib/database/objects/imageDef.js +2 -0
  63. package/vendor/libredwg-web/lib/database/objects/index.js +11 -0
  64. package/vendor/libredwg-web/lib/database/objects/layerFilter.js +2 -0
  65. package/vendor/libredwg-web/lib/database/objects/layerIndex.js +2 -0
  66. package/vendor/libredwg-web/lib/database/objects/layout.js +2 -0
  67. package/vendor/libredwg-web/lib/database/objects/mleaderStyle.js +2 -0
  68. package/vendor/libredwg-web/lib/database/objects/plotSetting.js +2 -0
  69. package/vendor/libredwg-web/lib/database/objects/spatialFilter.js +2 -0
  70. package/vendor/libredwg-web/lib/database/objects/xrecord.js +2 -0
  71. package/vendor/libredwg-web/lib/database/shared/index.js +2 -0
  72. package/vendor/libredwg-web/lib/database/shared/xdata.js +2 -0
  73. package/vendor/libredwg-web/lib/database/tables/appId.js +2 -0
  74. package/vendor/libredwg-web/lib/database/tables/blockRecord.js +2 -0
  75. package/vendor/libredwg-web/lib/database/tables/dimStyle.js +2 -0
  76. package/vendor/libredwg-web/lib/database/tables/index.js +9 -0
  77. package/vendor/libredwg-web/lib/database/tables/layer.js +2 -0
  78. package/vendor/libredwg-web/lib/database/tables/ltype.js +2 -0
  79. package/vendor/libredwg-web/lib/database/tables/style.js +2 -0
  80. package/vendor/libredwg-web/lib/database/tables/table.js +2 -0
  81. package/vendor/libredwg-web/lib/database/tables/vport.js +2 -0
  82. package/vendor/libredwg-web/lib/database/textEscapes.js +19 -0
  83. package/vendor/libredwg-web/lib/database/version.js +260 -0
  84. package/vendor/libredwg-web/lib/index.js +4 -0
  85. package/vendor/libredwg-web/lib/libredwg.js +1271 -0
  86. package/vendor/libredwg-web/lib/svg/box2d.js +104 -0
  87. package/vendor/libredwg-web/lib/svg/bspline.js +95 -0
  88. package/vendor/libredwg-web/lib/svg/color.js +371 -0
  89. package/vendor/libredwg-web/lib/svg/index.js +2 -0
  90. package/vendor/libredwg-web/lib/svg/polyline.js +70 -0
  91. package/vendor/libredwg-web/lib/svg/svgConverter.js +540 -0
  92. package/vendor/libredwg-web/lib/svg/transformBoundingBoxAndElement.js +20 -0
  93. package/vendor/libredwg-web/lib/svg/vector.js +27 -0
  94. package/vendor/libredwg-web/lib/types/common.js +2 -0
  95. package/vendor/libredwg-web/lib/types/enums.js +390 -0
  96. package/vendor/libredwg-web/lib/types/index.js +3 -0
  97. package/vendor/libredwg-web/wasm/libredwg-web.js +2 -0
  98. package/vendor/libredwg-web/wasm/libredwg-web.wasm +0 -0
  99. package/README.md +0 -3
@@ -0,0 +1,217 @@
1
+ export const HEADER_VARIABLES = Object.freeze([
2
+ 'ACADMAINTVER',
3
+ 'ACADVER',
4
+ 'ANGBASE',
5
+ 'ANGDIR',
6
+ 'ATTMODE',
7
+ 'AUNITS',
8
+ 'AUPREC',
9
+ 'CECOLOR',
10
+ 'CELTSCALE',
11
+ 'CELTYPE',
12
+ 'CELWEIGHT',
13
+ 'CEPSNID',
14
+ 'CEPSNTYPE',
15
+ 'CHAMFERA',
16
+ 'CHAMFERB',
17
+ 'CHAMFERC',
18
+ 'CHAMFERD',
19
+ 'CLAYER',
20
+ 'CMLJUST',
21
+ 'CMLSCALE',
22
+ 'CMLSTYLE',
23
+ 'CSHADOW',
24
+ 'DIMADEC',
25
+ 'DIMALT',
26
+ 'DIMALTD',
27
+ 'DIMALTF',
28
+ 'DIMALTRND',
29
+ 'DIMALTTD',
30
+ 'DIMALTTZ',
31
+ 'DIMALTU',
32
+ 'DIMALTZ',
33
+ 'DIMAPOST',
34
+ 'DIMASO',
35
+ 'DIMASSOC',
36
+ 'DIMASZ',
37
+ 'DIMATFIT',
38
+ 'DIMAUNIT',
39
+ 'DIMAZIN',
40
+ 'DIMBLK',
41
+ 'DIMBLK1',
42
+ 'DIMBLK2',
43
+ 'DIMCEN',
44
+ 'DIMCLRD',
45
+ 'DIMCLRE',
46
+ 'DIMCLRT',
47
+ 'DIMDEC',
48
+ 'DIMDLE',
49
+ 'DIMDLI',
50
+ 'DIMDSEP',
51
+ 'DIMEXE',
52
+ 'DIMEXO',
53
+ 'DIMFAC',
54
+ 'DIMGAP',
55
+ 'DIMJUST',
56
+ 'DIMLDRBLK',
57
+ 'DIMLFAC',
58
+ 'DIMLIM',
59
+ 'DIMLUNIT',
60
+ 'DIMLWD',
61
+ 'DIMLWE',
62
+ 'DIMPOST',
63
+ 'DIMRND',
64
+ 'DIMSAH',
65
+ 'DIMSCALE',
66
+ 'DIMSD1',
67
+ 'DIMSD2',
68
+ 'DIMSE1',
69
+ 'DIMSE2',
70
+ 'DIMSHO',
71
+ 'DIMSOXD',
72
+ 'DIMSTYLE',
73
+ 'DIMTAD',
74
+ 'DIMTDEC',
75
+ 'DIMTFAC',
76
+ 'DIMTIH',
77
+ 'DIMTIX',
78
+ 'DIMTM',
79
+ 'DIMTMOVE',
80
+ 'DIMTOFL',
81
+ 'DIMTOH',
82
+ 'DIMTOL',
83
+ 'DIMTOLJ',
84
+ 'DIMTP',
85
+ 'DIMTSZ',
86
+ 'DIMTVP',
87
+ 'DIMTXSTY',
88
+ 'DIMTXT',
89
+ 'DIMTZIN',
90
+ 'DIMUPT',
91
+ 'DIMZIN',
92
+ 'DISPSILH',
93
+ 'DRAGVS',
94
+ 'DWGCODEPAGE',
95
+ 'ELEVATION',
96
+ 'ENDCAPS',
97
+ 'EXTMAX',
98
+ 'EXTMIN',
99
+ 'EXTNAMES',
100
+ 'FILLETRAD',
101
+ 'FILLMODE',
102
+ 'FINGERPRINTGUID',
103
+ 'HALOGAP',
104
+ 'HANDSEED',
105
+ 'HIDETEXT',
106
+ 'HYPERLINKBASE',
107
+ 'INDEXCTL',
108
+ 'INSBASE',
109
+ 'INSUNITS',
110
+ 'INTERFERECOLOR',
111
+ 'INTERFEREOBJVS',
112
+ 'INTERFEREVPVS',
113
+ 'INTERSECTIONCOLOR',
114
+ 'INTERSECTIONDISPLAY',
115
+ 'JOINSTYLE',
116
+ 'LIMCHECK',
117
+ 'LIMMAX',
118
+ 'LIMMIN',
119
+ 'LTSCALE',
120
+ 'LUNITS',
121
+ 'LUPREC',
122
+ 'LWDISPLAY',
123
+ 'MAXACTVP',
124
+ 'MEASUREMENT',
125
+ 'MENU',
126
+ 'MIRRTEXT',
127
+ 'OBSCOLOR',
128
+ 'OBSLTYPE',
129
+ 'ORTHOMODE',
130
+ 'PDMODE',
131
+ 'PDSIZE',
132
+ 'PELEVATION',
133
+ 'PEXTMAX',
134
+ 'PEXTMIN',
135
+ 'PINSBASE',
136
+ 'PLIMCHECK',
137
+ 'PLIMMAX',
138
+ 'PLIMMIN',
139
+ 'PLINEGEN',
140
+ 'PLINEWID',
141
+ 'PROJECTNAME',
142
+ 'PROXYGRAPHICS',
143
+ 'PSLTSCALE',
144
+ 'PSTYLEMODE',
145
+ 'PSVPSCALE',
146
+ 'PUCSBASE',
147
+ 'PUCSNAME',
148
+ 'PUCSORG',
149
+ 'PUCSORGBACK',
150
+ 'PUCSORGBOTTOM',
151
+ 'PUCSORGFRONT',
152
+ 'PUCSORGLEFT',
153
+ 'PUCSORGRIGHT',
154
+ 'PUCSORGTOP',
155
+ 'PUCSORTHOREF',
156
+ 'PUCSORTHOVIEW',
157
+ 'PUCSXDIR',
158
+ 'PUCSYDIR',
159
+ 'QTEXTMODE',
160
+ 'REGENMODE',
161
+ 'SHADEDGE',
162
+ 'SHADEDIF',
163
+ 'SHADOWPLANELOCATION',
164
+ 'SKETCHINC',
165
+ 'SKPOLY',
166
+ 'SORTENTS',
167
+ 'SPLINESEGS',
168
+ 'SPLINETYPE',
169
+ 'SURFTAB1',
170
+ 'SURFTAB2',
171
+ 'SURFTYPE',
172
+ 'SURFU',
173
+ 'SURFV',
174
+ 'TDCREATE',
175
+ 'TDINDWG',
176
+ 'TDUCREATE',
177
+ 'TDUPDATE',
178
+ 'TDUSRTIMER',
179
+ 'TDUUPDATE',
180
+ 'TEXTSIZE',
181
+ 'TEXTSTYLE',
182
+ 'THICKNESS',
183
+ 'TILEMODE',
184
+ 'TRACEWID',
185
+ 'TREEDEPTH',
186
+ 'UCSBASE',
187
+ 'UCSNAME',
188
+ 'UCSORG',
189
+ 'UCSORGBACK',
190
+ 'UCSORGBOTTOM',
191
+ 'UCSORGFRONT',
192
+ 'UCSORGLEFT',
193
+ 'UCSORGRIGHT',
194
+ 'UCSORGTOP',
195
+ 'UCSORTHOREF',
196
+ 'UCSORTHOVIEW',
197
+ 'UCSXDIR',
198
+ 'UCSYDIR',
199
+ 'UNITMODE',
200
+ 'USERI1',
201
+ 'USERI2',
202
+ 'USERI3',
203
+ 'USERI4',
204
+ 'USERI5',
205
+ 'USERR1',
206
+ 'USERR2',
207
+ 'USERR3',
208
+ 'USERR4',
209
+ 'USERR5',
210
+ 'USRTIMER',
211
+ 'VERSIONGUID',
212
+ 'VISRETAIN',
213
+ 'WORLDVIEW',
214
+ 'XCLIPFRAME',
215
+ 'XEDIT'
216
+ ]);
217
+ //# sourceMappingURL=variables.js.map
@@ -0,0 +1,12 @@
1
+ export * from './classes/index.js';
2
+ export * from './common.js';
3
+ export * from './codepage.js';
4
+ export * from './database.js';
5
+ export * from './entities/index.js';
6
+ export * from './header/index.js';
7
+ export * from './objects/index.js';
8
+ export * from './shared/index.js';
9
+ export * from './tables/index.js';
10
+ export * from './textEscapes.js';
11
+ export * from './version.js';
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=common.js.map
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Duplicate record cloning flag (determines how to merge duplicate entries)
3
+ * - 0: Not applicable
4
+ * - 1: Keep existing
5
+ * - 2: Use clone
6
+ * - 3: <xref>$0$<name>
7
+ * - 4: $0$<name>
8
+ * - 5: Unmangle name
9
+ */
10
+ export var DwgDictionaryCloningFlags;
11
+ (function (DwgDictionaryCloningFlags) {
12
+ DwgDictionaryCloningFlags[DwgDictionaryCloningFlags["NotApplicable"] = 0] = "NotApplicable";
13
+ DwgDictionaryCloningFlags[DwgDictionaryCloningFlags["KeepExisting"] = 1] = "KeepExisting";
14
+ DwgDictionaryCloningFlags[DwgDictionaryCloningFlags["UseClone"] = 2] = "UseClone";
15
+ DwgDictionaryCloningFlags[DwgDictionaryCloningFlags["XrefName"] = 3] = "XrefName";
16
+ DwgDictionaryCloningFlags[DwgDictionaryCloningFlags["Name"] = 4] = "Name";
17
+ DwgDictionaryCloningFlags[DwgDictionaryCloningFlags["UnmangleName"] = 5] = "UnmangleName";
18
+ })(DwgDictionaryCloningFlags || (DwgDictionaryCloningFlags = {}));
19
+ //# sourceMappingURL=dictionary.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=imageDef.js.map
@@ -0,0 +1,11 @@
1
+ export * from './common.js';
2
+ export * from './dictionary.js';
3
+ export * from './imageDef.js';
4
+ export * from './layerFilter.js';
5
+ export * from './layerIndex.js';
6
+ export * from './layout.js';
7
+ export * from './mleaderStyle.js';
8
+ export * from './plotSetting.js';
9
+ export * from './spatialFilter.js';
10
+ export * from './xrecord.js';
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=layerFilter.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=layerIndex.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=layout.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=mleaderStyle.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=plotSetting.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=spatialFilter.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=xrecord.js.map
@@ -0,0 +1,2 @@
1
+ export * from './xdata.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=xdata.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=appId.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=blockRecord.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dimStyle.js.map
@@ -0,0 +1,9 @@
1
+ export * from './appId.js';
2
+ export * from './blockRecord.js';
3
+ export * from './dimStyle.js';
4
+ export * from './layer.js';
5
+ export * from './ltype.js';
6
+ export * from './style.js';
7
+ export * from './table.js';
8
+ export * from './vport.js';
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=layer.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ltype.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=style.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=table.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=vport.js.map
@@ -0,0 +1,19 @@
1
+ /**
2
+ * AutoCAD stores characters outside the drawing's code page as `\U+XXXX`
3
+ * escape sequences (exactly four hex digits). Decode them so TEXT / MTEXT /
4
+ * ATTRIB / layer names become real Unicode instead of literal escapes.
5
+ *
6
+ * Adjacent high/low surrogate escapes (e.g. `\U+D83D\U+DE00`) expand to
7
+ * UTF-16 code units that form one supplementary-plane character in JS strings.
8
+ */
9
+ const UNICODE_ESCAPE = /\\U\+([0-9A-Fa-f]{4})/g;
10
+ /**
11
+ * Replaces AutoCAD `\U+XXXX` escapes with the corresponding Unicode characters.
12
+ */
13
+ export function decodeUnicodeEscapes(text) {
14
+ if (!text || !text.includes('\\U+')) {
15
+ return text;
16
+ }
17
+ return text.replace(UNICODE_ESCAPE, (_, hex) => String.fromCharCode(parseInt(hex, 16)));
18
+ }
19
+ //# sourceMappingURL=textEscapes.js.map
@@ -0,0 +1,260 @@
1
+ export const dwgVersions = [
2
+ {
3
+ type: 'invalid',
4
+ hdr: 'INVALI',
5
+ description: 'No DWG',
6
+ version: 0
7
+ },
8
+ {
9
+ type: 'r1.1',
10
+ hdr: 'MC0.0',
11
+ description: 'MicroCAD Release 1.1',
12
+ version: 0
13
+ },
14
+ {
15
+ type: 'r1.2',
16
+ hdr: 'AC1.2',
17
+ description: 'AutoCAD Release 1.2',
18
+ version: 0
19
+ },
20
+ {
21
+ type: 'r1.3',
22
+ hdr: 'AC1.3',
23
+ description: 'AutoCAD Release 1.3',
24
+ version: 1
25
+ },
26
+ {
27
+ type: 'r1.4',
28
+ hdr: 'AC1.40',
29
+ description: 'AutoCAD Release 1.4',
30
+ version: 2
31
+ },
32
+ { type: 'r2.0b', hdr: 'AC1.50', description: 'AutoCAD 2.0 beta', version: 3 }, // not seen
33
+ {
34
+ type: 'r2.0',
35
+ hdr: 'AC1.50',
36
+ description: 'AutoCAD Release 2.0',
37
+ version: 4
38
+ },
39
+ {
40
+ type: 'r2.10',
41
+ hdr: 'AC2.10',
42
+ description: 'AutoCAD Release 2.10',
43
+ version: 5
44
+ },
45
+ {
46
+ type: 'r2.21',
47
+ hdr: 'AC2.21',
48
+ description: 'AutoCAD Release 2.21',
49
+ version: 6
50
+ },
51
+ {
52
+ type: 'r2.22',
53
+ hdr: 'AC2.22',
54
+ description: 'AutoCAD Release 2.22',
55
+ version: 7
56
+ },
57
+ {
58
+ type: 'r2.4',
59
+ hdr: 'AC1001',
60
+ description: 'AutoCAD Release 2.4',
61
+ version: 8
62
+ },
63
+ {
64
+ type: 'r2.5',
65
+ hdr: 'AC1002',
66
+ description: 'AutoCAD Release 2.5',
67
+ version: 9
68
+ },
69
+ {
70
+ type: 'r2.6',
71
+ hdr: 'AC1003',
72
+ description: 'AutoCAD Release 2.6',
73
+ version: 10
74
+ },
75
+ { type: 'r9', hdr: 'AC1004', description: 'AutoCAD Release 9', version: 0xb },
76
+ {
77
+ type: 'r9c1',
78
+ hdr: 'AC1005',
79
+ description: 'AutoCAD Release 9c1',
80
+ version: 0xc
81
+ },
82
+ {
83
+ type: 'r10',
84
+ hdr: 'AC1006',
85
+ description: 'AutoCAD Release 10',
86
+ version: 0xd
87
+ },
88
+ {
89
+ type: 'r11b1',
90
+ hdr: 'AC1007',
91
+ description: 'AutoCAD 11 beta 1',
92
+ version: 0xe
93
+ },
94
+ {
95
+ type: 'r11b2',
96
+ hdr: 'AC1008',
97
+ description: 'AutoCAD 11 beta 2',
98
+ version: 0xf
99
+ },
100
+ {
101
+ type: 'r11',
102
+ hdr: 'AC1009',
103
+ description: 'AutoCAD Release 11/12 (LT R1/R2)',
104
+ version: 0x10
105
+ },
106
+ {
107
+ type: 'r13b1',
108
+ hdr: 'AC1010',
109
+ description: 'AutoCAD pre-R13 a',
110
+ version: 0x11
111
+ },
112
+ {
113
+ type: 'r13b2',
114
+ hdr: 'AC1011',
115
+ description: 'AutoCAD pre-R13 b',
116
+ version: 0x12
117
+ },
118
+ {
119
+ type: 'r13',
120
+ hdr: 'AC1012',
121
+ description: 'AutoCAD Release 13',
122
+ version: 0x13
123
+ },
124
+ {
125
+ type: 'r13c3',
126
+ hdr: 'AC1013',
127
+ description: 'AutoCAD Release 13c3',
128
+ version: 0x14
129
+ },
130
+ {
131
+ type: 'r14',
132
+ hdr: 'AC1014',
133
+ description: 'AutoCAD Release 14',
134
+ version: 0x15
135
+ },
136
+ {
137
+ type: 'r2000b',
138
+ hdr: 'AC1500',
139
+ description: 'AutoCAD 2000 beta',
140
+ version: 0x16
141
+ },
142
+ {
143
+ type: 'r2000',
144
+ hdr: 'AC1015',
145
+ description: 'AutoCAD Release 2000',
146
+ version: 0x17
147
+ },
148
+ {
149
+ type: 'r2000i',
150
+ hdr: 'AC1016',
151
+ description: 'AutoCAD Release 2000i',
152
+ version: 0x17
153
+ },
154
+ {
155
+ type: 'r2002',
156
+ hdr: 'AC1017',
157
+ description: 'AutoCAD Release 2002',
158
+ version: 0x17
159
+ },
160
+ {
161
+ type: 'r2004a',
162
+ hdr: 'AC402a',
163
+ description: 'AutoCAD 2004 alpha a',
164
+ version: 0x18
165
+ },
166
+ {
167
+ type: 'r2004b',
168
+ hdr: 'AC402b',
169
+ description: 'AutoCAD 2004 alpha b',
170
+ version: 0x18
171
+ },
172
+ {
173
+ type: 'r2004c',
174
+ hdr: 'AC1018',
175
+ description: 'AutoCAD 2004 beta',
176
+ version: 0x18
177
+ },
178
+ // (includes versions AC1019/0x19 and AC1020/0x1a)
179
+ {
180
+ type: 'r2004',
181
+ hdr: 'AC1018',
182
+ description: 'AutoCAD Release 2004',
183
+ version: 0x19
184
+ },
185
+ //{ type: "r2005", hdr: "AC1019", description: "AutoCAD 2005", version: 0x19 }, // not seen
186
+ //{ type: "r2006", hdr: "AC1020", description: "AutoCAD 2006", version: 0x19 }, // not seen
187
+ {
188
+ type: 'r2007a',
189
+ hdr: 'AC701a',
190
+ description: 'AutoCAD 2007 alpha',
191
+ version: 0x1a
192
+ },
193
+ {
194
+ type: 'r2007b',
195
+ hdr: 'AC1021',
196
+ description: 'AutoCAD 2007 beta',
197
+ version: 0x1a
198
+ },
199
+ {
200
+ type: 'r2007',
201
+ hdr: 'AC1021',
202
+ description: 'AutoCAD Release 2007',
203
+ version: 0x1b
204
+ },
205
+ //{ type: "r2008", hdr: "AC1022", description: "AutoCAD 2008", version: 0x1b }, // not seen
206
+ //{ type: "r2009", hdr: "AC1023", description: "AutoCAD 2009", version: 0x1b }, // not seen
207
+ {
208
+ type: 'r2010b',
209
+ hdr: 'AC1024',
210
+ description: 'AutoCAD 2010 beta',
211
+ version: 0x1c
212
+ },
213
+ {
214
+ type: 'r2010',
215
+ hdr: 'AC1024',
216
+ description: 'AutoCAD Release 2010',
217
+ version: 0x1d
218
+ },
219
+ //{ type: "r2011", hdr: "AC1025", description: "AutoCAD 2011", version: 0x1d }, // not seen
220
+ //{ type: "r2012", hdr: "AC1026", description: "AutoCAD 2012", version: 0x1e }, // not seen
221
+ {
222
+ type: 'r2013b',
223
+ hdr: 'AC1027',
224
+ description: 'AutoCAD 2013 beta',
225
+ version: 0x1e
226
+ },
227
+ {
228
+ type: 'r2013',
229
+ hdr: 'AC1027',
230
+ description: 'AutoCAD Release 2013',
231
+ version: 0x1f
232
+ },
233
+ //{ type: "r2014", hdr: "AC1028", description: "AutoCAD 2014", version: 0x1f }, // not seen
234
+ //{ type: "r2015", hdr: "AC1029", description: "AutoCAD 2015", version: 0x1f }, // not seen
235
+ //{ type: "r2016", hdr: "AC1030", description: "AutoCAD 2016", version: 0x1f }, // not seen
236
+ //{ type: "r2017", hdr: "AC1031", description: "AutoCAD 2017", version: 0x20 }, // not seen
237
+ {
238
+ type: 'r2018b',
239
+ hdr: 'AC1032',
240
+ description: 'AutoCAD 2018 beta',
241
+ version: 0x20
242
+ },
243
+ {
244
+ type: 'r2018',
245
+ hdr: 'AC1032',
246
+ description: 'AutoCAD Release 2018',
247
+ version: 0x21
248
+ },
249
+ //{ type: "r2019", "AC1033", description: "AutoCAD Release 2019", version: 0x22 }, // not seen
250
+ //{ type: "r2020", "AC1034", description: "AutoCAD Release 2020", version: 0x23 }, // not seen
251
+ //{ type: "r2021", "AC1035", description: "AutoCAD Release 2021", version: 0x23 }, // not seen
252
+ {
253
+ type: 'r2022b',
254
+ hdr: 'AC103-4',
255
+ description: 'AutoCAD 2022 beta',
256
+ version: 0x24
257
+ },
258
+ { type: 'r>2022', hdr: '', description: 'AutoCAD Release >2022', version: 0 }
259
+ ];
260
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1,4 @@
1
+ export * from './database/index.js';
2
+ export * from './libredwg.js';
3
+ export * from './types/index.js';
4
+ //# sourceMappingURL=index.js.map