easyeda 0.0.333 → 0.0.334
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/dist/browser/index.js +2 -2
- package/dist/browser/index.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/main.cjs +3 -3
- package/dist/main.cjs.map +1 -1
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -1026,7 +1026,7 @@ var import_promises = __toESM(require("fs/promises"), 1);
|
|
|
1026
1026
|
var package_default = {
|
|
1027
1027
|
name: "easyeda",
|
|
1028
1028
|
type: "module",
|
|
1029
|
-
version: "0.0.
|
|
1029
|
+
version: "0.0.333",
|
|
1030
1030
|
files: [
|
|
1031
1031
|
"dist"
|
|
1032
1032
|
],
|
|
@@ -7677,7 +7677,7 @@ var handleRect = (rect, index) => {
|
|
|
7677
7677
|
width,
|
|
7678
7678
|
height,
|
|
7679
7679
|
layer,
|
|
7680
|
-
stroke_width:
|
|
7680
|
+
stroke_width: mil10ToMm(rect.lineWidth),
|
|
7681
7681
|
is_filled: rect.fillStyle !== "none",
|
|
7682
7682
|
has_stroke: rect.lineWidth > 0,
|
|
7683
7683
|
ccw_rotation: rect.rotation
|
|
@@ -8501,7 +8501,7 @@ var ShapeItemSchema = import_zod193.z.object({
|
|
|
8501
8501
|
return SVGNodeSchema.parse({ type: "SVGNODE", svgData });
|
|
8502
8502
|
}
|
|
8503
8503
|
case "RECT": {
|
|
8504
|
-
const [x, y, width, height,
|
|
8504
|
+
const [x, y, width, height, layer, id, rotation2, lineWidth, fillStyle] = shape.data.split("~");
|
|
8505
8505
|
const r = rotation2 ? Number(rotation2) : void 0;
|
|
8506
8506
|
return RectSchema.parse({
|
|
8507
8507
|
type: "RECT",
|