abstract-image 12.0.14 → 13.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.
- package/CHANGELOG.md +4 -0
- package/lib/exporters/dxf2d-export-image.d.ts +3 -0
- package/lib/exporters/dxf2d-export-image.d.ts.map +1 -1
- package/lib/exporters/dxf2d-export-image.js +901 -140
- package/lib/exporters/dxf2d-export-image.js.map +1 -1
- package/package.json +4 -4
- package/src/exporters/dxf2d-export-image.ts +1010 -150
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
4
4
|
|
|
5
|
+
## [13.0.0] - 2026-02-23
|
|
6
|
+
|
|
7
|
+
- Dxf AC1015 2D Exporter that can import external dxf files with the same standard.
|
|
8
|
+
|
|
5
9
|
## [12.0.0] - 2025-10-30
|
|
6
10
|
|
|
7
11
|
### Changed
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { AbstractImage } from "../model/abstract-image.js";
|
|
2
2
|
import { Optional } from "../model/shared.js";
|
|
3
|
+
export declare const DXF_STANDARD = "AC1015";
|
|
3
4
|
export declare const DXF_DATA_URL = "data:application/dxf,";
|
|
5
|
+
export declare const DXF_ENTITIES: string[];
|
|
4
6
|
export type DxfOptions = {
|
|
5
7
|
readonly imageDataByUrl: Record<string, `${typeof DXF_DATA_URL}${string}`>;
|
|
6
8
|
};
|
|
9
|
+
export type DxfSpace = "*Model_Space" | "*Paper_Space";
|
|
7
10
|
export declare function dxf2dExportImage(root: AbstractImage, options?: Optional<DxfOptions>): string;
|
|
8
11
|
//# sourceMappingURL=dxf2d-export-image.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dxf2d-export-image.d.ts","sourceRoot":"","sources":["../../src/exporters/dxf2d-export-image.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dxf2d-export-image.d.ts","sourceRoot":"","sources":["../../src/exporters/dxf2d-export-image.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAI3D,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAG9C,eAAO,MAAM,YAAY,WAAW,CAAC;AACrC,eAAO,MAAM,YAAY,0BAA0B,CAAC;AACpD,eAAO,MAAM,YAAY,EAAE,MAAM,EA6ChC,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,OAAO,YAAY,GAAG,MAAM,EAAE,CAAC,CAAC;CAC5E,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,cAAc,GAAG,cAAc,CAAC;AAoBvD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,QAAQ,CAAC,UAAU,CAAC,GAAG,MAAM,CAsE5F"}
|