easyeda 0.0.274 → 0.0.275

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/index.d.ts CHANGED
@@ -209,6 +209,7 @@ declare const DataStrSchema: z.ZodObject<{
209
209
  y: number;
210
210
  };
211
211
  color: string;
212
+ fillColor?: string | undefined;
212
213
  } | {
213
214
  type: "ELLIPSE";
214
215
  id: string;
@@ -220,6 +221,7 @@ declare const DataStrSchema: z.ZodObject<{
220
221
  radiusY: number;
221
222
  lineWidth: number;
222
223
  color: string;
224
+ fillColor?: string | undefined;
223
225
  } | {
224
226
  type: "ARC";
225
227
  id: string;
@@ -234,6 +236,7 @@ declare const DataStrSchema: z.ZodObject<{
234
236
  radius: number;
235
237
  lineWidth: number;
236
238
  sweepFlag: boolean;
239
+ pathData: string;
237
240
  color: string;
238
241
  } | {
239
242
  path: string;
@@ -306,6 +309,7 @@ declare const DataStrSchema: z.ZodObject<{
306
309
  height: z.ZodNumber;
307
310
  color: z.ZodString;
308
311
  lineWidth: z.ZodNumber;
312
+ fillColor: z.ZodOptional<z.ZodString>;
309
313
  id: z.ZodString;
310
314
  }, "strip", z.ZodTypeAny, {
311
315
  type: "RECTANGLE";
@@ -318,6 +322,7 @@ declare const DataStrSchema: z.ZodObject<{
318
322
  y: number;
319
323
  };
320
324
  color: string;
325
+ fillColor?: string | undefined;
321
326
  }, {
322
327
  type: "RECTANGLE";
323
328
  id: string;
@@ -329,6 +334,7 @@ declare const DataStrSchema: z.ZodObject<{
329
334
  y: number;
330
335
  };
331
336
  color: string;
337
+ fillColor?: string | undefined;
332
338
  }>, z.ZodObject<{
333
339
  type: z.ZodLiteral<"ELLIPSE">;
334
340
  center: z.ZodObject<{
@@ -345,6 +351,7 @@ declare const DataStrSchema: z.ZodObject<{
345
351
  radiusY: z.ZodNumber;
346
352
  color: z.ZodString;
347
353
  lineWidth: z.ZodNumber;
354
+ fillColor: z.ZodOptional<z.ZodString>;
348
355
  id: z.ZodString;
349
356
  }, "strip", z.ZodTypeAny, {
350
357
  type: "ELLIPSE";
@@ -357,6 +364,7 @@ declare const DataStrSchema: z.ZodObject<{
357
364
  radiusY: number;
358
365
  lineWidth: number;
359
366
  color: string;
367
+ fillColor?: string | undefined;
360
368
  }, {
361
369
  type: "ELLIPSE";
362
370
  id: string;
@@ -368,6 +376,7 @@ declare const DataStrSchema: z.ZodObject<{
368
376
  radiusY: number;
369
377
  lineWidth: number;
370
378
  color: string;
379
+ fillColor?: string | undefined;
371
380
  }>, z.ZodObject<{
372
381
  type: z.ZodLiteral<"PIN">;
373
382
  visibility: z.ZodEnum<["show", "hide", "none"]>;
@@ -547,6 +556,7 @@ declare const DataStrSchema: z.ZodObject<{
547
556
  fontDecoration?: unknown;
548
557
  }>, z.ZodObject<{
549
558
  type: z.ZodLiteral<"ARC">;
559
+ pathData: z.ZodString;
550
560
  start: z.ZodObject<{
551
561
  x: z.ZodNumber;
552
562
  y: z.ZodNumber;
@@ -586,6 +596,7 @@ declare const DataStrSchema: z.ZodObject<{
586
596
  radius: number;
587
597
  lineWidth: number;
588
598
  sweepFlag: boolean;
599
+ pathData: string;
589
600
  color: string;
590
601
  }, {
591
602
  type: "ARC";
@@ -601,6 +612,7 @@ declare const DataStrSchema: z.ZodObject<{
601
612
  radius: number;
602
613
  lineWidth: number;
603
614
  sweepFlag: boolean;
615
+ pathData: string;
604
616
  color: string;
605
617
  }>]>>, "many">;
606
618
  BBox: z.ZodObject<{
@@ -632,6 +644,7 @@ declare const DataStrSchema: z.ZodObject<{
632
644
  y: number;
633
645
  };
634
646
  color: string;
647
+ fillColor?: string | undefined;
635
648
  } | {
636
649
  type: "ELLIPSE";
637
650
  id: string;
@@ -643,6 +656,7 @@ declare const DataStrSchema: z.ZodObject<{
643
656
  radiusY: number;
644
657
  lineWidth: number;
645
658
  color: string;
659
+ fillColor?: string | undefined;
646
660
  } | {
647
661
  type: "ARC";
648
662
  id: string;
@@ -657,6 +671,7 @@ declare const DataStrSchema: z.ZodObject<{
657
671
  radius: number;
658
672
  lineWidth: number;
659
673
  sweepFlag: boolean;
674
+ pathData: string;
660
675
  color: string;
661
676
  } | {
662
677
  path: string;
@@ -2743,6 +2758,7 @@ declare const EasyEdaJsonSchema: z.ZodObject<{
2743
2758
  y: number;
2744
2759
  };
2745
2760
  color: string;
2761
+ fillColor?: string | undefined;
2746
2762
  } | {
2747
2763
  type: "ELLIPSE";
2748
2764
  id: string;
@@ -2754,6 +2770,7 @@ declare const EasyEdaJsonSchema: z.ZodObject<{
2754
2770
  radiusY: number;
2755
2771
  lineWidth: number;
2756
2772
  color: string;
2773
+ fillColor?: string | undefined;
2757
2774
  } | {
2758
2775
  type: "ARC";
2759
2776
  id: string;
@@ -2768,6 +2785,7 @@ declare const EasyEdaJsonSchema: z.ZodObject<{
2768
2785
  radius: number;
2769
2786
  lineWidth: number;
2770
2787
  sweepFlag: boolean;
2788
+ pathData: string;
2771
2789
  color: string;
2772
2790
  } | {
2773
2791
  path: string;
@@ -2840,6 +2858,7 @@ declare const EasyEdaJsonSchema: z.ZodObject<{
2840
2858
  height: z.ZodNumber;
2841
2859
  color: z.ZodString;
2842
2860
  lineWidth: z.ZodNumber;
2861
+ fillColor: z.ZodOptional<z.ZodString>;
2843
2862
  id: z.ZodString;
2844
2863
  }, "strip", z.ZodTypeAny, {
2845
2864
  type: "RECTANGLE";
@@ -2852,6 +2871,7 @@ declare const EasyEdaJsonSchema: z.ZodObject<{
2852
2871
  y: number;
2853
2872
  };
2854
2873
  color: string;
2874
+ fillColor?: string | undefined;
2855
2875
  }, {
2856
2876
  type: "RECTANGLE";
2857
2877
  id: string;
@@ -2863,6 +2883,7 @@ declare const EasyEdaJsonSchema: z.ZodObject<{
2863
2883
  y: number;
2864
2884
  };
2865
2885
  color: string;
2886
+ fillColor?: string | undefined;
2866
2887
  }>, z.ZodObject<{
2867
2888
  type: z.ZodLiteral<"ELLIPSE">;
2868
2889
  center: z.ZodObject<{
@@ -2879,6 +2900,7 @@ declare const EasyEdaJsonSchema: z.ZodObject<{
2879
2900
  radiusY: z.ZodNumber;
2880
2901
  color: z.ZodString;
2881
2902
  lineWidth: z.ZodNumber;
2903
+ fillColor: z.ZodOptional<z.ZodString>;
2882
2904
  id: z.ZodString;
2883
2905
  }, "strip", z.ZodTypeAny, {
2884
2906
  type: "ELLIPSE";
@@ -2891,6 +2913,7 @@ declare const EasyEdaJsonSchema: z.ZodObject<{
2891
2913
  radiusY: number;
2892
2914
  lineWidth: number;
2893
2915
  color: string;
2916
+ fillColor?: string | undefined;
2894
2917
  }, {
2895
2918
  type: "ELLIPSE";
2896
2919
  id: string;
@@ -2902,6 +2925,7 @@ declare const EasyEdaJsonSchema: z.ZodObject<{
2902
2925
  radiusY: number;
2903
2926
  lineWidth: number;
2904
2927
  color: string;
2928
+ fillColor?: string | undefined;
2905
2929
  }>, z.ZodObject<{
2906
2930
  type: z.ZodLiteral<"PIN">;
2907
2931
  visibility: z.ZodEnum<["show", "hide", "none"]>;
@@ -3081,6 +3105,7 @@ declare const EasyEdaJsonSchema: z.ZodObject<{
3081
3105
  fontDecoration?: unknown;
3082
3106
  }>, z.ZodObject<{
3083
3107
  type: z.ZodLiteral<"ARC">;
3108
+ pathData: z.ZodString;
3084
3109
  start: z.ZodObject<{
3085
3110
  x: z.ZodNumber;
3086
3111
  y: z.ZodNumber;
@@ -3120,6 +3145,7 @@ declare const EasyEdaJsonSchema: z.ZodObject<{
3120
3145
  radius: number;
3121
3146
  lineWidth: number;
3122
3147
  sweepFlag: boolean;
3148
+ pathData: string;
3123
3149
  color: string;
3124
3150
  }, {
3125
3151
  type: "ARC";
@@ -3135,6 +3161,7 @@ declare const EasyEdaJsonSchema: z.ZodObject<{
3135
3161
  radius: number;
3136
3162
  lineWidth: number;
3137
3163
  sweepFlag: boolean;
3164
+ pathData: string;
3138
3165
  color: string;
3139
3166
  }>]>>, "many">;
3140
3167
  BBox: z.ZodObject<{
@@ -3166,6 +3193,7 @@ declare const EasyEdaJsonSchema: z.ZodObject<{
3166
3193
  y: number;
3167
3194
  };
3168
3195
  color: string;
3196
+ fillColor?: string | undefined;
3169
3197
  } | {
3170
3198
  type: "ELLIPSE";
3171
3199
  id: string;
@@ -3177,6 +3205,7 @@ declare const EasyEdaJsonSchema: z.ZodObject<{
3177
3205
  radiusY: number;
3178
3206
  lineWidth: number;
3179
3207
  color: string;
3208
+ fillColor?: string | undefined;
3180
3209
  } | {
3181
3210
  type: "ARC";
3182
3211
  id: string;
@@ -3191,6 +3220,7 @@ declare const EasyEdaJsonSchema: z.ZodObject<{
3191
3220
  radius: number;
3192
3221
  lineWidth: number;
3193
3222
  sweepFlag: boolean;
3223
+ pathData: string;
3194
3224
  color: string;
3195
3225
  } | {
3196
3226
  path: string;
@@ -4422,6 +4452,7 @@ declare const EasyEdaJsonSchema: z.ZodObject<{
4422
4452
  y: number;
4423
4453
  };
4424
4454
  color: string;
4455
+ fillColor?: string | undefined;
4425
4456
  } | {
4426
4457
  type: "ELLIPSE";
4427
4458
  id: string;
@@ -4433,6 +4464,7 @@ declare const EasyEdaJsonSchema: z.ZodObject<{
4433
4464
  radiusY: number;
4434
4465
  lineWidth: number;
4435
4466
  color: string;
4467
+ fillColor?: string | undefined;
4436
4468
  } | {
4437
4469
  type: "ARC";
4438
4470
  id: string;
@@ -4447,6 +4479,7 @@ declare const EasyEdaJsonSchema: z.ZodObject<{
4447
4479
  radius: number;
4448
4480
  lineWidth: number;
4449
4481
  sweepFlag: boolean;
4482
+ pathData: string;
4450
4483
  color: string;
4451
4484
  } | {
4452
4485
  path: string;