easyeda 0.0.26 → 0.0.28
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/cli/main.cjs +5 -3
- package/dist/cli/main.cjs.map +1 -1
- package/dist/lib/index.cjs +25 -1
- package/dist/lib/index.cjs.map +1 -1
- package/dist/lib/index.d.cts +2136 -4
- package/package.json +1 -1
package/dist/lib/index.cjs
CHANGED
|
@@ -28648,9 +28648,21 @@ ${template_code}%`;
|
|
|
28648
28648
|
// lib/index.ts
|
|
28649
28649
|
var lib_exports = {};
|
|
28650
28650
|
__export(lib_exports, {
|
|
28651
|
+
BBoxSchema: () => BBoxSchema,
|
|
28652
|
+
DataStrSchema: () => DataStrSchema,
|
|
28653
|
+
EasyEdaJsonSchema: () => EasyEdaJsonSchema,
|
|
28654
|
+
HeadSchema: () => HeadSchema,
|
|
28655
|
+
LayerItemSchema: () => LayerItemSchema,
|
|
28656
|
+
LcscSchema: () => LcscSchema,
|
|
28657
|
+
ObjectItemSchema: () => ObjectItemSchema,
|
|
28658
|
+
OwnerSchema: () => OwnerSchema,
|
|
28659
|
+
PackageDetailDataStrSchema: () => PackageDetailDataStrSchema,
|
|
28660
|
+
PackageDetailSchema: () => PackageDetailSchema,
|
|
28661
|
+
SzlcscSchema: () => SzlcscSchema,
|
|
28651
28662
|
convertEasyEdaJsonToTscircuitSoupJson: () => convertEasyEdaJsonToTscircuitSoupJson,
|
|
28652
28663
|
convertRawEasyEdaToTs: () => convertRawEasyEdaToTs,
|
|
28653
28664
|
fetchEasyEDAComponent: () => fetchEasyEDAComponent,
|
|
28665
|
+
maybeNumber: () => maybeNumber,
|
|
28654
28666
|
normalizeManufacturerPartNumber: () => normalizeManufacturerPartNumber
|
|
28655
28667
|
});
|
|
28656
28668
|
module.exports = __toCommonJS(lib_exports);
|
|
@@ -28831,7 +28843,7 @@ var ShapeItemSchema = import_zod.z.object({
|
|
|
28831
28843
|
endX,
|
|
28832
28844
|
endY
|
|
28833
28845
|
] = arcData.match(
|
|
28834
|
-
/M
|
|
28846
|
+
/M\s*([\d.]+)(?:\s*,\s*|\s+)([\d.]+)\s*A\s*([\d.]+)(?:\s*,\s*|\s+)([\d.]+)\s*([\d.]+)\s*([01])\s*([01])\s*([\d.]+)(?:\s*,\s*|\s+)([\d.]+)/
|
|
28835
28847
|
);
|
|
28836
28848
|
const start = [Number(startX), Number(startY)];
|
|
28837
28849
|
const end = [Number(endX), Number(endY)];
|
|
@@ -29634,9 +29646,21 @@ var checkModelObjUrlValidity = async (url) => {
|
|
|
29634
29646
|
};
|
|
29635
29647
|
// Annotate the CommonJS export names for ESM import in node:
|
|
29636
29648
|
0 && (module.exports = {
|
|
29649
|
+
BBoxSchema,
|
|
29650
|
+
DataStrSchema,
|
|
29651
|
+
EasyEdaJsonSchema,
|
|
29652
|
+
HeadSchema,
|
|
29653
|
+
LayerItemSchema,
|
|
29654
|
+
LcscSchema,
|
|
29655
|
+
ObjectItemSchema,
|
|
29656
|
+
OwnerSchema,
|
|
29657
|
+
PackageDetailDataStrSchema,
|
|
29658
|
+
PackageDetailSchema,
|
|
29659
|
+
SzlcscSchema,
|
|
29637
29660
|
convertEasyEdaJsonToTscircuitSoupJson,
|
|
29638
29661
|
convertRawEasyEdaToTs,
|
|
29639
29662
|
fetchEasyEDAComponent,
|
|
29663
|
+
maybeNumber,
|
|
29640
29664
|
normalizeManufacturerPartNumber
|
|
29641
29665
|
});
|
|
29642
29666
|
/*! Bundled license information:
|