@tscircuit/props 0.0.221 → 0.0.222
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/README.md +1 -0
- package/dist/index.d.ts +237 -11
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +14 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -2799,6 +2799,24 @@ interface LayoutConfig {
|
|
|
2799
2799
|
matchAdapt?: boolean;
|
|
2800
2800
|
matchAdaptTemplate?: any;
|
|
2801
2801
|
}
|
|
2802
|
+
interface CellBorder {
|
|
2803
|
+
strokeWidth?: Distance;
|
|
2804
|
+
dashed?: boolean;
|
|
2805
|
+
solid?: boolean;
|
|
2806
|
+
}
|
|
2807
|
+
declare const cellBorder: z.ZodObject<{
|
|
2808
|
+
strokeWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
2809
|
+
dashed: z.ZodOptional<z.ZodBoolean>;
|
|
2810
|
+
solid: z.ZodOptional<z.ZodBoolean>;
|
|
2811
|
+
}, "strip", z.ZodTypeAny, {
|
|
2812
|
+
strokeWidth?: number | undefined;
|
|
2813
|
+
dashed?: boolean | undefined;
|
|
2814
|
+
solid?: boolean | undefined;
|
|
2815
|
+
}, {
|
|
2816
|
+
strokeWidth?: string | number | undefined;
|
|
2817
|
+
dashed?: boolean | undefined;
|
|
2818
|
+
solid?: boolean | undefined;
|
|
2819
|
+
}>;
|
|
2802
2820
|
interface BaseGroupProps extends CommonLayoutProps, LayoutConfig {
|
|
2803
2821
|
name?: string;
|
|
2804
2822
|
key?: any;
|
|
@@ -2809,6 +2827,7 @@ interface BaseGroupProps extends CommonLayoutProps, LayoutConfig {
|
|
|
2809
2827
|
schHeight?: Distance;
|
|
2810
2828
|
pcbLayout?: LayoutConfig;
|
|
2811
2829
|
schLayout?: LayoutConfig;
|
|
2830
|
+
cellBorder?: CellBorder;
|
|
2812
2831
|
}
|
|
2813
2832
|
type PartsEngine = {
|
|
2814
2833
|
findPart: (params: {
|
|
@@ -3064,6 +3083,19 @@ declare const baseGroupProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3064
3083
|
matchAdapt?: boolean | undefined;
|
|
3065
3084
|
matchAdaptTemplate?: any;
|
|
3066
3085
|
}>>;
|
|
3086
|
+
cellBorder: z.ZodOptional<z.ZodObject<{
|
|
3087
|
+
strokeWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3088
|
+
dashed: z.ZodOptional<z.ZodBoolean>;
|
|
3089
|
+
solid: z.ZodOptional<z.ZodBoolean>;
|
|
3090
|
+
}, "strip", z.ZodTypeAny, {
|
|
3091
|
+
strokeWidth?: number | undefined;
|
|
3092
|
+
dashed?: boolean | undefined;
|
|
3093
|
+
solid?: boolean | undefined;
|
|
3094
|
+
}, {
|
|
3095
|
+
strokeWidth?: string | number | undefined;
|
|
3096
|
+
dashed?: boolean | undefined;
|
|
3097
|
+
solid?: boolean | undefined;
|
|
3098
|
+
}>>;
|
|
3067
3099
|
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "match-adapt", "none"]>>;
|
|
3068
3100
|
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
3069
3101
|
grid: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3167,6 +3199,11 @@ declare const baseGroupProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3167
3199
|
matchAdapt?: boolean | undefined;
|
|
3168
3200
|
matchAdaptTemplate?: any;
|
|
3169
3201
|
} | undefined;
|
|
3202
|
+
cellBorder?: {
|
|
3203
|
+
strokeWidth?: number | undefined;
|
|
3204
|
+
dashed?: boolean | undefined;
|
|
3205
|
+
solid?: boolean | undefined;
|
|
3206
|
+
} | undefined;
|
|
3170
3207
|
}, {
|
|
3171
3208
|
pcbX?: string | number | undefined;
|
|
3172
3209
|
pcbY?: string | number | undefined;
|
|
@@ -3249,6 +3286,11 @@ declare const baseGroupProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3249
3286
|
matchAdapt?: boolean | undefined;
|
|
3250
3287
|
matchAdaptTemplate?: any;
|
|
3251
3288
|
} | undefined;
|
|
3289
|
+
cellBorder?: {
|
|
3290
|
+
strokeWidth?: string | number | undefined;
|
|
3291
|
+
dashed?: boolean | undefined;
|
|
3292
|
+
solid?: boolean | undefined;
|
|
3293
|
+
} | undefined;
|
|
3252
3294
|
}>;
|
|
3253
3295
|
declare const partsEngine: z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>;
|
|
3254
3296
|
declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -3401,6 +3443,19 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
3401
3443
|
matchAdapt?: boolean | undefined;
|
|
3402
3444
|
matchAdaptTemplate?: any;
|
|
3403
3445
|
}>>;
|
|
3446
|
+
cellBorder: z.ZodOptional<z.ZodObject<{
|
|
3447
|
+
strokeWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3448
|
+
dashed: z.ZodOptional<z.ZodBoolean>;
|
|
3449
|
+
solid: z.ZodOptional<z.ZodBoolean>;
|
|
3450
|
+
}, "strip", z.ZodTypeAny, {
|
|
3451
|
+
strokeWidth?: number | undefined;
|
|
3452
|
+
dashed?: boolean | undefined;
|
|
3453
|
+
solid?: boolean | undefined;
|
|
3454
|
+
}, {
|
|
3455
|
+
strokeWidth?: string | number | undefined;
|
|
3456
|
+
dashed?: boolean | undefined;
|
|
3457
|
+
solid?: boolean | undefined;
|
|
3458
|
+
}>>;
|
|
3404
3459
|
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "match-adapt", "none"]>>;
|
|
3405
3460
|
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
3406
3461
|
grid: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3707,6 +3762,11 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
3707
3762
|
matchAdapt?: boolean | undefined;
|
|
3708
3763
|
matchAdaptTemplate?: any;
|
|
3709
3764
|
} | undefined;
|
|
3765
|
+
cellBorder?: {
|
|
3766
|
+
strokeWidth?: number | undefined;
|
|
3767
|
+
dashed?: boolean | undefined;
|
|
3768
|
+
solid?: boolean | undefined;
|
|
3769
|
+
} | undefined;
|
|
3710
3770
|
layout?: LayoutBuilder | undefined;
|
|
3711
3771
|
manualEdits?: {
|
|
3712
3772
|
pcb_placements?: {
|
|
@@ -3835,6 +3895,11 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
3835
3895
|
matchAdapt?: boolean | undefined;
|
|
3836
3896
|
matchAdaptTemplate?: any;
|
|
3837
3897
|
} | undefined;
|
|
3898
|
+
cellBorder?: {
|
|
3899
|
+
strokeWidth?: string | number | undefined;
|
|
3900
|
+
dashed?: boolean | undefined;
|
|
3901
|
+
solid?: boolean | undefined;
|
|
3902
|
+
} | undefined;
|
|
3838
3903
|
layout?: LayoutBuilder | undefined;
|
|
3839
3904
|
manualEdits?: {
|
|
3840
3905
|
pcb_placements?: {
|
|
@@ -4034,6 +4099,19 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
4034
4099
|
matchAdapt?: boolean | undefined;
|
|
4035
4100
|
matchAdaptTemplate?: any;
|
|
4036
4101
|
}>>;
|
|
4102
|
+
cellBorder: z.ZodOptional<z.ZodObject<{
|
|
4103
|
+
strokeWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4104
|
+
dashed: z.ZodOptional<z.ZodBoolean>;
|
|
4105
|
+
solid: z.ZodOptional<z.ZodBoolean>;
|
|
4106
|
+
}, "strip", z.ZodTypeAny, {
|
|
4107
|
+
strokeWidth?: number | undefined;
|
|
4108
|
+
dashed?: boolean | undefined;
|
|
4109
|
+
solid?: boolean | undefined;
|
|
4110
|
+
}, {
|
|
4111
|
+
strokeWidth?: string | number | undefined;
|
|
4112
|
+
dashed?: boolean | undefined;
|
|
4113
|
+
solid?: boolean | undefined;
|
|
4114
|
+
}>>;
|
|
4037
4115
|
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "match-adapt", "none"]>>;
|
|
4038
4116
|
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
4039
4117
|
grid: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4343,6 +4421,11 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
4343
4421
|
matchAdapt?: boolean | undefined;
|
|
4344
4422
|
matchAdaptTemplate?: any;
|
|
4345
4423
|
} | undefined;
|
|
4424
|
+
cellBorder?: {
|
|
4425
|
+
strokeWidth?: number | undefined;
|
|
4426
|
+
dashed?: boolean | undefined;
|
|
4427
|
+
solid?: boolean | undefined;
|
|
4428
|
+
} | undefined;
|
|
4346
4429
|
layout?: LayoutBuilder | undefined;
|
|
4347
4430
|
manualEdits?: {
|
|
4348
4431
|
pcb_placements?: {
|
|
@@ -4472,6 +4555,11 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
4472
4555
|
matchAdapt?: boolean | undefined;
|
|
4473
4556
|
matchAdaptTemplate?: any;
|
|
4474
4557
|
} | undefined;
|
|
4558
|
+
cellBorder?: {
|
|
4559
|
+
strokeWidth?: string | number | undefined;
|
|
4560
|
+
dashed?: boolean | undefined;
|
|
4561
|
+
solid?: boolean | undefined;
|
|
4562
|
+
} | undefined;
|
|
4475
4563
|
layout?: LayoutBuilder | undefined;
|
|
4476
4564
|
manualEdits?: {
|
|
4477
4565
|
pcb_placements?: {
|
|
@@ -4671,6 +4759,19 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
4671
4759
|
matchAdapt?: boolean | undefined;
|
|
4672
4760
|
matchAdaptTemplate?: any;
|
|
4673
4761
|
}>>;
|
|
4762
|
+
cellBorder: z.ZodOptional<z.ZodObject<{
|
|
4763
|
+
strokeWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4764
|
+
dashed: z.ZodOptional<z.ZodBoolean>;
|
|
4765
|
+
solid: z.ZodOptional<z.ZodBoolean>;
|
|
4766
|
+
}, "strip", z.ZodTypeAny, {
|
|
4767
|
+
strokeWidth?: number | undefined;
|
|
4768
|
+
dashed?: boolean | undefined;
|
|
4769
|
+
solid?: boolean | undefined;
|
|
4770
|
+
}, {
|
|
4771
|
+
strokeWidth?: string | number | undefined;
|
|
4772
|
+
dashed?: boolean | undefined;
|
|
4773
|
+
solid?: boolean | undefined;
|
|
4774
|
+
}>>;
|
|
4674
4775
|
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "match-adapt", "none"]>>;
|
|
4675
4776
|
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
4676
4777
|
grid: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4776,6 +4877,11 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
4776
4877
|
matchAdapt?: boolean | undefined;
|
|
4777
4878
|
matchAdaptTemplate?: any;
|
|
4778
4879
|
} | undefined;
|
|
4880
|
+
cellBorder?: {
|
|
4881
|
+
strokeWidth?: number | undefined;
|
|
4882
|
+
dashed?: boolean | undefined;
|
|
4883
|
+
solid?: boolean | undefined;
|
|
4884
|
+
} | undefined;
|
|
4779
4885
|
subcircuit?: false | undefined;
|
|
4780
4886
|
}, {
|
|
4781
4887
|
pcbX?: string | number | undefined;
|
|
@@ -4859,6 +4965,11 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
4859
4965
|
matchAdapt?: boolean | undefined;
|
|
4860
4966
|
matchAdaptTemplate?: any;
|
|
4861
4967
|
} | undefined;
|
|
4968
|
+
cellBorder?: {
|
|
4969
|
+
strokeWidth?: string | number | undefined;
|
|
4970
|
+
dashed?: boolean | undefined;
|
|
4971
|
+
solid?: boolean | undefined;
|
|
4972
|
+
} | undefined;
|
|
4862
4973
|
subcircuit?: false | undefined;
|
|
4863
4974
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
4864
4975
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -5010,6 +5121,19 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
5010
5121
|
matchAdapt?: boolean | undefined;
|
|
5011
5122
|
matchAdaptTemplate?: any;
|
|
5012
5123
|
}>>;
|
|
5124
|
+
cellBorder: z.ZodOptional<z.ZodObject<{
|
|
5125
|
+
strokeWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5126
|
+
dashed: z.ZodOptional<z.ZodBoolean>;
|
|
5127
|
+
solid: z.ZodOptional<z.ZodBoolean>;
|
|
5128
|
+
}, "strip", z.ZodTypeAny, {
|
|
5129
|
+
strokeWidth?: number | undefined;
|
|
5130
|
+
dashed?: boolean | undefined;
|
|
5131
|
+
solid?: boolean | undefined;
|
|
5132
|
+
}, {
|
|
5133
|
+
strokeWidth?: string | number | undefined;
|
|
5134
|
+
dashed?: boolean | undefined;
|
|
5135
|
+
solid?: boolean | undefined;
|
|
5136
|
+
}>>;
|
|
5013
5137
|
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "match-adapt", "none"]>>;
|
|
5014
5138
|
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
5015
5139
|
grid: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5319,6 +5443,11 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
5319
5443
|
matchAdapt?: boolean | undefined;
|
|
5320
5444
|
matchAdaptTemplate?: any;
|
|
5321
5445
|
} | undefined;
|
|
5446
|
+
cellBorder?: {
|
|
5447
|
+
strokeWidth?: number | undefined;
|
|
5448
|
+
dashed?: boolean | undefined;
|
|
5449
|
+
solid?: boolean | undefined;
|
|
5450
|
+
} | undefined;
|
|
5322
5451
|
layout?: LayoutBuilder | undefined;
|
|
5323
5452
|
manualEdits?: {
|
|
5324
5453
|
pcb_placements?: {
|
|
@@ -5448,6 +5577,11 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
5448
5577
|
matchAdapt?: boolean | undefined;
|
|
5449
5578
|
matchAdaptTemplate?: any;
|
|
5450
5579
|
} | undefined;
|
|
5580
|
+
cellBorder?: {
|
|
5581
|
+
strokeWidth?: string | number | undefined;
|
|
5582
|
+
dashed?: boolean | undefined;
|
|
5583
|
+
solid?: boolean | undefined;
|
|
5584
|
+
} | undefined;
|
|
5451
5585
|
layout?: LayoutBuilder | undefined;
|
|
5452
5586
|
manualEdits?: {
|
|
5453
5587
|
pcb_placements?: {
|
|
@@ -5661,6 +5795,19 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
5661
5795
|
matchAdapt?: boolean | undefined;
|
|
5662
5796
|
matchAdaptTemplate?: any;
|
|
5663
5797
|
}>>;
|
|
5798
|
+
cellBorder: z.ZodOptional<z.ZodObject<{
|
|
5799
|
+
strokeWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5800
|
+
dashed: z.ZodOptional<z.ZodBoolean>;
|
|
5801
|
+
solid: z.ZodOptional<z.ZodBoolean>;
|
|
5802
|
+
}, "strip", z.ZodTypeAny, {
|
|
5803
|
+
strokeWidth?: number | undefined;
|
|
5804
|
+
dashed?: boolean | undefined;
|
|
5805
|
+
solid?: boolean | undefined;
|
|
5806
|
+
}, {
|
|
5807
|
+
strokeWidth?: string | number | undefined;
|
|
5808
|
+
dashed?: boolean | undefined;
|
|
5809
|
+
solid?: boolean | undefined;
|
|
5810
|
+
}>>;
|
|
5664
5811
|
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "match-adapt", "none"]>>;
|
|
5665
5812
|
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
5666
5813
|
grid: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5984,6 +6131,11 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
5984
6131
|
matchAdapt?: boolean | undefined;
|
|
5985
6132
|
matchAdaptTemplate?: any;
|
|
5986
6133
|
} | undefined;
|
|
6134
|
+
cellBorder?: {
|
|
6135
|
+
strokeWidth?: number | undefined;
|
|
6136
|
+
dashed?: boolean | undefined;
|
|
6137
|
+
solid?: boolean | undefined;
|
|
6138
|
+
} | undefined;
|
|
5987
6139
|
layout?: LayoutBuilder | undefined;
|
|
5988
6140
|
manualEdits?: {
|
|
5989
6141
|
pcb_placements?: {
|
|
@@ -6118,6 +6270,11 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
6118
6270
|
matchAdapt?: boolean | undefined;
|
|
6119
6271
|
matchAdaptTemplate?: any;
|
|
6120
6272
|
} | undefined;
|
|
6273
|
+
cellBorder?: {
|
|
6274
|
+
strokeWidth?: string | number | undefined;
|
|
6275
|
+
dashed?: boolean | undefined;
|
|
6276
|
+
solid?: boolean | undefined;
|
|
6277
|
+
} | undefined;
|
|
6121
6278
|
layout?: LayoutBuilder | undefined;
|
|
6122
6279
|
manualEdits?: {
|
|
6123
6280
|
pcb_placements?: {
|
|
@@ -6332,6 +6489,19 @@ declare const breakoutProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
6332
6489
|
matchAdapt?: boolean | undefined;
|
|
6333
6490
|
matchAdaptTemplate?: any;
|
|
6334
6491
|
}>>;
|
|
6492
|
+
cellBorder: z.ZodOptional<z.ZodObject<{
|
|
6493
|
+
strokeWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6494
|
+
dashed: z.ZodOptional<z.ZodBoolean>;
|
|
6495
|
+
solid: z.ZodOptional<z.ZodBoolean>;
|
|
6496
|
+
}, "strip", z.ZodTypeAny, {
|
|
6497
|
+
strokeWidth?: number | undefined;
|
|
6498
|
+
dashed?: boolean | undefined;
|
|
6499
|
+
solid?: boolean | undefined;
|
|
6500
|
+
}, {
|
|
6501
|
+
strokeWidth?: string | number | undefined;
|
|
6502
|
+
dashed?: boolean | undefined;
|
|
6503
|
+
solid?: boolean | undefined;
|
|
6504
|
+
}>>;
|
|
6335
6505
|
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "match-adapt", "none"]>>;
|
|
6336
6506
|
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
6337
6507
|
grid: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6644,6 +6814,11 @@ declare const breakoutProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
6644
6814
|
matchAdapt?: boolean | undefined;
|
|
6645
6815
|
matchAdaptTemplate?: any;
|
|
6646
6816
|
} | undefined;
|
|
6817
|
+
cellBorder?: {
|
|
6818
|
+
strokeWidth?: number | undefined;
|
|
6819
|
+
dashed?: boolean | undefined;
|
|
6820
|
+
solid?: boolean | undefined;
|
|
6821
|
+
} | undefined;
|
|
6647
6822
|
layout?: _tscircuit_layout.LayoutBuilder | undefined;
|
|
6648
6823
|
manualEdits?: {
|
|
6649
6824
|
pcb_placements?: {
|
|
@@ -6777,6 +6952,11 @@ declare const breakoutProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
6777
6952
|
matchAdapt?: boolean | undefined;
|
|
6778
6953
|
matchAdaptTemplate?: any;
|
|
6779
6954
|
} | undefined;
|
|
6955
|
+
cellBorder?: {
|
|
6956
|
+
strokeWidth?: string | number | undefined;
|
|
6957
|
+
dashed?: boolean | undefined;
|
|
6958
|
+
solid?: boolean | undefined;
|
|
6959
|
+
} | undefined;
|
|
6780
6960
|
layout?: _tscircuit_layout.LayoutBuilder | undefined;
|
|
6781
6961
|
manualEdits?: {
|
|
6782
6962
|
pcb_placements?: {
|
|
@@ -13155,6 +13335,19 @@ declare const stampboardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
13155
13335
|
matchAdapt?: boolean | undefined;
|
|
13156
13336
|
matchAdaptTemplate?: any;
|
|
13157
13337
|
}>>;
|
|
13338
|
+
cellBorder: z.ZodOptional<z.ZodObject<{
|
|
13339
|
+
strokeWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13340
|
+
dashed: z.ZodOptional<z.ZodBoolean>;
|
|
13341
|
+
solid: z.ZodOptional<z.ZodBoolean>;
|
|
13342
|
+
}, "strip", z.ZodTypeAny, {
|
|
13343
|
+
strokeWidth?: number | undefined;
|
|
13344
|
+
dashed?: boolean | undefined;
|
|
13345
|
+
solid?: boolean | undefined;
|
|
13346
|
+
}, {
|
|
13347
|
+
strokeWidth?: string | number | undefined;
|
|
13348
|
+
dashed?: boolean | undefined;
|
|
13349
|
+
solid?: boolean | undefined;
|
|
13350
|
+
}>>;
|
|
13158
13351
|
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "match-adapt", "none"]>>;
|
|
13159
13352
|
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
13160
13353
|
grid: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -13493,6 +13686,11 @@ declare const stampboardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
13493
13686
|
matchAdapt?: boolean | undefined;
|
|
13494
13687
|
matchAdaptTemplate?: any;
|
|
13495
13688
|
} | undefined;
|
|
13689
|
+
cellBorder?: {
|
|
13690
|
+
strokeWidth?: number | undefined;
|
|
13691
|
+
dashed?: boolean | undefined;
|
|
13692
|
+
solid?: boolean | undefined;
|
|
13693
|
+
} | undefined;
|
|
13496
13694
|
layout?: _tscircuit_layout.LayoutBuilder | undefined;
|
|
13497
13695
|
manualEdits?: {
|
|
13498
13696
|
pcb_placements?: {
|
|
@@ -13637,6 +13835,11 @@ declare const stampboardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
13637
13835
|
matchAdapt?: boolean | undefined;
|
|
13638
13836
|
matchAdaptTemplate?: any;
|
|
13639
13837
|
} | undefined;
|
|
13838
|
+
cellBorder?: {
|
|
13839
|
+
strokeWidth?: string | number | undefined;
|
|
13840
|
+
dashed?: boolean | undefined;
|
|
13841
|
+
solid?: boolean | undefined;
|
|
13842
|
+
} | undefined;
|
|
13640
13843
|
layout?: _tscircuit_layout.LayoutBuilder | undefined;
|
|
13641
13844
|
manualEdits?: {
|
|
13642
13845
|
pcb_placements?: {
|
|
@@ -17516,6 +17719,19 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
17516
17719
|
matchAdapt?: boolean | undefined;
|
|
17517
17720
|
matchAdaptTemplate?: any;
|
|
17518
17721
|
}>>;
|
|
17722
|
+
cellBorder: z.ZodOptional<z.ZodObject<{
|
|
17723
|
+
strokeWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
17724
|
+
dashed: z.ZodOptional<z.ZodBoolean>;
|
|
17725
|
+
solid: z.ZodOptional<z.ZodBoolean>;
|
|
17726
|
+
}, "strip", z.ZodTypeAny, {
|
|
17727
|
+
strokeWidth?: number | undefined;
|
|
17728
|
+
dashed?: boolean | undefined;
|
|
17729
|
+
solid?: boolean | undefined;
|
|
17730
|
+
}, {
|
|
17731
|
+
strokeWidth?: string | number | undefined;
|
|
17732
|
+
dashed?: boolean | undefined;
|
|
17733
|
+
solid?: boolean | undefined;
|
|
17734
|
+
}>>;
|
|
17519
17735
|
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "match-adapt", "none"]>>;
|
|
17520
17736
|
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
17521
17737
|
grid: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -17822,6 +18038,11 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
17822
18038
|
matchAdapt?: boolean | undefined;
|
|
17823
18039
|
matchAdaptTemplate?: any;
|
|
17824
18040
|
} | undefined;
|
|
18041
|
+
cellBorder?: {
|
|
18042
|
+
strokeWidth?: number | undefined;
|
|
18043
|
+
dashed?: boolean | undefined;
|
|
18044
|
+
solid?: boolean | undefined;
|
|
18045
|
+
} | undefined;
|
|
17825
18046
|
layout?: _tscircuit_layout.LayoutBuilder | undefined;
|
|
17826
18047
|
manualEdits?: {
|
|
17827
18048
|
pcb_placements?: {
|
|
@@ -17950,6 +18171,11 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
17950
18171
|
matchAdapt?: boolean | undefined;
|
|
17951
18172
|
matchAdaptTemplate?: any;
|
|
17952
18173
|
} | undefined;
|
|
18174
|
+
cellBorder?: {
|
|
18175
|
+
strokeWidth?: string | number | undefined;
|
|
18176
|
+
dashed?: boolean | undefined;
|
|
18177
|
+
solid?: boolean | undefined;
|
|
18178
|
+
} | undefined;
|
|
17953
18179
|
layout?: _tscircuit_layout.LayoutBuilder | undefined;
|
|
17954
18180
|
manualEdits?: {
|
|
17955
18181
|
pcb_placements?: {
|
|
@@ -20966,8 +21192,8 @@ declare const fabricationNotePathProps: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
20966
21192
|
trace_width?: number | undefined;
|
|
20967
21193
|
}[];
|
|
20968
21194
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
20969
|
-
color?: string | undefined;
|
|
20970
21195
|
strokeWidth?: number | undefined;
|
|
21196
|
+
color?: string | undefined;
|
|
20971
21197
|
}, {
|
|
20972
21198
|
route: {
|
|
20973
21199
|
x: string | number;
|
|
@@ -20981,8 +21207,8 @@ declare const fabricationNotePathProps: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
20981
21207
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
20982
21208
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
20983
21209
|
} | undefined;
|
|
20984
|
-
color?: string | undefined;
|
|
20985
21210
|
strokeWidth?: string | number | undefined;
|
|
21211
|
+
color?: string | undefined;
|
|
20986
21212
|
}>;
|
|
20987
21213
|
type FabricationNotePathProps = z.input<typeof fabricationNotePathProps>;
|
|
20988
21214
|
|
|
@@ -22229,7 +22455,7 @@ declare const schematicBoxProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
22229
22455
|
schY: number;
|
|
22230
22456
|
titleAlignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center";
|
|
22231
22457
|
titleInside: boolean;
|
|
22232
|
-
strokeStyle: "
|
|
22458
|
+
strokeStyle: "dashed" | "solid";
|
|
22233
22459
|
width?: number | undefined;
|
|
22234
22460
|
height?: number | undefined;
|
|
22235
22461
|
padding?: number | undefined;
|
|
@@ -22257,13 +22483,13 @@ declare const schematicBoxProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
22257
22483
|
titleColor?: string | undefined;
|
|
22258
22484
|
titleFontSize?: string | number | undefined;
|
|
22259
22485
|
titleInside?: boolean | undefined;
|
|
22260
|
-
strokeStyle?: "
|
|
22486
|
+
strokeStyle?: "dashed" | "solid" | undefined;
|
|
22261
22487
|
}>, {
|
|
22262
22488
|
schX: number;
|
|
22263
22489
|
schY: number;
|
|
22264
22490
|
titleAlignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center";
|
|
22265
22491
|
titleInside: boolean;
|
|
22266
|
-
strokeStyle: "
|
|
22492
|
+
strokeStyle: "dashed" | "solid";
|
|
22267
22493
|
width?: number | undefined;
|
|
22268
22494
|
height?: number | undefined;
|
|
22269
22495
|
padding?: number | undefined;
|
|
@@ -22291,13 +22517,13 @@ declare const schematicBoxProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
22291
22517
|
titleColor?: string | undefined;
|
|
22292
22518
|
titleFontSize?: string | number | undefined;
|
|
22293
22519
|
titleInside?: boolean | undefined;
|
|
22294
|
-
strokeStyle?: "
|
|
22520
|
+
strokeStyle?: "dashed" | "solid" | undefined;
|
|
22295
22521
|
}>, {
|
|
22296
22522
|
schX: number;
|
|
22297
22523
|
schY: number;
|
|
22298
22524
|
titleAlignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center";
|
|
22299
22525
|
titleInside: boolean;
|
|
22300
|
-
strokeStyle: "
|
|
22526
|
+
strokeStyle: "dashed" | "solid";
|
|
22301
22527
|
width?: number | undefined;
|
|
22302
22528
|
height?: number | undefined;
|
|
22303
22529
|
padding?: number | undefined;
|
|
@@ -22325,7 +22551,7 @@ declare const schematicBoxProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
22325
22551
|
titleColor?: string | undefined;
|
|
22326
22552
|
titleFontSize?: string | number | undefined;
|
|
22327
22553
|
titleInside?: boolean | undefined;
|
|
22328
|
-
strokeStyle?: "
|
|
22554
|
+
strokeStyle?: "dashed" | "solid" | undefined;
|
|
22329
22555
|
}>;
|
|
22330
22556
|
type SchematicBoxProps = z.input<typeof schematicBoxProps>;
|
|
22331
22557
|
|
|
@@ -22581,7 +22807,7 @@ declare const silkscreenRectProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
22581
22807
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
22582
22808
|
strokeWidth?: number | undefined;
|
|
22583
22809
|
filled?: boolean | undefined;
|
|
22584
|
-
stroke?: "none" | "
|
|
22810
|
+
stroke?: "none" | "dashed" | "solid" | undefined;
|
|
22585
22811
|
}, {
|
|
22586
22812
|
width: string | number;
|
|
22587
22813
|
height: string | number;
|
|
@@ -22592,7 +22818,7 @@ declare const silkscreenRectProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
22592
22818
|
} | undefined;
|
|
22593
22819
|
strokeWidth?: string | number | undefined;
|
|
22594
22820
|
filled?: boolean | undefined;
|
|
22595
|
-
stroke?: "none" | "
|
|
22821
|
+
stroke?: "none" | "dashed" | "solid" | undefined;
|
|
22596
22822
|
}>;
|
|
22597
22823
|
type SilkscreenRectProps = z.input<typeof silkscreenRectProps>;
|
|
22598
22824
|
|
|
@@ -22910,4 +23136,4 @@ declare const platformConfig: z.ZodType<PlatformConfig>;
|
|
|
22910
23136
|
|
|
22911
23137
|
declare const ninePointAnchor: z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>;
|
|
22912
23138
|
|
|
22913
|
-
export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, type BreakoutPointProps, type BreakoutProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type CutoutProps, type CutoutPropsInput, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNotePathProps, type FabricationNoteTextProps, type Footprint, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredFuseProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type JumperProps, type LayoutConfig, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetProps, type NetAliasProps, type NetLabelProps, type NetProps, type NonSubcircuitGroupProps, type OvalPlatedHoleProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillPlatedHoleProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectCutoutProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type SchematicBoxProps, type SchematicLineProps, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicTextProps, type Selectors, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TestpointProps, type TraceHintProps, type TraceProps, type TransistorProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, breakoutPointProps, breakoutProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, cutoutProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_pcb_group_location_event, edit_schematic_component_location_event, edit_schematic_group_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netLabelProps, netProps, ninePointAnchor, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerProps, powerSourceProps, pushButtonProps, rectCutoutProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinArrangement, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, testpointProps, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };
|
|
23139
|
+
export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, type BreakoutPointProps, type BreakoutProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorPinLabels, type CapacitorProps, type CellBorder, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type CutoutProps, type CutoutPropsInput, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNotePathProps, type FabricationNoteTextProps, type Footprint, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredFuseProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type JumperProps, type LayoutConfig, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetProps, type NetAliasProps, type NetLabelProps, type NetProps, type NonSubcircuitGroupProps, type OvalPlatedHoleProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillPlatedHoleProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectCutoutProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type SchematicBoxProps, type SchematicLineProps, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicTextProps, type Selectors, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TestpointProps, type TraceHintProps, type TraceProps, type TransistorProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, breakoutPointProps, breakoutProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPinLabels, capacitorPins, capacitorProps, cellBorder, chipProps, circleCutoutProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, cutoutProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_pcb_group_location_event, edit_schematic_component_location_event, edit_schematic_group_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netLabelProps, netProps, ninePointAnchor, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerProps, powerSourceProps, pushButtonProps, rectCutoutProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinArrangement, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, testpointProps, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };
|
package/dist/index.js
CHANGED
|
@@ -331,6 +331,11 @@ var layoutConfig = z21.object({
|
|
|
331
331
|
matchAdaptTemplate: z21.any().optional()
|
|
332
332
|
});
|
|
333
333
|
expectTypesMatch(true);
|
|
334
|
+
var cellBorder = z21.object({
|
|
335
|
+
strokeWidth: length.optional(),
|
|
336
|
+
dashed: z21.boolean().optional(),
|
|
337
|
+
solid: z21.boolean().optional()
|
|
338
|
+
});
|
|
334
339
|
var autorouterConfig = z21.object({
|
|
335
340
|
serverUrl: z21.string().optional(),
|
|
336
341
|
inputFormat: z21.enum(["simplified", "circuit-json"]).optional(),
|
|
@@ -361,7 +366,8 @@ var baseGroupProps = commonLayoutProps.extend({
|
|
|
361
366
|
schWidth: length.optional(),
|
|
362
367
|
schHeight: length.optional(),
|
|
363
368
|
pcbLayout: layoutConfig.optional(),
|
|
364
|
-
schLayout: layoutConfig.optional()
|
|
369
|
+
schLayout: layoutConfig.optional(),
|
|
370
|
+
cellBorder: cellBorder.optional()
|
|
365
371
|
});
|
|
366
372
|
var partsEngine = z21.custom((v) => "findPart" in v);
|
|
367
373
|
var subcircuitGroupProps = baseGroupProps.extend({
|
|
@@ -1424,6 +1430,7 @@ export {
|
|
|
1424
1430
|
capacitorPinLabels,
|
|
1425
1431
|
capacitorPins,
|
|
1426
1432
|
capacitorProps,
|
|
1433
|
+
cellBorder,
|
|
1427
1434
|
chipProps,
|
|
1428
1435
|
circleCutoutProps,
|
|
1429
1436
|
circleSmtPadProps,
|