@tscircuit/props 0.0.153 → 0.0.155
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 +2347 -76
- package/dist/index.js +265 -221
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +60 -2
- package/lib/index.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2566,10 +2566,82 @@ interface ManualEditsFile {
|
|
|
2566
2566
|
}
|
|
2567
2567
|
type ManualEditsFileInput = z.input<typeof manual_edits_file>;
|
|
2568
2568
|
|
|
2569
|
-
|
|
2569
|
+
declare const layoutConfig: z.ZodObject<{
|
|
2570
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
2571
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
2572
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
2573
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2574
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2575
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
2576
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
2577
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
2578
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2579
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
2580
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
2581
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
2582
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
2583
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
2584
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
2585
|
+
}, "strip", z.ZodTypeAny, {
|
|
2586
|
+
grid?: boolean | undefined;
|
|
2587
|
+
flex?: string | boolean | undefined;
|
|
2588
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
2589
|
+
position?: "absolute" | "relative" | undefined;
|
|
2590
|
+
gridCols?: string | number | undefined;
|
|
2591
|
+
gridRows?: string | number | undefined;
|
|
2592
|
+
gridTemplateRows?: string | undefined;
|
|
2593
|
+
gridTemplateColumns?: string | undefined;
|
|
2594
|
+
gridTemplate?: string | undefined;
|
|
2595
|
+
gridGap?: string | number | undefined;
|
|
2596
|
+
flexDirection?: "row" | "column" | undefined;
|
|
2597
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2598
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2599
|
+
flexRow?: boolean | undefined;
|
|
2600
|
+
flexColumn?: boolean | undefined;
|
|
2601
|
+
}, {
|
|
2602
|
+
grid?: boolean | undefined;
|
|
2603
|
+
flex?: string | boolean | undefined;
|
|
2604
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
2605
|
+
position?: "absolute" | "relative" | undefined;
|
|
2606
|
+
gridCols?: string | number | undefined;
|
|
2607
|
+
gridRows?: string | number | undefined;
|
|
2608
|
+
gridTemplateRows?: string | undefined;
|
|
2609
|
+
gridTemplateColumns?: string | undefined;
|
|
2610
|
+
gridTemplate?: string | undefined;
|
|
2611
|
+
gridGap?: string | number | undefined;
|
|
2612
|
+
flexDirection?: "row" | "column" | undefined;
|
|
2613
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2614
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2615
|
+
flexRow?: boolean | undefined;
|
|
2616
|
+
flexColumn?: boolean | undefined;
|
|
2617
|
+
}>;
|
|
2618
|
+
interface LayoutConfig {
|
|
2619
|
+
layoutMode?: "grid" | "flex" | "none";
|
|
2620
|
+
position?: "absolute" | "relative";
|
|
2621
|
+
grid?: boolean;
|
|
2622
|
+
gridCols?: number | string;
|
|
2623
|
+
gridRows?: number | string;
|
|
2624
|
+
gridTemplateRows?: string;
|
|
2625
|
+
gridTemplateColumns?: string;
|
|
2626
|
+
gridTemplate?: string;
|
|
2627
|
+
gridGap?: number | string;
|
|
2628
|
+
flex?: boolean | string;
|
|
2629
|
+
flexDirection?: "row" | "column";
|
|
2630
|
+
alignItems?: "start" | "center" | "end" | "stretch";
|
|
2631
|
+
justifyContent?: "start" | "center" | "end" | "stretch";
|
|
2632
|
+
flexRow?: boolean;
|
|
2633
|
+
flexColumn?: boolean;
|
|
2634
|
+
}
|
|
2635
|
+
interface BaseGroupProps extends CommonLayoutProps, LayoutConfig {
|
|
2570
2636
|
name?: string;
|
|
2571
2637
|
key?: any;
|
|
2572
2638
|
children?: any;
|
|
2639
|
+
pcbWidth?: Distance;
|
|
2640
|
+
pcbHeight?: Distance;
|
|
2641
|
+
schWidth?: Distance;
|
|
2642
|
+
schHeight?: Distance;
|
|
2643
|
+
pcbLayout?: LayoutConfig;
|
|
2644
|
+
schLayout?: LayoutConfig;
|
|
2573
2645
|
}
|
|
2574
2646
|
type PartsEngine = {
|
|
2575
2647
|
findPart: (params: {
|
|
@@ -2686,6 +2758,123 @@ declare const baseGroupProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2686
2758
|
}>>;
|
|
2687
2759
|
footprint: z.ZodOptional<z.ZodType<Footprint, z.ZodTypeDef, Footprint>>;
|
|
2688
2760
|
}, {
|
|
2761
|
+
pcbWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
2762
|
+
pcbHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
2763
|
+
schWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
2764
|
+
schHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
2765
|
+
pcbLayout: z.ZodOptional<z.ZodObject<{
|
|
2766
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
2767
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
2768
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
2769
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2770
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2771
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
2772
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
2773
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
2774
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2775
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
2776
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
2777
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
2778
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
2779
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
2780
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
2781
|
+
}, "strip", z.ZodTypeAny, {
|
|
2782
|
+
grid?: boolean | undefined;
|
|
2783
|
+
flex?: string | boolean | undefined;
|
|
2784
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
2785
|
+
position?: "absolute" | "relative" | undefined;
|
|
2786
|
+
gridCols?: string | number | undefined;
|
|
2787
|
+
gridRows?: string | number | undefined;
|
|
2788
|
+
gridTemplateRows?: string | undefined;
|
|
2789
|
+
gridTemplateColumns?: string | undefined;
|
|
2790
|
+
gridTemplate?: string | undefined;
|
|
2791
|
+
gridGap?: string | number | undefined;
|
|
2792
|
+
flexDirection?: "row" | "column" | undefined;
|
|
2793
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2794
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2795
|
+
flexRow?: boolean | undefined;
|
|
2796
|
+
flexColumn?: boolean | undefined;
|
|
2797
|
+
}, {
|
|
2798
|
+
grid?: boolean | undefined;
|
|
2799
|
+
flex?: string | boolean | undefined;
|
|
2800
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
2801
|
+
position?: "absolute" | "relative" | undefined;
|
|
2802
|
+
gridCols?: string | number | undefined;
|
|
2803
|
+
gridRows?: string | number | undefined;
|
|
2804
|
+
gridTemplateRows?: string | undefined;
|
|
2805
|
+
gridTemplateColumns?: string | undefined;
|
|
2806
|
+
gridTemplate?: string | undefined;
|
|
2807
|
+
gridGap?: string | number | undefined;
|
|
2808
|
+
flexDirection?: "row" | "column" | undefined;
|
|
2809
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2810
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2811
|
+
flexRow?: boolean | undefined;
|
|
2812
|
+
flexColumn?: boolean | undefined;
|
|
2813
|
+
}>>;
|
|
2814
|
+
schLayout: z.ZodOptional<z.ZodObject<{
|
|
2815
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
2816
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
2817
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
2818
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2819
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2820
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
2821
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
2822
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
2823
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2824
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
2825
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
2826
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
2827
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
2828
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
2829
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
2830
|
+
}, "strip", z.ZodTypeAny, {
|
|
2831
|
+
grid?: boolean | undefined;
|
|
2832
|
+
flex?: string | boolean | undefined;
|
|
2833
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
2834
|
+
position?: "absolute" | "relative" | undefined;
|
|
2835
|
+
gridCols?: string | number | undefined;
|
|
2836
|
+
gridRows?: string | number | undefined;
|
|
2837
|
+
gridTemplateRows?: string | undefined;
|
|
2838
|
+
gridTemplateColumns?: string | undefined;
|
|
2839
|
+
gridTemplate?: string | undefined;
|
|
2840
|
+
gridGap?: string | number | undefined;
|
|
2841
|
+
flexDirection?: "row" | "column" | undefined;
|
|
2842
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2843
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2844
|
+
flexRow?: boolean | undefined;
|
|
2845
|
+
flexColumn?: boolean | undefined;
|
|
2846
|
+
}, {
|
|
2847
|
+
grid?: boolean | undefined;
|
|
2848
|
+
flex?: string | boolean | undefined;
|
|
2849
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
2850
|
+
position?: "absolute" | "relative" | undefined;
|
|
2851
|
+
gridCols?: string | number | undefined;
|
|
2852
|
+
gridRows?: string | number | undefined;
|
|
2853
|
+
gridTemplateRows?: string | undefined;
|
|
2854
|
+
gridTemplateColumns?: string | undefined;
|
|
2855
|
+
gridTemplate?: string | undefined;
|
|
2856
|
+
gridGap?: string | number | undefined;
|
|
2857
|
+
flexDirection?: "row" | "column" | undefined;
|
|
2858
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2859
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2860
|
+
flexRow?: boolean | undefined;
|
|
2861
|
+
flexColumn?: boolean | undefined;
|
|
2862
|
+
}>>;
|
|
2863
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
2864
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
2865
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
2866
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2867
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2868
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
2869
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
2870
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
2871
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2872
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
2873
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
2874
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
2875
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
2876
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
2877
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
2689
2878
|
name: z.ZodOptional<z.ZodString>;
|
|
2690
2879
|
children: z.ZodOptional<z.ZodAny>;
|
|
2691
2880
|
key: z.ZodOptional<z.ZodAny>;
|
|
@@ -2701,6 +2890,59 @@ declare const baseGroupProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2701
2890
|
key?: any;
|
|
2702
2891
|
name?: string | undefined;
|
|
2703
2892
|
children?: any;
|
|
2893
|
+
grid?: boolean | undefined;
|
|
2894
|
+
flex?: string | boolean | undefined;
|
|
2895
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
2896
|
+
position?: "absolute" | "relative" | undefined;
|
|
2897
|
+
gridCols?: string | number | undefined;
|
|
2898
|
+
gridRows?: string | number | undefined;
|
|
2899
|
+
gridTemplateRows?: string | undefined;
|
|
2900
|
+
gridTemplateColumns?: string | undefined;
|
|
2901
|
+
gridTemplate?: string | undefined;
|
|
2902
|
+
gridGap?: string | number | undefined;
|
|
2903
|
+
flexDirection?: "row" | "column" | undefined;
|
|
2904
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2905
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2906
|
+
flexRow?: boolean | undefined;
|
|
2907
|
+
flexColumn?: boolean | undefined;
|
|
2908
|
+
pcbWidth?: number | undefined;
|
|
2909
|
+
pcbHeight?: number | undefined;
|
|
2910
|
+
schWidth?: number | undefined;
|
|
2911
|
+
schHeight?: number | undefined;
|
|
2912
|
+
pcbLayout?: {
|
|
2913
|
+
grid?: boolean | undefined;
|
|
2914
|
+
flex?: string | boolean | undefined;
|
|
2915
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
2916
|
+
position?: "absolute" | "relative" | undefined;
|
|
2917
|
+
gridCols?: string | number | undefined;
|
|
2918
|
+
gridRows?: string | number | undefined;
|
|
2919
|
+
gridTemplateRows?: string | undefined;
|
|
2920
|
+
gridTemplateColumns?: string | undefined;
|
|
2921
|
+
gridTemplate?: string | undefined;
|
|
2922
|
+
gridGap?: string | number | undefined;
|
|
2923
|
+
flexDirection?: "row" | "column" | undefined;
|
|
2924
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2925
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2926
|
+
flexRow?: boolean | undefined;
|
|
2927
|
+
flexColumn?: boolean | undefined;
|
|
2928
|
+
} | undefined;
|
|
2929
|
+
schLayout?: {
|
|
2930
|
+
grid?: boolean | undefined;
|
|
2931
|
+
flex?: string | boolean | undefined;
|
|
2932
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
2933
|
+
position?: "absolute" | "relative" | undefined;
|
|
2934
|
+
gridCols?: string | number | undefined;
|
|
2935
|
+
gridRows?: string | number | undefined;
|
|
2936
|
+
gridTemplateRows?: string | undefined;
|
|
2937
|
+
gridTemplateColumns?: string | undefined;
|
|
2938
|
+
gridTemplate?: string | undefined;
|
|
2939
|
+
gridGap?: string | number | undefined;
|
|
2940
|
+
flexDirection?: "row" | "column" | undefined;
|
|
2941
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2942
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2943
|
+
flexRow?: boolean | undefined;
|
|
2944
|
+
flexColumn?: boolean | undefined;
|
|
2945
|
+
} | undefined;
|
|
2704
2946
|
}, {
|
|
2705
2947
|
pcbX?: string | number | undefined;
|
|
2706
2948
|
pcbY?: string | number | undefined;
|
|
@@ -2715,6 +2957,59 @@ declare const baseGroupProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2715
2957
|
key?: any;
|
|
2716
2958
|
name?: string | undefined;
|
|
2717
2959
|
children?: any;
|
|
2960
|
+
grid?: boolean | undefined;
|
|
2961
|
+
flex?: string | boolean | undefined;
|
|
2962
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
2963
|
+
position?: "absolute" | "relative" | undefined;
|
|
2964
|
+
gridCols?: string | number | undefined;
|
|
2965
|
+
gridRows?: string | number | undefined;
|
|
2966
|
+
gridTemplateRows?: string | undefined;
|
|
2967
|
+
gridTemplateColumns?: string | undefined;
|
|
2968
|
+
gridTemplate?: string | undefined;
|
|
2969
|
+
gridGap?: string | number | undefined;
|
|
2970
|
+
flexDirection?: "row" | "column" | undefined;
|
|
2971
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2972
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2973
|
+
flexRow?: boolean | undefined;
|
|
2974
|
+
flexColumn?: boolean | undefined;
|
|
2975
|
+
pcbWidth?: string | number | undefined;
|
|
2976
|
+
pcbHeight?: string | number | undefined;
|
|
2977
|
+
schWidth?: string | number | undefined;
|
|
2978
|
+
schHeight?: string | number | undefined;
|
|
2979
|
+
pcbLayout?: {
|
|
2980
|
+
grid?: boolean | undefined;
|
|
2981
|
+
flex?: string | boolean | undefined;
|
|
2982
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
2983
|
+
position?: "absolute" | "relative" | undefined;
|
|
2984
|
+
gridCols?: string | number | undefined;
|
|
2985
|
+
gridRows?: string | number | undefined;
|
|
2986
|
+
gridTemplateRows?: string | undefined;
|
|
2987
|
+
gridTemplateColumns?: string | undefined;
|
|
2988
|
+
gridTemplate?: string | undefined;
|
|
2989
|
+
gridGap?: string | number | undefined;
|
|
2990
|
+
flexDirection?: "row" | "column" | undefined;
|
|
2991
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2992
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
2993
|
+
flexRow?: boolean | undefined;
|
|
2994
|
+
flexColumn?: boolean | undefined;
|
|
2995
|
+
} | undefined;
|
|
2996
|
+
schLayout?: {
|
|
2997
|
+
grid?: boolean | undefined;
|
|
2998
|
+
flex?: string | boolean | undefined;
|
|
2999
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
3000
|
+
position?: "absolute" | "relative" | undefined;
|
|
3001
|
+
gridCols?: string | number | undefined;
|
|
3002
|
+
gridRows?: string | number | undefined;
|
|
3003
|
+
gridTemplateRows?: string | undefined;
|
|
3004
|
+
gridTemplateColumns?: string | undefined;
|
|
3005
|
+
gridTemplate?: string | undefined;
|
|
3006
|
+
gridGap?: string | number | undefined;
|
|
3007
|
+
flexDirection?: "row" | "column" | undefined;
|
|
3008
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3009
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3010
|
+
flexRow?: boolean | undefined;
|
|
3011
|
+
flexColumn?: boolean | undefined;
|
|
3012
|
+
} | undefined;
|
|
2718
3013
|
}>;
|
|
2719
3014
|
declare const partsEngine: z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>;
|
|
2720
3015
|
declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -2735,6 +3030,123 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2735
3030
|
}>>;
|
|
2736
3031
|
footprint: z.ZodOptional<z.ZodType<Footprint, z.ZodTypeDef, Footprint>>;
|
|
2737
3032
|
}, {
|
|
3033
|
+
pcbWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3034
|
+
pcbHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3035
|
+
schWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3036
|
+
schHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3037
|
+
pcbLayout: z.ZodOptional<z.ZodObject<{
|
|
3038
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
3039
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
3040
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
3041
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3042
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3043
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
3044
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
3045
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
3046
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3047
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
3048
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
3049
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
3050
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
3051
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
3052
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
3053
|
+
}, "strip", z.ZodTypeAny, {
|
|
3054
|
+
grid?: boolean | undefined;
|
|
3055
|
+
flex?: string | boolean | undefined;
|
|
3056
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
3057
|
+
position?: "absolute" | "relative" | undefined;
|
|
3058
|
+
gridCols?: string | number | undefined;
|
|
3059
|
+
gridRows?: string | number | undefined;
|
|
3060
|
+
gridTemplateRows?: string | undefined;
|
|
3061
|
+
gridTemplateColumns?: string | undefined;
|
|
3062
|
+
gridTemplate?: string | undefined;
|
|
3063
|
+
gridGap?: string | number | undefined;
|
|
3064
|
+
flexDirection?: "row" | "column" | undefined;
|
|
3065
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3066
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3067
|
+
flexRow?: boolean | undefined;
|
|
3068
|
+
flexColumn?: boolean | undefined;
|
|
3069
|
+
}, {
|
|
3070
|
+
grid?: boolean | undefined;
|
|
3071
|
+
flex?: string | boolean | undefined;
|
|
3072
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
3073
|
+
position?: "absolute" | "relative" | undefined;
|
|
3074
|
+
gridCols?: string | number | undefined;
|
|
3075
|
+
gridRows?: string | number | undefined;
|
|
3076
|
+
gridTemplateRows?: string | undefined;
|
|
3077
|
+
gridTemplateColumns?: string | undefined;
|
|
3078
|
+
gridTemplate?: string | undefined;
|
|
3079
|
+
gridGap?: string | number | undefined;
|
|
3080
|
+
flexDirection?: "row" | "column" | undefined;
|
|
3081
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3082
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3083
|
+
flexRow?: boolean | undefined;
|
|
3084
|
+
flexColumn?: boolean | undefined;
|
|
3085
|
+
}>>;
|
|
3086
|
+
schLayout: z.ZodOptional<z.ZodObject<{
|
|
3087
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
3088
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
3089
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
3090
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3091
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3092
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
3093
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
3094
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
3095
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3096
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
3097
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
3098
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
3099
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
3100
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
3101
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
3102
|
+
}, "strip", z.ZodTypeAny, {
|
|
3103
|
+
grid?: boolean | undefined;
|
|
3104
|
+
flex?: string | boolean | undefined;
|
|
3105
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
3106
|
+
position?: "absolute" | "relative" | undefined;
|
|
3107
|
+
gridCols?: string | number | undefined;
|
|
3108
|
+
gridRows?: string | number | undefined;
|
|
3109
|
+
gridTemplateRows?: string | undefined;
|
|
3110
|
+
gridTemplateColumns?: string | undefined;
|
|
3111
|
+
gridTemplate?: string | undefined;
|
|
3112
|
+
gridGap?: string | number | undefined;
|
|
3113
|
+
flexDirection?: "row" | "column" | undefined;
|
|
3114
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3115
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3116
|
+
flexRow?: boolean | undefined;
|
|
3117
|
+
flexColumn?: boolean | undefined;
|
|
3118
|
+
}, {
|
|
3119
|
+
grid?: boolean | undefined;
|
|
3120
|
+
flex?: string | boolean | undefined;
|
|
3121
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
3122
|
+
position?: "absolute" | "relative" | undefined;
|
|
3123
|
+
gridCols?: string | number | undefined;
|
|
3124
|
+
gridRows?: string | number | undefined;
|
|
3125
|
+
gridTemplateRows?: string | undefined;
|
|
3126
|
+
gridTemplateColumns?: string | undefined;
|
|
3127
|
+
gridTemplate?: string | undefined;
|
|
3128
|
+
gridGap?: string | number | undefined;
|
|
3129
|
+
flexDirection?: "row" | "column" | undefined;
|
|
3130
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3131
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3132
|
+
flexRow?: boolean | undefined;
|
|
3133
|
+
flexColumn?: boolean | undefined;
|
|
3134
|
+
}>>;
|
|
3135
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
3136
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
3137
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
3138
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3139
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3140
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
3141
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
3142
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
3143
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3144
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
3145
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
3146
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
3147
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
3148
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
3149
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
2738
3150
|
name: z.ZodOptional<z.ZodString>;
|
|
2739
3151
|
children: z.ZodOptional<z.ZodAny>;
|
|
2740
3152
|
key: z.ZodOptional<z.ZodAny>;
|
|
@@ -2950,6 +3362,59 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2950
3362
|
key?: any;
|
|
2951
3363
|
name?: string | undefined;
|
|
2952
3364
|
children?: any;
|
|
3365
|
+
grid?: boolean | undefined;
|
|
3366
|
+
flex?: string | boolean | undefined;
|
|
3367
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
3368
|
+
position?: "absolute" | "relative" | undefined;
|
|
3369
|
+
gridCols?: string | number | undefined;
|
|
3370
|
+
gridRows?: string | number | undefined;
|
|
3371
|
+
gridTemplateRows?: string | undefined;
|
|
3372
|
+
gridTemplateColumns?: string | undefined;
|
|
3373
|
+
gridTemplate?: string | undefined;
|
|
3374
|
+
gridGap?: string | number | undefined;
|
|
3375
|
+
flexDirection?: "row" | "column" | undefined;
|
|
3376
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3377
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3378
|
+
flexRow?: boolean | undefined;
|
|
3379
|
+
flexColumn?: boolean | undefined;
|
|
3380
|
+
pcbWidth?: number | undefined;
|
|
3381
|
+
pcbHeight?: number | undefined;
|
|
3382
|
+
schWidth?: number | undefined;
|
|
3383
|
+
schHeight?: number | undefined;
|
|
3384
|
+
pcbLayout?: {
|
|
3385
|
+
grid?: boolean | undefined;
|
|
3386
|
+
flex?: string | boolean | undefined;
|
|
3387
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
3388
|
+
position?: "absolute" | "relative" | undefined;
|
|
3389
|
+
gridCols?: string | number | undefined;
|
|
3390
|
+
gridRows?: string | number | undefined;
|
|
3391
|
+
gridTemplateRows?: string | undefined;
|
|
3392
|
+
gridTemplateColumns?: string | undefined;
|
|
3393
|
+
gridTemplate?: string | undefined;
|
|
3394
|
+
gridGap?: string | number | undefined;
|
|
3395
|
+
flexDirection?: "row" | "column" | undefined;
|
|
3396
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3397
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3398
|
+
flexRow?: boolean | undefined;
|
|
3399
|
+
flexColumn?: boolean | undefined;
|
|
3400
|
+
} | undefined;
|
|
3401
|
+
schLayout?: {
|
|
3402
|
+
grid?: boolean | undefined;
|
|
3403
|
+
flex?: string | boolean | undefined;
|
|
3404
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
3405
|
+
position?: "absolute" | "relative" | undefined;
|
|
3406
|
+
gridCols?: string | number | undefined;
|
|
3407
|
+
gridRows?: string | number | undefined;
|
|
3408
|
+
gridTemplateRows?: string | undefined;
|
|
3409
|
+
gridTemplateColumns?: string | undefined;
|
|
3410
|
+
gridTemplate?: string | undefined;
|
|
3411
|
+
gridGap?: string | number | undefined;
|
|
3412
|
+
flexDirection?: "row" | "column" | undefined;
|
|
3413
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3414
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3415
|
+
flexRow?: boolean | undefined;
|
|
3416
|
+
flexColumn?: boolean | undefined;
|
|
3417
|
+
} | undefined;
|
|
2953
3418
|
layout?: LayoutBuilder | undefined;
|
|
2954
3419
|
manualEdits?: {
|
|
2955
3420
|
pcb_placements?: {
|
|
@@ -3009,6 +3474,59 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
3009
3474
|
key?: any;
|
|
3010
3475
|
name?: string | undefined;
|
|
3011
3476
|
children?: any;
|
|
3477
|
+
grid?: boolean | undefined;
|
|
3478
|
+
flex?: string | boolean | undefined;
|
|
3479
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
3480
|
+
position?: "absolute" | "relative" | undefined;
|
|
3481
|
+
gridCols?: string | number | undefined;
|
|
3482
|
+
gridRows?: string | number | undefined;
|
|
3483
|
+
gridTemplateRows?: string | undefined;
|
|
3484
|
+
gridTemplateColumns?: string | undefined;
|
|
3485
|
+
gridTemplate?: string | undefined;
|
|
3486
|
+
gridGap?: string | number | undefined;
|
|
3487
|
+
flexDirection?: "row" | "column" | undefined;
|
|
3488
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3489
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3490
|
+
flexRow?: boolean | undefined;
|
|
3491
|
+
flexColumn?: boolean | undefined;
|
|
3492
|
+
pcbWidth?: string | number | undefined;
|
|
3493
|
+
pcbHeight?: string | number | undefined;
|
|
3494
|
+
schWidth?: string | number | undefined;
|
|
3495
|
+
schHeight?: string | number | undefined;
|
|
3496
|
+
pcbLayout?: {
|
|
3497
|
+
grid?: boolean | undefined;
|
|
3498
|
+
flex?: string | boolean | undefined;
|
|
3499
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
3500
|
+
position?: "absolute" | "relative" | undefined;
|
|
3501
|
+
gridCols?: string | number | undefined;
|
|
3502
|
+
gridRows?: string | number | undefined;
|
|
3503
|
+
gridTemplateRows?: string | undefined;
|
|
3504
|
+
gridTemplateColumns?: string | undefined;
|
|
3505
|
+
gridTemplate?: string | undefined;
|
|
3506
|
+
gridGap?: string | number | undefined;
|
|
3507
|
+
flexDirection?: "row" | "column" | undefined;
|
|
3508
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3509
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3510
|
+
flexRow?: boolean | undefined;
|
|
3511
|
+
flexColumn?: boolean | undefined;
|
|
3512
|
+
} | undefined;
|
|
3513
|
+
schLayout?: {
|
|
3514
|
+
grid?: boolean | undefined;
|
|
3515
|
+
flex?: string | boolean | undefined;
|
|
3516
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
3517
|
+
position?: "absolute" | "relative" | undefined;
|
|
3518
|
+
gridCols?: string | number | undefined;
|
|
3519
|
+
gridRows?: string | number | undefined;
|
|
3520
|
+
gridTemplateRows?: string | undefined;
|
|
3521
|
+
gridTemplateColumns?: string | undefined;
|
|
3522
|
+
gridTemplate?: string | undefined;
|
|
3523
|
+
gridGap?: string | number | undefined;
|
|
3524
|
+
flexDirection?: "row" | "column" | undefined;
|
|
3525
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3526
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3527
|
+
flexRow?: boolean | undefined;
|
|
3528
|
+
flexColumn?: boolean | undefined;
|
|
3529
|
+
} | undefined;
|
|
3012
3530
|
layout?: LayoutBuilder | undefined;
|
|
3013
3531
|
manualEdits?: {
|
|
3014
3532
|
pcb_placements?: {
|
|
@@ -3075,6 +3593,123 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
3075
3593
|
}>>;
|
|
3076
3594
|
footprint: z.ZodOptional<z.ZodType<Footprint, z.ZodTypeDef, Footprint>>;
|
|
3077
3595
|
}, {
|
|
3596
|
+
pcbWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3597
|
+
pcbHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3598
|
+
schWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3599
|
+
schHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3600
|
+
pcbLayout: z.ZodOptional<z.ZodObject<{
|
|
3601
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
3602
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
3603
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
3604
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3605
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3606
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
3607
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
3608
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
3609
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3610
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
3611
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
3612
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
3613
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
3614
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
3615
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
3616
|
+
}, "strip", z.ZodTypeAny, {
|
|
3617
|
+
grid?: boolean | undefined;
|
|
3618
|
+
flex?: string | boolean | undefined;
|
|
3619
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
3620
|
+
position?: "absolute" | "relative" | undefined;
|
|
3621
|
+
gridCols?: string | number | undefined;
|
|
3622
|
+
gridRows?: string | number | undefined;
|
|
3623
|
+
gridTemplateRows?: string | undefined;
|
|
3624
|
+
gridTemplateColumns?: string | undefined;
|
|
3625
|
+
gridTemplate?: string | undefined;
|
|
3626
|
+
gridGap?: string | number | undefined;
|
|
3627
|
+
flexDirection?: "row" | "column" | undefined;
|
|
3628
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3629
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3630
|
+
flexRow?: boolean | undefined;
|
|
3631
|
+
flexColumn?: boolean | undefined;
|
|
3632
|
+
}, {
|
|
3633
|
+
grid?: boolean | undefined;
|
|
3634
|
+
flex?: string | boolean | undefined;
|
|
3635
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
3636
|
+
position?: "absolute" | "relative" | undefined;
|
|
3637
|
+
gridCols?: string | number | undefined;
|
|
3638
|
+
gridRows?: string | number | undefined;
|
|
3639
|
+
gridTemplateRows?: string | undefined;
|
|
3640
|
+
gridTemplateColumns?: string | undefined;
|
|
3641
|
+
gridTemplate?: string | undefined;
|
|
3642
|
+
gridGap?: string | number | undefined;
|
|
3643
|
+
flexDirection?: "row" | "column" | undefined;
|
|
3644
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3645
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3646
|
+
flexRow?: boolean | undefined;
|
|
3647
|
+
flexColumn?: boolean | undefined;
|
|
3648
|
+
}>>;
|
|
3649
|
+
schLayout: z.ZodOptional<z.ZodObject<{
|
|
3650
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
3651
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
3652
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
3653
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3654
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3655
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
3656
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
3657
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
3658
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3659
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
3660
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
3661
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
3662
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
3663
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
3664
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
3665
|
+
}, "strip", z.ZodTypeAny, {
|
|
3666
|
+
grid?: boolean | undefined;
|
|
3667
|
+
flex?: string | boolean | undefined;
|
|
3668
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
3669
|
+
position?: "absolute" | "relative" | undefined;
|
|
3670
|
+
gridCols?: string | number | undefined;
|
|
3671
|
+
gridRows?: string | number | undefined;
|
|
3672
|
+
gridTemplateRows?: string | undefined;
|
|
3673
|
+
gridTemplateColumns?: string | undefined;
|
|
3674
|
+
gridTemplate?: string | undefined;
|
|
3675
|
+
gridGap?: string | number | undefined;
|
|
3676
|
+
flexDirection?: "row" | "column" | undefined;
|
|
3677
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3678
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3679
|
+
flexRow?: boolean | undefined;
|
|
3680
|
+
flexColumn?: boolean | undefined;
|
|
3681
|
+
}, {
|
|
3682
|
+
grid?: boolean | undefined;
|
|
3683
|
+
flex?: string | boolean | undefined;
|
|
3684
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
3685
|
+
position?: "absolute" | "relative" | undefined;
|
|
3686
|
+
gridCols?: string | number | undefined;
|
|
3687
|
+
gridRows?: string | number | undefined;
|
|
3688
|
+
gridTemplateRows?: string | undefined;
|
|
3689
|
+
gridTemplateColumns?: string | undefined;
|
|
3690
|
+
gridTemplate?: string | undefined;
|
|
3691
|
+
gridGap?: string | number | undefined;
|
|
3692
|
+
flexDirection?: "row" | "column" | undefined;
|
|
3693
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3694
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3695
|
+
flexRow?: boolean | undefined;
|
|
3696
|
+
flexColumn?: boolean | undefined;
|
|
3697
|
+
}>>;
|
|
3698
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
3699
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
3700
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
3701
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3702
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3703
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
3704
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
3705
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
3706
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3707
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
3708
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
3709
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
3710
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
3711
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
3712
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
3078
3713
|
name: z.ZodOptional<z.ZodString>;
|
|
3079
3714
|
children: z.ZodOptional<z.ZodAny>;
|
|
3080
3715
|
key: z.ZodOptional<z.ZodAny>;
|
|
@@ -3293,6 +3928,59 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
3293
3928
|
key?: any;
|
|
3294
3929
|
name?: string | undefined;
|
|
3295
3930
|
children?: any;
|
|
3931
|
+
grid?: boolean | undefined;
|
|
3932
|
+
flex?: string | boolean | undefined;
|
|
3933
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
3934
|
+
position?: "absolute" | "relative" | undefined;
|
|
3935
|
+
gridCols?: string | number | undefined;
|
|
3936
|
+
gridRows?: string | number | undefined;
|
|
3937
|
+
gridTemplateRows?: string | undefined;
|
|
3938
|
+
gridTemplateColumns?: string | undefined;
|
|
3939
|
+
gridTemplate?: string | undefined;
|
|
3940
|
+
gridGap?: string | number | undefined;
|
|
3941
|
+
flexDirection?: "row" | "column" | undefined;
|
|
3942
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3943
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3944
|
+
flexRow?: boolean | undefined;
|
|
3945
|
+
flexColumn?: boolean | undefined;
|
|
3946
|
+
pcbWidth?: number | undefined;
|
|
3947
|
+
pcbHeight?: number | undefined;
|
|
3948
|
+
schWidth?: number | undefined;
|
|
3949
|
+
schHeight?: number | undefined;
|
|
3950
|
+
pcbLayout?: {
|
|
3951
|
+
grid?: boolean | undefined;
|
|
3952
|
+
flex?: string | boolean | undefined;
|
|
3953
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
3954
|
+
position?: "absolute" | "relative" | undefined;
|
|
3955
|
+
gridCols?: string | number | undefined;
|
|
3956
|
+
gridRows?: string | number | undefined;
|
|
3957
|
+
gridTemplateRows?: string | undefined;
|
|
3958
|
+
gridTemplateColumns?: string | undefined;
|
|
3959
|
+
gridTemplate?: string | undefined;
|
|
3960
|
+
gridGap?: string | number | undefined;
|
|
3961
|
+
flexDirection?: "row" | "column" | undefined;
|
|
3962
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3963
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3964
|
+
flexRow?: boolean | undefined;
|
|
3965
|
+
flexColumn?: boolean | undefined;
|
|
3966
|
+
} | undefined;
|
|
3967
|
+
schLayout?: {
|
|
3968
|
+
grid?: boolean | undefined;
|
|
3969
|
+
flex?: string | boolean | undefined;
|
|
3970
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
3971
|
+
position?: "absolute" | "relative" | undefined;
|
|
3972
|
+
gridCols?: string | number | undefined;
|
|
3973
|
+
gridRows?: string | number | undefined;
|
|
3974
|
+
gridTemplateRows?: string | undefined;
|
|
3975
|
+
gridTemplateColumns?: string | undefined;
|
|
3976
|
+
gridTemplate?: string | undefined;
|
|
3977
|
+
gridGap?: string | number | undefined;
|
|
3978
|
+
flexDirection?: "row" | "column" | undefined;
|
|
3979
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3980
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
3981
|
+
flexRow?: boolean | undefined;
|
|
3982
|
+
flexColumn?: boolean | undefined;
|
|
3983
|
+
} | undefined;
|
|
3296
3984
|
layout?: LayoutBuilder | undefined;
|
|
3297
3985
|
manualEdits?: {
|
|
3298
3986
|
pcb_placements?: {
|
|
@@ -3353,6 +4041,59 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
3353
4041
|
key?: any;
|
|
3354
4042
|
name?: string | undefined;
|
|
3355
4043
|
children?: any;
|
|
4044
|
+
grid?: boolean | undefined;
|
|
4045
|
+
flex?: string | boolean | undefined;
|
|
4046
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4047
|
+
position?: "absolute" | "relative" | undefined;
|
|
4048
|
+
gridCols?: string | number | undefined;
|
|
4049
|
+
gridRows?: string | number | undefined;
|
|
4050
|
+
gridTemplateRows?: string | undefined;
|
|
4051
|
+
gridTemplateColumns?: string | undefined;
|
|
4052
|
+
gridTemplate?: string | undefined;
|
|
4053
|
+
gridGap?: string | number | undefined;
|
|
4054
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4055
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4056
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4057
|
+
flexRow?: boolean | undefined;
|
|
4058
|
+
flexColumn?: boolean | undefined;
|
|
4059
|
+
pcbWidth?: string | number | undefined;
|
|
4060
|
+
pcbHeight?: string | number | undefined;
|
|
4061
|
+
schWidth?: string | number | undefined;
|
|
4062
|
+
schHeight?: string | number | undefined;
|
|
4063
|
+
pcbLayout?: {
|
|
4064
|
+
grid?: boolean | undefined;
|
|
4065
|
+
flex?: string | boolean | undefined;
|
|
4066
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4067
|
+
position?: "absolute" | "relative" | undefined;
|
|
4068
|
+
gridCols?: string | number | undefined;
|
|
4069
|
+
gridRows?: string | number | undefined;
|
|
4070
|
+
gridTemplateRows?: string | undefined;
|
|
4071
|
+
gridTemplateColumns?: string | undefined;
|
|
4072
|
+
gridTemplate?: string | undefined;
|
|
4073
|
+
gridGap?: string | number | undefined;
|
|
4074
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4075
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4076
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4077
|
+
flexRow?: boolean | undefined;
|
|
4078
|
+
flexColumn?: boolean | undefined;
|
|
4079
|
+
} | undefined;
|
|
4080
|
+
schLayout?: {
|
|
4081
|
+
grid?: boolean | undefined;
|
|
4082
|
+
flex?: string | boolean | undefined;
|
|
4083
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4084
|
+
position?: "absolute" | "relative" | undefined;
|
|
4085
|
+
gridCols?: string | number | undefined;
|
|
4086
|
+
gridRows?: string | number | undefined;
|
|
4087
|
+
gridTemplateRows?: string | undefined;
|
|
4088
|
+
gridTemplateColumns?: string | undefined;
|
|
4089
|
+
gridTemplate?: string | undefined;
|
|
4090
|
+
gridGap?: string | number | undefined;
|
|
4091
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4092
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4093
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4094
|
+
flexRow?: boolean | undefined;
|
|
4095
|
+
flexColumn?: boolean | undefined;
|
|
4096
|
+
} | undefined;
|
|
3356
4097
|
layout?: LayoutBuilder | undefined;
|
|
3357
4098
|
manualEdits?: {
|
|
3358
4099
|
pcb_placements?: {
|
|
@@ -3419,6 +4160,123 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
3419
4160
|
}>>;
|
|
3420
4161
|
footprint: z.ZodOptional<z.ZodType<Footprint, z.ZodTypeDef, Footprint>>;
|
|
3421
4162
|
}, {
|
|
4163
|
+
pcbWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4164
|
+
pcbHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4165
|
+
schWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4166
|
+
schHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4167
|
+
pcbLayout: z.ZodOptional<z.ZodObject<{
|
|
4168
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
4169
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
4170
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
4171
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
4172
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
4173
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
4174
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
4175
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
4176
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
4177
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
4178
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
4179
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
4180
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
4181
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
4182
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
4183
|
+
}, "strip", z.ZodTypeAny, {
|
|
4184
|
+
grid?: boolean | undefined;
|
|
4185
|
+
flex?: string | boolean | undefined;
|
|
4186
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4187
|
+
position?: "absolute" | "relative" | undefined;
|
|
4188
|
+
gridCols?: string | number | undefined;
|
|
4189
|
+
gridRows?: string | number | undefined;
|
|
4190
|
+
gridTemplateRows?: string | undefined;
|
|
4191
|
+
gridTemplateColumns?: string | undefined;
|
|
4192
|
+
gridTemplate?: string | undefined;
|
|
4193
|
+
gridGap?: string | number | undefined;
|
|
4194
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4195
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4196
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4197
|
+
flexRow?: boolean | undefined;
|
|
4198
|
+
flexColumn?: boolean | undefined;
|
|
4199
|
+
}, {
|
|
4200
|
+
grid?: boolean | undefined;
|
|
4201
|
+
flex?: string | boolean | undefined;
|
|
4202
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4203
|
+
position?: "absolute" | "relative" | undefined;
|
|
4204
|
+
gridCols?: string | number | undefined;
|
|
4205
|
+
gridRows?: string | number | undefined;
|
|
4206
|
+
gridTemplateRows?: string | undefined;
|
|
4207
|
+
gridTemplateColumns?: string | undefined;
|
|
4208
|
+
gridTemplate?: string | undefined;
|
|
4209
|
+
gridGap?: string | number | undefined;
|
|
4210
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4211
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4212
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4213
|
+
flexRow?: boolean | undefined;
|
|
4214
|
+
flexColumn?: boolean | undefined;
|
|
4215
|
+
}>>;
|
|
4216
|
+
schLayout: z.ZodOptional<z.ZodObject<{
|
|
4217
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
4218
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
4219
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
4220
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
4221
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
4222
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
4223
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
4224
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
4225
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
4226
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
4227
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
4228
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
4229
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
4230
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
4231
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
4232
|
+
}, "strip", z.ZodTypeAny, {
|
|
4233
|
+
grid?: boolean | undefined;
|
|
4234
|
+
flex?: string | boolean | undefined;
|
|
4235
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4236
|
+
position?: "absolute" | "relative" | undefined;
|
|
4237
|
+
gridCols?: string | number | undefined;
|
|
4238
|
+
gridRows?: string | number | undefined;
|
|
4239
|
+
gridTemplateRows?: string | undefined;
|
|
4240
|
+
gridTemplateColumns?: string | undefined;
|
|
4241
|
+
gridTemplate?: string | undefined;
|
|
4242
|
+
gridGap?: string | number | undefined;
|
|
4243
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4244
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4245
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4246
|
+
flexRow?: boolean | undefined;
|
|
4247
|
+
flexColumn?: boolean | undefined;
|
|
4248
|
+
}, {
|
|
4249
|
+
grid?: boolean | undefined;
|
|
4250
|
+
flex?: string | boolean | undefined;
|
|
4251
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4252
|
+
position?: "absolute" | "relative" | undefined;
|
|
4253
|
+
gridCols?: string | number | undefined;
|
|
4254
|
+
gridRows?: string | number | undefined;
|
|
4255
|
+
gridTemplateRows?: string | undefined;
|
|
4256
|
+
gridTemplateColumns?: string | undefined;
|
|
4257
|
+
gridTemplate?: string | undefined;
|
|
4258
|
+
gridGap?: string | number | undefined;
|
|
4259
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4260
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4261
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4262
|
+
flexRow?: boolean | undefined;
|
|
4263
|
+
flexColumn?: boolean | undefined;
|
|
4264
|
+
}>>;
|
|
4265
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
4266
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
4267
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
4268
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
4269
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
4270
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
4271
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
4272
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
4273
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
4274
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
4275
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
4276
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
4277
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
4278
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
4279
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
3422
4280
|
name: z.ZodOptional<z.ZodString>;
|
|
3423
4281
|
children: z.ZodOptional<z.ZodAny>;
|
|
3424
4282
|
key: z.ZodOptional<z.ZodAny>;
|
|
@@ -3436,6 +4294,59 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
3436
4294
|
key?: any;
|
|
3437
4295
|
name?: string | undefined;
|
|
3438
4296
|
children?: any;
|
|
4297
|
+
grid?: boolean | undefined;
|
|
4298
|
+
flex?: string | boolean | undefined;
|
|
4299
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4300
|
+
position?: "absolute" | "relative" | undefined;
|
|
4301
|
+
gridCols?: string | number | undefined;
|
|
4302
|
+
gridRows?: string | number | undefined;
|
|
4303
|
+
gridTemplateRows?: string | undefined;
|
|
4304
|
+
gridTemplateColumns?: string | undefined;
|
|
4305
|
+
gridTemplate?: string | undefined;
|
|
4306
|
+
gridGap?: string | number | undefined;
|
|
4307
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4308
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4309
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4310
|
+
flexRow?: boolean | undefined;
|
|
4311
|
+
flexColumn?: boolean | undefined;
|
|
4312
|
+
pcbWidth?: number | undefined;
|
|
4313
|
+
pcbHeight?: number | undefined;
|
|
4314
|
+
schWidth?: number | undefined;
|
|
4315
|
+
schHeight?: number | undefined;
|
|
4316
|
+
pcbLayout?: {
|
|
4317
|
+
grid?: boolean | undefined;
|
|
4318
|
+
flex?: string | boolean | undefined;
|
|
4319
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4320
|
+
position?: "absolute" | "relative" | undefined;
|
|
4321
|
+
gridCols?: string | number | undefined;
|
|
4322
|
+
gridRows?: string | number | undefined;
|
|
4323
|
+
gridTemplateRows?: string | undefined;
|
|
4324
|
+
gridTemplateColumns?: string | undefined;
|
|
4325
|
+
gridTemplate?: string | undefined;
|
|
4326
|
+
gridGap?: string | number | undefined;
|
|
4327
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4328
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4329
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4330
|
+
flexRow?: boolean | undefined;
|
|
4331
|
+
flexColumn?: boolean | undefined;
|
|
4332
|
+
} | undefined;
|
|
4333
|
+
schLayout?: {
|
|
4334
|
+
grid?: boolean | undefined;
|
|
4335
|
+
flex?: string | boolean | undefined;
|
|
4336
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4337
|
+
position?: "absolute" | "relative" | undefined;
|
|
4338
|
+
gridCols?: string | number | undefined;
|
|
4339
|
+
gridRows?: string | number | undefined;
|
|
4340
|
+
gridTemplateRows?: string | undefined;
|
|
4341
|
+
gridTemplateColumns?: string | undefined;
|
|
4342
|
+
gridTemplate?: string | undefined;
|
|
4343
|
+
gridGap?: string | number | undefined;
|
|
4344
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4345
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4346
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4347
|
+
flexRow?: boolean | undefined;
|
|
4348
|
+
flexColumn?: boolean | undefined;
|
|
4349
|
+
} | undefined;
|
|
3439
4350
|
subcircuit?: false | undefined;
|
|
3440
4351
|
}, {
|
|
3441
4352
|
pcbX?: string | number | undefined;
|
|
@@ -3451,6 +4362,59 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
3451
4362
|
key?: any;
|
|
3452
4363
|
name?: string | undefined;
|
|
3453
4364
|
children?: any;
|
|
4365
|
+
grid?: boolean | undefined;
|
|
4366
|
+
flex?: string | boolean | undefined;
|
|
4367
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4368
|
+
position?: "absolute" | "relative" | undefined;
|
|
4369
|
+
gridCols?: string | number | undefined;
|
|
4370
|
+
gridRows?: string | number | undefined;
|
|
4371
|
+
gridTemplateRows?: string | undefined;
|
|
4372
|
+
gridTemplateColumns?: string | undefined;
|
|
4373
|
+
gridTemplate?: string | undefined;
|
|
4374
|
+
gridGap?: string | number | undefined;
|
|
4375
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4376
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4377
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4378
|
+
flexRow?: boolean | undefined;
|
|
4379
|
+
flexColumn?: boolean | undefined;
|
|
4380
|
+
pcbWidth?: string | number | undefined;
|
|
4381
|
+
pcbHeight?: string | number | undefined;
|
|
4382
|
+
schWidth?: string | number | undefined;
|
|
4383
|
+
schHeight?: string | number | undefined;
|
|
4384
|
+
pcbLayout?: {
|
|
4385
|
+
grid?: boolean | undefined;
|
|
4386
|
+
flex?: string | boolean | undefined;
|
|
4387
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4388
|
+
position?: "absolute" | "relative" | undefined;
|
|
4389
|
+
gridCols?: string | number | undefined;
|
|
4390
|
+
gridRows?: string | number | undefined;
|
|
4391
|
+
gridTemplateRows?: string | undefined;
|
|
4392
|
+
gridTemplateColumns?: string | undefined;
|
|
4393
|
+
gridTemplate?: string | undefined;
|
|
4394
|
+
gridGap?: string | number | undefined;
|
|
4395
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4396
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4397
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4398
|
+
flexRow?: boolean | undefined;
|
|
4399
|
+
flexColumn?: boolean | undefined;
|
|
4400
|
+
} | undefined;
|
|
4401
|
+
schLayout?: {
|
|
4402
|
+
grid?: boolean | undefined;
|
|
4403
|
+
flex?: string | boolean | undefined;
|
|
4404
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4405
|
+
position?: "absolute" | "relative" | undefined;
|
|
4406
|
+
gridCols?: string | number | undefined;
|
|
4407
|
+
gridRows?: string | number | undefined;
|
|
4408
|
+
gridTemplateRows?: string | undefined;
|
|
4409
|
+
gridTemplateColumns?: string | undefined;
|
|
4410
|
+
gridTemplate?: string | undefined;
|
|
4411
|
+
gridGap?: string | number | undefined;
|
|
4412
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4413
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4414
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4415
|
+
flexRow?: boolean | undefined;
|
|
4416
|
+
flexColumn?: boolean | undefined;
|
|
4417
|
+
} | undefined;
|
|
3454
4418
|
subcircuit?: false | undefined;
|
|
3455
4419
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
3456
4420
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -3470,6 +4434,123 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
3470
4434
|
}>>;
|
|
3471
4435
|
footprint: z.ZodOptional<z.ZodType<Footprint, z.ZodTypeDef, Footprint>>;
|
|
3472
4436
|
}, {
|
|
4437
|
+
pcbWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4438
|
+
pcbHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4439
|
+
schWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4440
|
+
schHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4441
|
+
pcbLayout: z.ZodOptional<z.ZodObject<{
|
|
4442
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
4443
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
4444
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
4445
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
4446
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
4447
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
4448
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
4449
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
4450
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
4451
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
4452
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
4453
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
4454
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
4455
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
4456
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
4457
|
+
}, "strip", z.ZodTypeAny, {
|
|
4458
|
+
grid?: boolean | undefined;
|
|
4459
|
+
flex?: string | boolean | undefined;
|
|
4460
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4461
|
+
position?: "absolute" | "relative" | undefined;
|
|
4462
|
+
gridCols?: string | number | undefined;
|
|
4463
|
+
gridRows?: string | number | undefined;
|
|
4464
|
+
gridTemplateRows?: string | undefined;
|
|
4465
|
+
gridTemplateColumns?: string | undefined;
|
|
4466
|
+
gridTemplate?: string | undefined;
|
|
4467
|
+
gridGap?: string | number | undefined;
|
|
4468
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4469
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4470
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4471
|
+
flexRow?: boolean | undefined;
|
|
4472
|
+
flexColumn?: boolean | undefined;
|
|
4473
|
+
}, {
|
|
4474
|
+
grid?: boolean | undefined;
|
|
4475
|
+
flex?: string | boolean | undefined;
|
|
4476
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4477
|
+
position?: "absolute" | "relative" | undefined;
|
|
4478
|
+
gridCols?: string | number | undefined;
|
|
4479
|
+
gridRows?: string | number | undefined;
|
|
4480
|
+
gridTemplateRows?: string | undefined;
|
|
4481
|
+
gridTemplateColumns?: string | undefined;
|
|
4482
|
+
gridTemplate?: string | undefined;
|
|
4483
|
+
gridGap?: string | number | undefined;
|
|
4484
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4485
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4486
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4487
|
+
flexRow?: boolean | undefined;
|
|
4488
|
+
flexColumn?: boolean | undefined;
|
|
4489
|
+
}>>;
|
|
4490
|
+
schLayout: z.ZodOptional<z.ZodObject<{
|
|
4491
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
4492
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
4493
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
4494
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
4495
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
4496
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
4497
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
4498
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
4499
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
4500
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
4501
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
4502
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
4503
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
4504
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
4505
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
4506
|
+
}, "strip", z.ZodTypeAny, {
|
|
4507
|
+
grid?: boolean | undefined;
|
|
4508
|
+
flex?: string | boolean | undefined;
|
|
4509
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4510
|
+
position?: "absolute" | "relative" | undefined;
|
|
4511
|
+
gridCols?: string | number | undefined;
|
|
4512
|
+
gridRows?: string | number | undefined;
|
|
4513
|
+
gridTemplateRows?: string | undefined;
|
|
4514
|
+
gridTemplateColumns?: string | undefined;
|
|
4515
|
+
gridTemplate?: string | undefined;
|
|
4516
|
+
gridGap?: string | number | undefined;
|
|
4517
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4518
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4519
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4520
|
+
flexRow?: boolean | undefined;
|
|
4521
|
+
flexColumn?: boolean | undefined;
|
|
4522
|
+
}, {
|
|
4523
|
+
grid?: boolean | undefined;
|
|
4524
|
+
flex?: string | boolean | undefined;
|
|
4525
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4526
|
+
position?: "absolute" | "relative" | undefined;
|
|
4527
|
+
gridCols?: string | number | undefined;
|
|
4528
|
+
gridRows?: string | number | undefined;
|
|
4529
|
+
gridTemplateRows?: string | undefined;
|
|
4530
|
+
gridTemplateColumns?: string | undefined;
|
|
4531
|
+
gridTemplate?: string | undefined;
|
|
4532
|
+
gridGap?: string | number | undefined;
|
|
4533
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4534
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4535
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4536
|
+
flexRow?: boolean | undefined;
|
|
4537
|
+
flexColumn?: boolean | undefined;
|
|
4538
|
+
}>>;
|
|
4539
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
4540
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
4541
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
4542
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
4543
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
4544
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
4545
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
4546
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
4547
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
4548
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
4549
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
4550
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
4551
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
4552
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
4553
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
3473
4554
|
name: z.ZodOptional<z.ZodString>;
|
|
3474
4555
|
children: z.ZodOptional<z.ZodAny>;
|
|
3475
4556
|
key: z.ZodOptional<z.ZodAny>;
|
|
@@ -3688,6 +4769,59 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
3688
4769
|
key?: any;
|
|
3689
4770
|
name?: string | undefined;
|
|
3690
4771
|
children?: any;
|
|
4772
|
+
grid?: boolean | undefined;
|
|
4773
|
+
flex?: string | boolean | undefined;
|
|
4774
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4775
|
+
position?: "absolute" | "relative" | undefined;
|
|
4776
|
+
gridCols?: string | number | undefined;
|
|
4777
|
+
gridRows?: string | number | undefined;
|
|
4778
|
+
gridTemplateRows?: string | undefined;
|
|
4779
|
+
gridTemplateColumns?: string | undefined;
|
|
4780
|
+
gridTemplate?: string | undefined;
|
|
4781
|
+
gridGap?: string | number | undefined;
|
|
4782
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4783
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4784
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4785
|
+
flexRow?: boolean | undefined;
|
|
4786
|
+
flexColumn?: boolean | undefined;
|
|
4787
|
+
pcbWidth?: number | undefined;
|
|
4788
|
+
pcbHeight?: number | undefined;
|
|
4789
|
+
schWidth?: number | undefined;
|
|
4790
|
+
schHeight?: number | undefined;
|
|
4791
|
+
pcbLayout?: {
|
|
4792
|
+
grid?: boolean | undefined;
|
|
4793
|
+
flex?: string | boolean | undefined;
|
|
4794
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4795
|
+
position?: "absolute" | "relative" | undefined;
|
|
4796
|
+
gridCols?: string | number | undefined;
|
|
4797
|
+
gridRows?: string | number | undefined;
|
|
4798
|
+
gridTemplateRows?: string | undefined;
|
|
4799
|
+
gridTemplateColumns?: string | undefined;
|
|
4800
|
+
gridTemplate?: string | undefined;
|
|
4801
|
+
gridGap?: string | number | undefined;
|
|
4802
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4803
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4804
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4805
|
+
flexRow?: boolean | undefined;
|
|
4806
|
+
flexColumn?: boolean | undefined;
|
|
4807
|
+
} | undefined;
|
|
4808
|
+
schLayout?: {
|
|
4809
|
+
grid?: boolean | undefined;
|
|
4810
|
+
flex?: string | boolean | undefined;
|
|
4811
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4812
|
+
position?: "absolute" | "relative" | undefined;
|
|
4813
|
+
gridCols?: string | number | undefined;
|
|
4814
|
+
gridRows?: string | number | undefined;
|
|
4815
|
+
gridTemplateRows?: string | undefined;
|
|
4816
|
+
gridTemplateColumns?: string | undefined;
|
|
4817
|
+
gridTemplate?: string | undefined;
|
|
4818
|
+
gridGap?: string | number | undefined;
|
|
4819
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4820
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4821
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4822
|
+
flexRow?: boolean | undefined;
|
|
4823
|
+
flexColumn?: boolean | undefined;
|
|
4824
|
+
} | undefined;
|
|
3691
4825
|
layout?: LayoutBuilder | undefined;
|
|
3692
4826
|
manualEdits?: {
|
|
3693
4827
|
pcb_placements?: {
|
|
@@ -3748,6 +4882,59 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
3748
4882
|
key?: any;
|
|
3749
4883
|
name?: string | undefined;
|
|
3750
4884
|
children?: any;
|
|
4885
|
+
grid?: boolean | undefined;
|
|
4886
|
+
flex?: string | boolean | undefined;
|
|
4887
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4888
|
+
position?: "absolute" | "relative" | undefined;
|
|
4889
|
+
gridCols?: string | number | undefined;
|
|
4890
|
+
gridRows?: string | number | undefined;
|
|
4891
|
+
gridTemplateRows?: string | undefined;
|
|
4892
|
+
gridTemplateColumns?: string | undefined;
|
|
4893
|
+
gridTemplate?: string | undefined;
|
|
4894
|
+
gridGap?: string | number | undefined;
|
|
4895
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4896
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4897
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4898
|
+
flexRow?: boolean | undefined;
|
|
4899
|
+
flexColumn?: boolean | undefined;
|
|
4900
|
+
pcbWidth?: string | number | undefined;
|
|
4901
|
+
pcbHeight?: string | number | undefined;
|
|
4902
|
+
schWidth?: string | number | undefined;
|
|
4903
|
+
schHeight?: string | number | undefined;
|
|
4904
|
+
pcbLayout?: {
|
|
4905
|
+
grid?: boolean | undefined;
|
|
4906
|
+
flex?: string | boolean | undefined;
|
|
4907
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4908
|
+
position?: "absolute" | "relative" | undefined;
|
|
4909
|
+
gridCols?: string | number | undefined;
|
|
4910
|
+
gridRows?: string | number | undefined;
|
|
4911
|
+
gridTemplateRows?: string | undefined;
|
|
4912
|
+
gridTemplateColumns?: string | undefined;
|
|
4913
|
+
gridTemplate?: string | undefined;
|
|
4914
|
+
gridGap?: string | number | undefined;
|
|
4915
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4916
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4917
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4918
|
+
flexRow?: boolean | undefined;
|
|
4919
|
+
flexColumn?: boolean | undefined;
|
|
4920
|
+
} | undefined;
|
|
4921
|
+
schLayout?: {
|
|
4922
|
+
grid?: boolean | undefined;
|
|
4923
|
+
flex?: string | boolean | undefined;
|
|
4924
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
4925
|
+
position?: "absolute" | "relative" | undefined;
|
|
4926
|
+
gridCols?: string | number | undefined;
|
|
4927
|
+
gridRows?: string | number | undefined;
|
|
4928
|
+
gridTemplateRows?: string | undefined;
|
|
4929
|
+
gridTemplateColumns?: string | undefined;
|
|
4930
|
+
gridTemplate?: string | undefined;
|
|
4931
|
+
gridGap?: string | number | undefined;
|
|
4932
|
+
flexDirection?: "row" | "column" | undefined;
|
|
4933
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4934
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
4935
|
+
flexRow?: boolean | undefined;
|
|
4936
|
+
flexColumn?: boolean | undefined;
|
|
4937
|
+
} | undefined;
|
|
3751
4938
|
layout?: LayoutBuilder | undefined;
|
|
3752
4939
|
manualEdits?: {
|
|
3753
4940
|
pcb_placements?: {
|
|
@@ -3827,6 +5014,123 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
3827
5014
|
}>>;
|
|
3828
5015
|
footprint: z.ZodOptional<z.ZodType<Footprint, z.ZodTypeDef, Footprint>>;
|
|
3829
5016
|
}, {
|
|
5017
|
+
pcbWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5018
|
+
pcbHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5019
|
+
schWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5020
|
+
schHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5021
|
+
pcbLayout: z.ZodOptional<z.ZodObject<{
|
|
5022
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
5023
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
5024
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
5025
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5026
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5027
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
5028
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
5029
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
5030
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5031
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
5032
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
5033
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
5034
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
5035
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
5036
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
5037
|
+
}, "strip", z.ZodTypeAny, {
|
|
5038
|
+
grid?: boolean | undefined;
|
|
5039
|
+
flex?: string | boolean | undefined;
|
|
5040
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
5041
|
+
position?: "absolute" | "relative" | undefined;
|
|
5042
|
+
gridCols?: string | number | undefined;
|
|
5043
|
+
gridRows?: string | number | undefined;
|
|
5044
|
+
gridTemplateRows?: string | undefined;
|
|
5045
|
+
gridTemplateColumns?: string | undefined;
|
|
5046
|
+
gridTemplate?: string | undefined;
|
|
5047
|
+
gridGap?: string | number | undefined;
|
|
5048
|
+
flexDirection?: "row" | "column" | undefined;
|
|
5049
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
5050
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
5051
|
+
flexRow?: boolean | undefined;
|
|
5052
|
+
flexColumn?: boolean | undefined;
|
|
5053
|
+
}, {
|
|
5054
|
+
grid?: boolean | undefined;
|
|
5055
|
+
flex?: string | boolean | undefined;
|
|
5056
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
5057
|
+
position?: "absolute" | "relative" | undefined;
|
|
5058
|
+
gridCols?: string | number | undefined;
|
|
5059
|
+
gridRows?: string | number | undefined;
|
|
5060
|
+
gridTemplateRows?: string | undefined;
|
|
5061
|
+
gridTemplateColumns?: string | undefined;
|
|
5062
|
+
gridTemplate?: string | undefined;
|
|
5063
|
+
gridGap?: string | number | undefined;
|
|
5064
|
+
flexDirection?: "row" | "column" | undefined;
|
|
5065
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
5066
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
5067
|
+
flexRow?: boolean | undefined;
|
|
5068
|
+
flexColumn?: boolean | undefined;
|
|
5069
|
+
}>>;
|
|
5070
|
+
schLayout: z.ZodOptional<z.ZodObject<{
|
|
5071
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
5072
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
5073
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
5074
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5075
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5076
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
5077
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
5078
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
5079
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5080
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
5081
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
5082
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
5083
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
5084
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
5085
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
5086
|
+
}, "strip", z.ZodTypeAny, {
|
|
5087
|
+
grid?: boolean | undefined;
|
|
5088
|
+
flex?: string | boolean | undefined;
|
|
5089
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
5090
|
+
position?: "absolute" | "relative" | undefined;
|
|
5091
|
+
gridCols?: string | number | undefined;
|
|
5092
|
+
gridRows?: string | number | undefined;
|
|
5093
|
+
gridTemplateRows?: string | undefined;
|
|
5094
|
+
gridTemplateColumns?: string | undefined;
|
|
5095
|
+
gridTemplate?: string | undefined;
|
|
5096
|
+
gridGap?: string | number | undefined;
|
|
5097
|
+
flexDirection?: "row" | "column" | undefined;
|
|
5098
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
5099
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
5100
|
+
flexRow?: boolean | undefined;
|
|
5101
|
+
flexColumn?: boolean | undefined;
|
|
5102
|
+
}, {
|
|
5103
|
+
grid?: boolean | undefined;
|
|
5104
|
+
flex?: string | boolean | undefined;
|
|
5105
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
5106
|
+
position?: "absolute" | "relative" | undefined;
|
|
5107
|
+
gridCols?: string | number | undefined;
|
|
5108
|
+
gridRows?: string | number | undefined;
|
|
5109
|
+
gridTemplateRows?: string | undefined;
|
|
5110
|
+
gridTemplateColumns?: string | undefined;
|
|
5111
|
+
gridTemplate?: string | undefined;
|
|
5112
|
+
gridGap?: string | number | undefined;
|
|
5113
|
+
flexDirection?: "row" | "column" | undefined;
|
|
5114
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
5115
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
5116
|
+
flexRow?: boolean | undefined;
|
|
5117
|
+
flexColumn?: boolean | undefined;
|
|
5118
|
+
}>>;
|
|
5119
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
5120
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
5121
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
5122
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5123
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5124
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
5125
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
5126
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
5127
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5128
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
5129
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
5130
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
5131
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
5132
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
5133
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
3830
5134
|
name: z.ZodOptional<z.ZodString>;
|
|
3831
5135
|
children: z.ZodOptional<z.ZodAny>;
|
|
3832
5136
|
key: z.ZodOptional<z.ZodAny>;
|
|
@@ -4057,6 +5361,59 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
4057
5361
|
key?: any;
|
|
4058
5362
|
name?: string | undefined;
|
|
4059
5363
|
children?: any;
|
|
5364
|
+
grid?: boolean | undefined;
|
|
5365
|
+
flex?: string | boolean | undefined;
|
|
5366
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
5367
|
+
position?: "absolute" | "relative" | undefined;
|
|
5368
|
+
gridCols?: string | number | undefined;
|
|
5369
|
+
gridRows?: string | number | undefined;
|
|
5370
|
+
gridTemplateRows?: string | undefined;
|
|
5371
|
+
gridTemplateColumns?: string | undefined;
|
|
5372
|
+
gridTemplate?: string | undefined;
|
|
5373
|
+
gridGap?: string | number | undefined;
|
|
5374
|
+
flexDirection?: "row" | "column" | undefined;
|
|
5375
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
5376
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
5377
|
+
flexRow?: boolean | undefined;
|
|
5378
|
+
flexColumn?: boolean | undefined;
|
|
5379
|
+
pcbWidth?: number | undefined;
|
|
5380
|
+
pcbHeight?: number | undefined;
|
|
5381
|
+
schWidth?: number | undefined;
|
|
5382
|
+
schHeight?: number | undefined;
|
|
5383
|
+
pcbLayout?: {
|
|
5384
|
+
grid?: boolean | undefined;
|
|
5385
|
+
flex?: string | boolean | undefined;
|
|
5386
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
5387
|
+
position?: "absolute" | "relative" | undefined;
|
|
5388
|
+
gridCols?: string | number | undefined;
|
|
5389
|
+
gridRows?: string | number | undefined;
|
|
5390
|
+
gridTemplateRows?: string | undefined;
|
|
5391
|
+
gridTemplateColumns?: string | undefined;
|
|
5392
|
+
gridTemplate?: string | undefined;
|
|
5393
|
+
gridGap?: string | number | undefined;
|
|
5394
|
+
flexDirection?: "row" | "column" | undefined;
|
|
5395
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
5396
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
5397
|
+
flexRow?: boolean | undefined;
|
|
5398
|
+
flexColumn?: boolean | undefined;
|
|
5399
|
+
} | undefined;
|
|
5400
|
+
schLayout?: {
|
|
5401
|
+
grid?: boolean | undefined;
|
|
5402
|
+
flex?: string | boolean | undefined;
|
|
5403
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
5404
|
+
position?: "absolute" | "relative" | undefined;
|
|
5405
|
+
gridCols?: string | number | undefined;
|
|
5406
|
+
gridRows?: string | number | undefined;
|
|
5407
|
+
gridTemplateRows?: string | undefined;
|
|
5408
|
+
gridTemplateColumns?: string | undefined;
|
|
5409
|
+
gridTemplate?: string | undefined;
|
|
5410
|
+
gridGap?: string | number | undefined;
|
|
5411
|
+
flexDirection?: "row" | "column" | undefined;
|
|
5412
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
5413
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
5414
|
+
flexRow?: boolean | undefined;
|
|
5415
|
+
flexColumn?: boolean | undefined;
|
|
5416
|
+
} | undefined;
|
|
4060
5417
|
layout?: LayoutBuilder | undefined;
|
|
4061
5418
|
manualEdits?: {
|
|
4062
5419
|
pcb_placements?: {
|
|
@@ -4124,6 +5481,59 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
4124
5481
|
key?: any;
|
|
4125
5482
|
name?: string | undefined;
|
|
4126
5483
|
children?: any;
|
|
5484
|
+
grid?: boolean | undefined;
|
|
5485
|
+
flex?: string | boolean | undefined;
|
|
5486
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
5487
|
+
position?: "absolute" | "relative" | undefined;
|
|
5488
|
+
gridCols?: string | number | undefined;
|
|
5489
|
+
gridRows?: string | number | undefined;
|
|
5490
|
+
gridTemplateRows?: string | undefined;
|
|
5491
|
+
gridTemplateColumns?: string | undefined;
|
|
5492
|
+
gridTemplate?: string | undefined;
|
|
5493
|
+
gridGap?: string | number | undefined;
|
|
5494
|
+
flexDirection?: "row" | "column" | undefined;
|
|
5495
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
5496
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
5497
|
+
flexRow?: boolean | undefined;
|
|
5498
|
+
flexColumn?: boolean | undefined;
|
|
5499
|
+
pcbWidth?: string | number | undefined;
|
|
5500
|
+
pcbHeight?: string | number | undefined;
|
|
5501
|
+
schWidth?: string | number | undefined;
|
|
5502
|
+
schHeight?: string | number | undefined;
|
|
5503
|
+
pcbLayout?: {
|
|
5504
|
+
grid?: boolean | undefined;
|
|
5505
|
+
flex?: string | boolean | undefined;
|
|
5506
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
5507
|
+
position?: "absolute" | "relative" | undefined;
|
|
5508
|
+
gridCols?: string | number | undefined;
|
|
5509
|
+
gridRows?: string | number | undefined;
|
|
5510
|
+
gridTemplateRows?: string | undefined;
|
|
5511
|
+
gridTemplateColumns?: string | undefined;
|
|
5512
|
+
gridTemplate?: string | undefined;
|
|
5513
|
+
gridGap?: string | number | undefined;
|
|
5514
|
+
flexDirection?: "row" | "column" | undefined;
|
|
5515
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
5516
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
5517
|
+
flexRow?: boolean | undefined;
|
|
5518
|
+
flexColumn?: boolean | undefined;
|
|
5519
|
+
} | undefined;
|
|
5520
|
+
schLayout?: {
|
|
5521
|
+
grid?: boolean | undefined;
|
|
5522
|
+
flex?: string | boolean | undefined;
|
|
5523
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
5524
|
+
position?: "absolute" | "relative" | undefined;
|
|
5525
|
+
gridCols?: string | number | undefined;
|
|
5526
|
+
gridRows?: string | number | undefined;
|
|
5527
|
+
gridTemplateRows?: string | undefined;
|
|
5528
|
+
gridTemplateColumns?: string | undefined;
|
|
5529
|
+
gridTemplate?: string | undefined;
|
|
5530
|
+
gridGap?: string | number | undefined;
|
|
5531
|
+
flexDirection?: "row" | "column" | undefined;
|
|
5532
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
5533
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
5534
|
+
flexRow?: boolean | undefined;
|
|
5535
|
+
flexColumn?: boolean | undefined;
|
|
5536
|
+
} | undefined;
|
|
4127
5537
|
layout?: LayoutBuilder | undefined;
|
|
4128
5538
|
manualEdits?: {
|
|
4129
5539
|
pcb_placements?: {
|
|
@@ -4761,6 +6171,8 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
|
|
|
4761
6171
|
} | undefined;
|
|
4762
6172
|
children?: any;
|
|
4763
6173
|
symbolName?: string | undefined;
|
|
6174
|
+
schWidth?: number | undefined;
|
|
6175
|
+
schHeight?: number | undefined;
|
|
4764
6176
|
manufacturerPartNumber?: string | undefined;
|
|
4765
6177
|
pinLabels?: Record<string | number, string | readonly string[]> | undefined;
|
|
4766
6178
|
internallyConnectedPins?: string[][] | undefined;
|
|
@@ -4828,8 +6240,6 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
|
|
|
4828
6240
|
bottomMargin?: number | undefined;
|
|
4829
6241
|
}> | undefined;
|
|
4830
6242
|
schPinSpacing?: number | undefined;
|
|
4831
|
-
schWidth?: number | undefined;
|
|
4832
|
-
schHeight?: number | undefined;
|
|
4833
6243
|
noSchematicRepresentation?: boolean | undefined;
|
|
4834
6244
|
connections?: Record<string | number, string | readonly string[] | string[]> | undefined;
|
|
4835
6245
|
}, {
|
|
@@ -4901,6 +6311,8 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
|
|
|
4901
6311
|
} | undefined;
|
|
4902
6312
|
children?: any;
|
|
4903
6313
|
symbolName?: string | undefined;
|
|
6314
|
+
schWidth?: string | number | undefined;
|
|
6315
|
+
schHeight?: string | number | undefined;
|
|
4904
6316
|
manufacturerPartNumber?: string | undefined;
|
|
4905
6317
|
pinLabels?: Record<string | number, string | readonly string[]> | undefined;
|
|
4906
6318
|
internallyConnectedPins?: string[][] | undefined;
|
|
@@ -4968,8 +6380,6 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
|
|
|
4968
6380
|
bottomMargin?: string | number | undefined;
|
|
4969
6381
|
}> | undefined;
|
|
4970
6382
|
schPinSpacing?: string | number | undefined;
|
|
4971
|
-
schWidth?: string | number | undefined;
|
|
4972
|
-
schHeight?: string | number | undefined;
|
|
4973
6383
|
noSchematicRepresentation?: boolean | undefined;
|
|
4974
6384
|
connections?: Record<string | number, string | readonly string[] | string[]> | undefined;
|
|
4975
6385
|
}>;
|
|
@@ -5537,6 +6947,8 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
5537
6947
|
} | undefined;
|
|
5538
6948
|
children?: any;
|
|
5539
6949
|
symbolName?: string | undefined;
|
|
6950
|
+
schWidth?: number | undefined;
|
|
6951
|
+
schHeight?: number | undefined;
|
|
5540
6952
|
manufacturerPartNumber?: string | undefined;
|
|
5541
6953
|
pinLabels?: Record<string | number, string | readonly string[]> | undefined;
|
|
5542
6954
|
internallyConnectedPins?: string[][] | undefined;
|
|
@@ -5604,8 +7016,6 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
5604
7016
|
bottomMargin?: number | undefined;
|
|
5605
7017
|
}> | undefined;
|
|
5606
7018
|
schPinSpacing?: number | undefined;
|
|
5607
|
-
schWidth?: number | undefined;
|
|
5608
|
-
schHeight?: number | undefined;
|
|
5609
7019
|
noSchematicRepresentation?: boolean | undefined;
|
|
5610
7020
|
connections?: Record<string | number, string | readonly string[] | string[]> | undefined;
|
|
5611
7021
|
}, {
|
|
@@ -5677,6 +7087,8 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
5677
7087
|
} | undefined;
|
|
5678
7088
|
children?: any;
|
|
5679
7089
|
symbolName?: string | undefined;
|
|
7090
|
+
schWidth?: string | number | undefined;
|
|
7091
|
+
schHeight?: string | number | undefined;
|
|
5680
7092
|
manufacturerPartNumber?: string | undefined;
|
|
5681
7093
|
pinLabels?: Record<string | number, string | readonly string[]> | undefined;
|
|
5682
7094
|
internallyConnectedPins?: string[][] | undefined;
|
|
@@ -5744,8 +7156,6 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
5744
7156
|
bottomMargin?: string | number | undefined;
|
|
5745
7157
|
}> | undefined;
|
|
5746
7158
|
schPinSpacing?: string | number | undefined;
|
|
5747
|
-
schWidth?: string | number | undefined;
|
|
5748
|
-
schHeight?: string | number | undefined;
|
|
5749
7159
|
noSchematicRepresentation?: boolean | undefined;
|
|
5750
7160
|
connections?: Record<string | number, string | readonly string[] | string[]> | undefined;
|
|
5751
7161
|
}>;
|
|
@@ -6219,6 +7629,8 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
|
|
|
6219
7629
|
} | undefined;
|
|
6220
7630
|
children?: any;
|
|
6221
7631
|
symbolName?: string | undefined;
|
|
7632
|
+
schWidth?: number | undefined;
|
|
7633
|
+
schHeight?: number | undefined;
|
|
6222
7634
|
manufacturerPartNumber?: string | undefined;
|
|
6223
7635
|
pinLabels?: Record<string | number, string | string[]> | undefined;
|
|
6224
7636
|
schPortArrangement?: {
|
|
@@ -6258,8 +7670,6 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
|
|
|
6258
7670
|
bottomMargin?: number | undefined;
|
|
6259
7671
|
}> | undefined;
|
|
6260
7672
|
schPinSpacing?: number | undefined;
|
|
6261
|
-
schWidth?: number | undefined;
|
|
6262
|
-
schHeight?: number | undefined;
|
|
6263
7673
|
schDirection?: "left" | "right" | undefined;
|
|
6264
7674
|
}, {
|
|
6265
7675
|
name: string;
|
|
@@ -6330,6 +7740,8 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
|
|
|
6330
7740
|
} | undefined;
|
|
6331
7741
|
children?: any;
|
|
6332
7742
|
symbolName?: string | undefined;
|
|
7743
|
+
schWidth?: string | number | undefined;
|
|
7744
|
+
schHeight?: string | number | undefined;
|
|
6333
7745
|
manufacturerPartNumber?: string | undefined;
|
|
6334
7746
|
pinLabels?: Record<string | number, string | string[]> | undefined;
|
|
6335
7747
|
schPortArrangement?: {
|
|
@@ -6369,8 +7781,6 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
|
|
|
6369
7781
|
bottomMargin?: string | number | undefined;
|
|
6370
7782
|
}> | undefined;
|
|
6371
7783
|
schPinSpacing?: string | number | undefined;
|
|
6372
|
-
schWidth?: string | number | undefined;
|
|
6373
|
-
schHeight?: string | number | undefined;
|
|
6374
7784
|
schDirection?: "left" | "right" | undefined;
|
|
6375
7785
|
}>;
|
|
6376
7786
|
|
|
@@ -8164,18 +9574,19 @@ declare const resonatorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
8164
9574
|
pinVariant?: "no_ground" | "ground_pin" | "two_ground_pins" | undefined;
|
|
8165
9575
|
}>;
|
|
8166
9576
|
|
|
8167
|
-
interface
|
|
8168
|
-
|
|
8169
|
-
|
|
8170
|
-
|
|
8171
|
-
|
|
8172
|
-
|
|
8173
|
-
|
|
8174
|
-
|
|
8175
|
-
|
|
8176
|
-
|
|
9577
|
+
interface StampboardProps extends BoardProps {
|
|
9578
|
+
leftPinCount?: number;
|
|
9579
|
+
rightPinCount?: number;
|
|
9580
|
+
topPinCount?: number;
|
|
9581
|
+
bottomPinCount?: number;
|
|
9582
|
+
leftPins?: string[];
|
|
9583
|
+
rightPins?: string[];
|
|
9584
|
+
topPins?: string[];
|
|
9585
|
+
bottomPins?: string[];
|
|
9586
|
+
pinPitch?: number | string;
|
|
9587
|
+
innerHoles?: boolean;
|
|
8177
9588
|
}
|
|
8178
|
-
declare const
|
|
9589
|
+
declare const stampboardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
8179
9590
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8180
9591
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8181
9592
|
pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -8193,62 +9604,699 @@ declare const capacitorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
8193
9604
|
}>>;
|
|
8194
9605
|
footprint: z.ZodOptional<z.ZodType<Footprint, z.ZodTypeDef, Footprint>>;
|
|
8195
9606
|
}, {
|
|
8196
|
-
|
|
8197
|
-
|
|
9607
|
+
pcbWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
9608
|
+
pcbHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
9609
|
+
schWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
9610
|
+
schHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
9611
|
+
pcbLayout: z.ZodOptional<z.ZodObject<{
|
|
9612
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
9613
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
9614
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
9615
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
9616
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
9617
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
9618
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
9619
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
9620
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
9621
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
9622
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
9623
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
9624
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
9625
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
9626
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
9627
|
+
}, "strip", z.ZodTypeAny, {
|
|
9628
|
+
grid?: boolean | undefined;
|
|
9629
|
+
flex?: string | boolean | undefined;
|
|
9630
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
9631
|
+
position?: "absolute" | "relative" | undefined;
|
|
9632
|
+
gridCols?: string | number | undefined;
|
|
9633
|
+
gridRows?: string | number | undefined;
|
|
9634
|
+
gridTemplateRows?: string | undefined;
|
|
9635
|
+
gridTemplateColumns?: string | undefined;
|
|
9636
|
+
gridTemplate?: string | undefined;
|
|
9637
|
+
gridGap?: string | number | undefined;
|
|
9638
|
+
flexDirection?: "row" | "column" | undefined;
|
|
9639
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
9640
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
9641
|
+
flexRow?: boolean | undefined;
|
|
9642
|
+
flexColumn?: boolean | undefined;
|
|
9643
|
+
}, {
|
|
9644
|
+
grid?: boolean | undefined;
|
|
9645
|
+
flex?: string | boolean | undefined;
|
|
9646
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
9647
|
+
position?: "absolute" | "relative" | undefined;
|
|
9648
|
+
gridCols?: string | number | undefined;
|
|
9649
|
+
gridRows?: string | number | undefined;
|
|
9650
|
+
gridTemplateRows?: string | undefined;
|
|
9651
|
+
gridTemplateColumns?: string | undefined;
|
|
9652
|
+
gridTemplate?: string | undefined;
|
|
9653
|
+
gridGap?: string | number | undefined;
|
|
9654
|
+
flexDirection?: "row" | "column" | undefined;
|
|
9655
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
9656
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
9657
|
+
flexRow?: boolean | undefined;
|
|
9658
|
+
flexColumn?: boolean | undefined;
|
|
9659
|
+
}>>;
|
|
9660
|
+
schLayout: z.ZodOptional<z.ZodObject<{
|
|
9661
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
9662
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
9663
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
9664
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
9665
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
9666
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
9667
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
9668
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
9669
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
9670
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
9671
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
9672
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
9673
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
9674
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
9675
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
9676
|
+
}, "strip", z.ZodTypeAny, {
|
|
9677
|
+
grid?: boolean | undefined;
|
|
9678
|
+
flex?: string | boolean | undefined;
|
|
9679
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
9680
|
+
position?: "absolute" | "relative" | undefined;
|
|
9681
|
+
gridCols?: string | number | undefined;
|
|
9682
|
+
gridRows?: string | number | undefined;
|
|
9683
|
+
gridTemplateRows?: string | undefined;
|
|
9684
|
+
gridTemplateColumns?: string | undefined;
|
|
9685
|
+
gridTemplate?: string | undefined;
|
|
9686
|
+
gridGap?: string | number | undefined;
|
|
9687
|
+
flexDirection?: "row" | "column" | undefined;
|
|
9688
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
9689
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
9690
|
+
flexRow?: boolean | undefined;
|
|
9691
|
+
flexColumn?: boolean | undefined;
|
|
9692
|
+
}, {
|
|
9693
|
+
grid?: boolean | undefined;
|
|
9694
|
+
flex?: string | boolean | undefined;
|
|
9695
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
9696
|
+
position?: "absolute" | "relative" | undefined;
|
|
9697
|
+
gridCols?: string | number | undefined;
|
|
9698
|
+
gridRows?: string | number | undefined;
|
|
9699
|
+
gridTemplateRows?: string | undefined;
|
|
9700
|
+
gridTemplateColumns?: string | undefined;
|
|
9701
|
+
gridTemplate?: string | undefined;
|
|
9702
|
+
gridGap?: string | number | undefined;
|
|
9703
|
+
flexDirection?: "row" | "column" | undefined;
|
|
9704
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
9705
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
9706
|
+
flexRow?: boolean | undefined;
|
|
9707
|
+
flexColumn?: boolean | undefined;
|
|
9708
|
+
}>>;
|
|
9709
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
9710
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
9711
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
9712
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
9713
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
9714
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
9715
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
9716
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
9717
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
9718
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
9719
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
9720
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
9721
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
9722
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
9723
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
9724
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9725
|
+
children: z.ZodOptional<z.ZodAny>;
|
|
8198
9726
|
key: z.ZodOptional<z.ZodAny>;
|
|
8199
|
-
|
|
8200
|
-
|
|
8201
|
-
|
|
8202
|
-
|
|
8203
|
-
|
|
8204
|
-
|
|
8205
|
-
|
|
8206
|
-
|
|
8207
|
-
|
|
8208
|
-
|
|
8209
|
-
|
|
8210
|
-
|
|
8211
|
-
|
|
8212
|
-
|
|
8213
|
-
|
|
8214
|
-
|
|
8215
|
-
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8216
|
-
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8217
|
-
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
9727
|
+
}>, {
|
|
9728
|
+
layout: z.ZodOptional<z.ZodType<_tscircuit_layout.LayoutBuilder, z.ZodTypeDef, _tscircuit_layout.LayoutBuilder>>;
|
|
9729
|
+
manualEdits: z.ZodOptional<z.ZodObject<{
|
|
9730
|
+
pcb_placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9731
|
+
selector: z.ZodString;
|
|
9732
|
+
relative_to: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
9733
|
+
center: z.ZodObject<{
|
|
9734
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
9735
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
9736
|
+
}, "strip", z.ZodTypeAny, {
|
|
9737
|
+
x: number;
|
|
9738
|
+
y: number;
|
|
9739
|
+
}, {
|
|
9740
|
+
x: string | number;
|
|
9741
|
+
y: string | number;
|
|
9742
|
+
}>;
|
|
8218
9743
|
}, "strip", z.ZodTypeAny, {
|
|
8219
|
-
|
|
8220
|
-
|
|
8221
|
-
|
|
9744
|
+
selector: string;
|
|
9745
|
+
relative_to: string;
|
|
9746
|
+
center: {
|
|
9747
|
+
x: number;
|
|
9748
|
+
y: number;
|
|
9749
|
+
};
|
|
8222
9750
|
}, {
|
|
8223
|
-
|
|
8224
|
-
|
|
8225
|
-
|
|
8226
|
-
|
|
8227
|
-
|
|
8228
|
-
|
|
8229
|
-
|
|
8230
|
-
|
|
9751
|
+
selector: string;
|
|
9752
|
+
center: {
|
|
9753
|
+
x: string | number;
|
|
9754
|
+
y: string | number;
|
|
9755
|
+
};
|
|
9756
|
+
relative_to?: string | undefined;
|
|
9757
|
+
}>, "many">>;
|
|
9758
|
+
manual_trace_hints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9759
|
+
pcb_port_selector: z.ZodString;
|
|
9760
|
+
offsets: z.ZodArray<z.ZodObject<{
|
|
9761
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
9762
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
9763
|
+
via: z.ZodOptional<z.ZodBoolean>;
|
|
9764
|
+
to_layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
9765
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
9766
|
+
}, "strip", z.ZodTypeAny, {
|
|
9767
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9768
|
+
}, {
|
|
9769
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9770
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9771
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9772
|
+
}>>;
|
|
9773
|
+
trace_width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
9774
|
+
}, "strip", z.ZodTypeAny, {
|
|
9775
|
+
x: number;
|
|
9776
|
+
y: number;
|
|
9777
|
+
trace_width?: number | undefined;
|
|
9778
|
+
via?: boolean | undefined;
|
|
9779
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
9780
|
+
}, {
|
|
9781
|
+
x: string | number;
|
|
9782
|
+
y: string | number;
|
|
9783
|
+
trace_width?: string | number | undefined;
|
|
9784
|
+
via?: boolean | undefined;
|
|
9785
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9786
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9787
|
+
} | undefined;
|
|
9788
|
+
}>, "many">;
|
|
8231
9789
|
}, "strip", z.ZodTypeAny, {
|
|
8232
|
-
|
|
8233
|
-
|
|
8234
|
-
|
|
9790
|
+
pcb_port_selector: string;
|
|
9791
|
+
offsets: {
|
|
9792
|
+
x: number;
|
|
9793
|
+
y: number;
|
|
9794
|
+
trace_width?: number | undefined;
|
|
9795
|
+
via?: boolean | undefined;
|
|
9796
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
9797
|
+
}[];
|
|
8235
9798
|
}, {
|
|
8236
|
-
|
|
8237
|
-
|
|
8238
|
-
|
|
8239
|
-
|
|
8240
|
-
|
|
8241
|
-
|
|
8242
|
-
|
|
8243
|
-
|
|
8244
|
-
|
|
8245
|
-
|
|
8246
|
-
|
|
8247
|
-
|
|
8248
|
-
|
|
8249
|
-
|
|
8250
|
-
|
|
8251
|
-
|
|
9799
|
+
pcb_port_selector: string;
|
|
9800
|
+
offsets: {
|
|
9801
|
+
x: string | number;
|
|
9802
|
+
y: string | number;
|
|
9803
|
+
trace_width?: string | number | undefined;
|
|
9804
|
+
via?: boolean | undefined;
|
|
9805
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9806
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9807
|
+
} | undefined;
|
|
9808
|
+
}[];
|
|
9809
|
+
}>, "many">>;
|
|
9810
|
+
schematic_placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9811
|
+
selector: z.ZodString;
|
|
9812
|
+
relative_to: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
9813
|
+
center: z.ZodObject<{
|
|
9814
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
9815
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
9816
|
+
}, "strip", z.ZodTypeAny, {
|
|
9817
|
+
x: number;
|
|
9818
|
+
y: number;
|
|
9819
|
+
}, {
|
|
9820
|
+
x: string | number;
|
|
9821
|
+
y: string | number;
|
|
9822
|
+
}>;
|
|
9823
|
+
}, "strip", z.ZodTypeAny, {
|
|
9824
|
+
selector: string;
|
|
9825
|
+
relative_to: string;
|
|
9826
|
+
center: {
|
|
9827
|
+
x: number;
|
|
9828
|
+
y: number;
|
|
9829
|
+
};
|
|
9830
|
+
}, {
|
|
9831
|
+
selector: string;
|
|
9832
|
+
center: {
|
|
9833
|
+
x: string | number;
|
|
9834
|
+
y: string | number;
|
|
9835
|
+
};
|
|
9836
|
+
relative_to?: string | undefined;
|
|
9837
|
+
}>, "many">>;
|
|
9838
|
+
}, "strip", z.ZodTypeAny, {
|
|
9839
|
+
pcb_placements?: {
|
|
9840
|
+
selector: string;
|
|
9841
|
+
relative_to: string;
|
|
9842
|
+
center: {
|
|
9843
|
+
x: number;
|
|
9844
|
+
y: number;
|
|
9845
|
+
};
|
|
9846
|
+
}[] | undefined;
|
|
9847
|
+
manual_trace_hints?: {
|
|
9848
|
+
pcb_port_selector: string;
|
|
9849
|
+
offsets: {
|
|
9850
|
+
x: number;
|
|
9851
|
+
y: number;
|
|
9852
|
+
trace_width?: number | undefined;
|
|
9853
|
+
via?: boolean | undefined;
|
|
9854
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
9855
|
+
}[];
|
|
9856
|
+
}[] | undefined;
|
|
9857
|
+
schematic_placements?: {
|
|
9858
|
+
selector: string;
|
|
9859
|
+
relative_to: string;
|
|
9860
|
+
center: {
|
|
9861
|
+
x: number;
|
|
9862
|
+
y: number;
|
|
9863
|
+
};
|
|
9864
|
+
}[] | undefined;
|
|
9865
|
+
}, {
|
|
9866
|
+
pcb_placements?: {
|
|
9867
|
+
selector: string;
|
|
9868
|
+
center: {
|
|
9869
|
+
x: string | number;
|
|
9870
|
+
y: string | number;
|
|
9871
|
+
};
|
|
9872
|
+
relative_to?: string | undefined;
|
|
9873
|
+
}[] | undefined;
|
|
9874
|
+
manual_trace_hints?: {
|
|
9875
|
+
pcb_port_selector: string;
|
|
9876
|
+
offsets: {
|
|
9877
|
+
x: string | number;
|
|
9878
|
+
y: string | number;
|
|
9879
|
+
trace_width?: string | number | undefined;
|
|
9880
|
+
via?: boolean | undefined;
|
|
9881
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9882
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9883
|
+
} | undefined;
|
|
9884
|
+
}[];
|
|
9885
|
+
}[] | undefined;
|
|
9886
|
+
schematic_placements?: {
|
|
9887
|
+
selector: string;
|
|
9888
|
+
center: {
|
|
9889
|
+
x: string | number;
|
|
9890
|
+
y: string | number;
|
|
9891
|
+
};
|
|
9892
|
+
relative_to?: string | undefined;
|
|
9893
|
+
}[] | undefined;
|
|
9894
|
+
}>>;
|
|
9895
|
+
schAutoLayoutEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
9896
|
+
schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
9897
|
+
routingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
9898
|
+
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
9899
|
+
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
9900
|
+
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
9901
|
+
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
9902
|
+
autorouter: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
9903
|
+
serverUrl: z.ZodOptional<z.ZodString>;
|
|
9904
|
+
inputFormat: z.ZodOptional<z.ZodEnum<["simplified", "circuit-json"]>>;
|
|
9905
|
+
serverMode: z.ZodOptional<z.ZodEnum<["job", "solve-endpoint"]>>;
|
|
9906
|
+
serverCacheEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
9907
|
+
cache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
9908
|
+
groupMode: z.ZodOptional<z.ZodEnum<["sequential-trace", "subcircuit"]>>;
|
|
9909
|
+
local: z.ZodOptional<z.ZodBoolean>;
|
|
9910
|
+
}, "strip", z.ZodTypeAny, {
|
|
9911
|
+
serverUrl?: string | undefined;
|
|
9912
|
+
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
9913
|
+
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
9914
|
+
serverCacheEnabled?: boolean | undefined;
|
|
9915
|
+
cache?: PcbRouteCache | undefined;
|
|
9916
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
9917
|
+
local?: boolean | undefined;
|
|
9918
|
+
}, {
|
|
9919
|
+
serverUrl?: string | undefined;
|
|
9920
|
+
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
9921
|
+
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
9922
|
+
serverCacheEnabled?: boolean | undefined;
|
|
9923
|
+
cache?: PcbRouteCache | undefined;
|
|
9924
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
9925
|
+
local?: boolean | undefined;
|
|
9926
|
+
}>, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>>;
|
|
9927
|
+
}>, {
|
|
9928
|
+
width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
9929
|
+
height: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
9930
|
+
outline: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9931
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
9932
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
9933
|
+
}, "strip", z.ZodTypeAny, {
|
|
9934
|
+
x: number;
|
|
9935
|
+
y: number;
|
|
9936
|
+
}, {
|
|
9937
|
+
x: string | number;
|
|
9938
|
+
y: string | number;
|
|
9939
|
+
}>, "many">>;
|
|
9940
|
+
outlineOffsetX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
9941
|
+
outlineOffsetY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
9942
|
+
}>, {
|
|
9943
|
+
leftPinCount: z.ZodOptional<z.ZodNumber>;
|
|
9944
|
+
rightPinCount: z.ZodOptional<z.ZodNumber>;
|
|
9945
|
+
topPinCount: z.ZodOptional<z.ZodNumber>;
|
|
9946
|
+
bottomPinCount: z.ZodOptional<z.ZodNumber>;
|
|
9947
|
+
leftPins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9948
|
+
rightPins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9949
|
+
topPins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9950
|
+
bottomPins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9951
|
+
pinPitch: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
9952
|
+
innerHoles: z.ZodOptional<z.ZodBoolean>;
|
|
9953
|
+
}>, "strip", z.ZodTypeAny, {
|
|
9954
|
+
pcbX?: number | undefined;
|
|
9955
|
+
pcbY?: number | undefined;
|
|
9956
|
+
pcbRotation?: number | undefined;
|
|
9957
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
9958
|
+
schX?: number | undefined;
|
|
9959
|
+
schY?: number | undefined;
|
|
9960
|
+
schRotation?: number | undefined;
|
|
9961
|
+
footprint?: Footprint | undefined;
|
|
9962
|
+
key?: any;
|
|
9963
|
+
name?: string | undefined;
|
|
9964
|
+
children?: any;
|
|
9965
|
+
leftPinCount?: number | undefined;
|
|
9966
|
+
rightPinCount?: number | undefined;
|
|
9967
|
+
topPinCount?: number | undefined;
|
|
9968
|
+
bottomPinCount?: number | undefined;
|
|
9969
|
+
grid?: boolean | undefined;
|
|
9970
|
+
flex?: string | boolean | undefined;
|
|
9971
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
9972
|
+
position?: "absolute" | "relative" | undefined;
|
|
9973
|
+
gridCols?: string | number | undefined;
|
|
9974
|
+
gridRows?: string | number | undefined;
|
|
9975
|
+
gridTemplateRows?: string | undefined;
|
|
9976
|
+
gridTemplateColumns?: string | undefined;
|
|
9977
|
+
gridTemplate?: string | undefined;
|
|
9978
|
+
gridGap?: string | number | undefined;
|
|
9979
|
+
flexDirection?: "row" | "column" | undefined;
|
|
9980
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
9981
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
9982
|
+
flexRow?: boolean | undefined;
|
|
9983
|
+
flexColumn?: boolean | undefined;
|
|
9984
|
+
pcbWidth?: number | undefined;
|
|
9985
|
+
pcbHeight?: number | undefined;
|
|
9986
|
+
schWidth?: number | undefined;
|
|
9987
|
+
schHeight?: number | undefined;
|
|
9988
|
+
pcbLayout?: {
|
|
9989
|
+
grid?: boolean | undefined;
|
|
9990
|
+
flex?: string | boolean | undefined;
|
|
9991
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
9992
|
+
position?: "absolute" | "relative" | undefined;
|
|
9993
|
+
gridCols?: string | number | undefined;
|
|
9994
|
+
gridRows?: string | number | undefined;
|
|
9995
|
+
gridTemplateRows?: string | undefined;
|
|
9996
|
+
gridTemplateColumns?: string | undefined;
|
|
9997
|
+
gridTemplate?: string | undefined;
|
|
9998
|
+
gridGap?: string | number | undefined;
|
|
9999
|
+
flexDirection?: "row" | "column" | undefined;
|
|
10000
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
10001
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
10002
|
+
flexRow?: boolean | undefined;
|
|
10003
|
+
flexColumn?: boolean | undefined;
|
|
10004
|
+
} | undefined;
|
|
10005
|
+
schLayout?: {
|
|
10006
|
+
grid?: boolean | undefined;
|
|
10007
|
+
flex?: string | boolean | undefined;
|
|
10008
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
10009
|
+
position?: "absolute" | "relative" | undefined;
|
|
10010
|
+
gridCols?: string | number | undefined;
|
|
10011
|
+
gridRows?: string | number | undefined;
|
|
10012
|
+
gridTemplateRows?: string | undefined;
|
|
10013
|
+
gridTemplateColumns?: string | undefined;
|
|
10014
|
+
gridTemplate?: string | undefined;
|
|
10015
|
+
gridGap?: string | number | undefined;
|
|
10016
|
+
flexDirection?: "row" | "column" | undefined;
|
|
10017
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
10018
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
10019
|
+
flexRow?: boolean | undefined;
|
|
10020
|
+
flexColumn?: boolean | undefined;
|
|
10021
|
+
} | undefined;
|
|
10022
|
+
layout?: _tscircuit_layout.LayoutBuilder | undefined;
|
|
10023
|
+
manualEdits?: {
|
|
10024
|
+
pcb_placements?: {
|
|
10025
|
+
selector: string;
|
|
10026
|
+
relative_to: string;
|
|
10027
|
+
center: {
|
|
10028
|
+
x: number;
|
|
10029
|
+
y: number;
|
|
10030
|
+
};
|
|
10031
|
+
}[] | undefined;
|
|
10032
|
+
manual_trace_hints?: {
|
|
10033
|
+
pcb_port_selector: string;
|
|
10034
|
+
offsets: {
|
|
10035
|
+
x: number;
|
|
10036
|
+
y: number;
|
|
10037
|
+
trace_width?: number | undefined;
|
|
10038
|
+
via?: boolean | undefined;
|
|
10039
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
10040
|
+
}[];
|
|
10041
|
+
}[] | undefined;
|
|
10042
|
+
schematic_placements?: {
|
|
10043
|
+
selector: string;
|
|
10044
|
+
relative_to: string;
|
|
10045
|
+
center: {
|
|
10046
|
+
x: number;
|
|
10047
|
+
y: number;
|
|
10048
|
+
};
|
|
10049
|
+
}[] | undefined;
|
|
10050
|
+
} | undefined;
|
|
10051
|
+
routingDisabled?: boolean | undefined;
|
|
10052
|
+
defaultTraceWidth?: number | undefined;
|
|
10053
|
+
minTraceWidth?: number | undefined;
|
|
10054
|
+
pcbRouteCache?: PcbRouteCache | undefined;
|
|
10055
|
+
autorouter?: "sequential-trace" | "subcircuit" | "auto" | "auto-local" | "auto-cloud" | {
|
|
10056
|
+
serverUrl?: string | undefined;
|
|
10057
|
+
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
10058
|
+
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
10059
|
+
serverCacheEnabled?: boolean | undefined;
|
|
10060
|
+
cache?: PcbRouteCache | undefined;
|
|
10061
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
10062
|
+
local?: boolean | undefined;
|
|
10063
|
+
} | undefined;
|
|
10064
|
+
schAutoLayoutEnabled?: boolean | undefined;
|
|
10065
|
+
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
10066
|
+
partsEngine?: PartsEngine | undefined;
|
|
10067
|
+
width?: number | undefined;
|
|
10068
|
+
height?: number | undefined;
|
|
10069
|
+
outline?: {
|
|
10070
|
+
x: number;
|
|
10071
|
+
y: number;
|
|
10072
|
+
}[] | undefined;
|
|
10073
|
+
outlineOffsetX?: number | undefined;
|
|
10074
|
+
outlineOffsetY?: number | undefined;
|
|
10075
|
+
leftPins?: string[] | undefined;
|
|
10076
|
+
rightPins?: string[] | undefined;
|
|
10077
|
+
topPins?: string[] | undefined;
|
|
10078
|
+
bottomPins?: string[] | undefined;
|
|
10079
|
+
pinPitch?: number | undefined;
|
|
10080
|
+
innerHoles?: boolean | undefined;
|
|
10081
|
+
}, {
|
|
10082
|
+
pcbX?: string | number | undefined;
|
|
10083
|
+
pcbY?: string | number | undefined;
|
|
10084
|
+
pcbRotation?: string | number | undefined;
|
|
10085
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
10086
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10087
|
+
} | undefined;
|
|
10088
|
+
schX?: string | number | undefined;
|
|
10089
|
+
schY?: string | number | undefined;
|
|
10090
|
+
schRotation?: string | number | undefined;
|
|
10091
|
+
footprint?: Footprint | undefined;
|
|
10092
|
+
key?: any;
|
|
10093
|
+
name?: string | undefined;
|
|
10094
|
+
children?: any;
|
|
10095
|
+
leftPinCount?: number | undefined;
|
|
10096
|
+
rightPinCount?: number | undefined;
|
|
10097
|
+
topPinCount?: number | undefined;
|
|
10098
|
+
bottomPinCount?: number | undefined;
|
|
10099
|
+
grid?: boolean | undefined;
|
|
10100
|
+
flex?: string | boolean | undefined;
|
|
10101
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
10102
|
+
position?: "absolute" | "relative" | undefined;
|
|
10103
|
+
gridCols?: string | number | undefined;
|
|
10104
|
+
gridRows?: string | number | undefined;
|
|
10105
|
+
gridTemplateRows?: string | undefined;
|
|
10106
|
+
gridTemplateColumns?: string | undefined;
|
|
10107
|
+
gridTemplate?: string | undefined;
|
|
10108
|
+
gridGap?: string | number | undefined;
|
|
10109
|
+
flexDirection?: "row" | "column" | undefined;
|
|
10110
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
10111
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
10112
|
+
flexRow?: boolean | undefined;
|
|
10113
|
+
flexColumn?: boolean | undefined;
|
|
10114
|
+
pcbWidth?: string | number | undefined;
|
|
10115
|
+
pcbHeight?: string | number | undefined;
|
|
10116
|
+
schWidth?: string | number | undefined;
|
|
10117
|
+
schHeight?: string | number | undefined;
|
|
10118
|
+
pcbLayout?: {
|
|
10119
|
+
grid?: boolean | undefined;
|
|
10120
|
+
flex?: string | boolean | undefined;
|
|
10121
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
10122
|
+
position?: "absolute" | "relative" | undefined;
|
|
10123
|
+
gridCols?: string | number | undefined;
|
|
10124
|
+
gridRows?: string | number | undefined;
|
|
10125
|
+
gridTemplateRows?: string | undefined;
|
|
10126
|
+
gridTemplateColumns?: string | undefined;
|
|
10127
|
+
gridTemplate?: string | undefined;
|
|
10128
|
+
gridGap?: string | number | undefined;
|
|
10129
|
+
flexDirection?: "row" | "column" | undefined;
|
|
10130
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
10131
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
10132
|
+
flexRow?: boolean | undefined;
|
|
10133
|
+
flexColumn?: boolean | undefined;
|
|
10134
|
+
} | undefined;
|
|
10135
|
+
schLayout?: {
|
|
10136
|
+
grid?: boolean | undefined;
|
|
10137
|
+
flex?: string | boolean | undefined;
|
|
10138
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
10139
|
+
position?: "absolute" | "relative" | undefined;
|
|
10140
|
+
gridCols?: string | number | undefined;
|
|
10141
|
+
gridRows?: string | number | undefined;
|
|
10142
|
+
gridTemplateRows?: string | undefined;
|
|
10143
|
+
gridTemplateColumns?: string | undefined;
|
|
10144
|
+
gridTemplate?: string | undefined;
|
|
10145
|
+
gridGap?: string | number | undefined;
|
|
10146
|
+
flexDirection?: "row" | "column" | undefined;
|
|
10147
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
10148
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
10149
|
+
flexRow?: boolean | undefined;
|
|
10150
|
+
flexColumn?: boolean | undefined;
|
|
10151
|
+
} | undefined;
|
|
10152
|
+
layout?: _tscircuit_layout.LayoutBuilder | undefined;
|
|
10153
|
+
manualEdits?: {
|
|
10154
|
+
pcb_placements?: {
|
|
10155
|
+
selector: string;
|
|
10156
|
+
center: {
|
|
10157
|
+
x: string | number;
|
|
10158
|
+
y: string | number;
|
|
10159
|
+
};
|
|
10160
|
+
relative_to?: string | undefined;
|
|
10161
|
+
}[] | undefined;
|
|
10162
|
+
manual_trace_hints?: {
|
|
10163
|
+
pcb_port_selector: string;
|
|
10164
|
+
offsets: {
|
|
10165
|
+
x: string | number;
|
|
10166
|
+
y: string | number;
|
|
10167
|
+
trace_width?: string | number | undefined;
|
|
10168
|
+
via?: boolean | undefined;
|
|
10169
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
10170
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10171
|
+
} | undefined;
|
|
10172
|
+
}[];
|
|
10173
|
+
}[] | undefined;
|
|
10174
|
+
schematic_placements?: {
|
|
10175
|
+
selector: string;
|
|
10176
|
+
center: {
|
|
10177
|
+
x: string | number;
|
|
10178
|
+
y: string | number;
|
|
10179
|
+
};
|
|
10180
|
+
relative_to?: string | undefined;
|
|
10181
|
+
}[] | undefined;
|
|
10182
|
+
} | undefined;
|
|
10183
|
+
routingDisabled?: boolean | undefined;
|
|
10184
|
+
defaultTraceWidth?: string | number | undefined;
|
|
10185
|
+
minTraceWidth?: string | number | undefined;
|
|
10186
|
+
pcbRouteCache?: PcbRouteCache | undefined;
|
|
10187
|
+
autorouter?: "sequential-trace" | "subcircuit" | "auto" | "auto-local" | "auto-cloud" | {
|
|
10188
|
+
serverUrl?: string | undefined;
|
|
10189
|
+
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
10190
|
+
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
10191
|
+
serverCacheEnabled?: boolean | undefined;
|
|
10192
|
+
cache?: PcbRouteCache | undefined;
|
|
10193
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
10194
|
+
local?: boolean | undefined;
|
|
10195
|
+
} | undefined;
|
|
10196
|
+
schAutoLayoutEnabled?: boolean | undefined;
|
|
10197
|
+
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
10198
|
+
partsEngine?: PartsEngine | undefined;
|
|
10199
|
+
width?: string | number | undefined;
|
|
10200
|
+
height?: string | number | undefined;
|
|
10201
|
+
outline?: {
|
|
10202
|
+
x: string | number;
|
|
10203
|
+
y: string | number;
|
|
10204
|
+
}[] | undefined;
|
|
10205
|
+
outlineOffsetX?: string | number | undefined;
|
|
10206
|
+
outlineOffsetY?: string | number | undefined;
|
|
10207
|
+
leftPins?: string[] | undefined;
|
|
10208
|
+
rightPins?: string[] | undefined;
|
|
10209
|
+
topPins?: string[] | undefined;
|
|
10210
|
+
bottomPins?: string[] | undefined;
|
|
10211
|
+
pinPitch?: string | number | undefined;
|
|
10212
|
+
innerHoles?: boolean | undefined;
|
|
10213
|
+
}>;
|
|
10214
|
+
|
|
10215
|
+
interface CapacitorProps extends CommonComponentProps {
|
|
10216
|
+
capacitance: number | string;
|
|
10217
|
+
maxVoltageRating?: number | string;
|
|
10218
|
+
schShowRatings?: boolean;
|
|
10219
|
+
polarized?: boolean;
|
|
10220
|
+
decouplingFor?: string;
|
|
10221
|
+
decouplingTo?: string;
|
|
10222
|
+
bypassFor?: string;
|
|
10223
|
+
bypassTo?: string;
|
|
10224
|
+
maxDecouplingTraceLength?: number;
|
|
10225
|
+
}
|
|
10226
|
+
declare const capacitorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
10227
|
+
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
10228
|
+
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
10229
|
+
pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
10230
|
+
schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
10231
|
+
schY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
10232
|
+
schRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
10233
|
+
layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
10234
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
10235
|
+
}, "strip", z.ZodTypeAny, {
|
|
10236
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10237
|
+
}, {
|
|
10238
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10239
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
10240
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10241
|
+
}>>;
|
|
10242
|
+
footprint: z.ZodOptional<z.ZodType<Footprint, z.ZodTypeDef, Footprint>>;
|
|
10243
|
+
}, {
|
|
10244
|
+
supplierPartNumbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
10245
|
+
}>, {
|
|
10246
|
+
key: z.ZodOptional<z.ZodAny>;
|
|
10247
|
+
name: z.ZodString;
|
|
10248
|
+
cadModel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
|
|
10249
|
+
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
10250
|
+
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
10251
|
+
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
10252
|
+
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
10253
|
+
}, "strip", z.ZodTypeAny, {
|
|
10254
|
+
x: string | number;
|
|
10255
|
+
y: string | number;
|
|
10256
|
+
z: string | number;
|
|
10257
|
+
}, {
|
|
10258
|
+
x: string | number;
|
|
10259
|
+
y: string | number;
|
|
10260
|
+
z: string | number;
|
|
10261
|
+
}>]>>;
|
|
10262
|
+
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
10263
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10264
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10265
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10266
|
+
}, "strip", z.ZodTypeAny, {
|
|
10267
|
+
x: number;
|
|
10268
|
+
y: number;
|
|
10269
|
+
z: number;
|
|
10270
|
+
}, {
|
|
10271
|
+
x: string | number;
|
|
10272
|
+
y: string | number;
|
|
10273
|
+
z: string | number;
|
|
10274
|
+
}>>;
|
|
10275
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
10276
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10277
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10278
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10279
|
+
}, "strip", z.ZodTypeAny, {
|
|
10280
|
+
x: number;
|
|
10281
|
+
y: number;
|
|
10282
|
+
z: number;
|
|
10283
|
+
}, {
|
|
10284
|
+
x: string | number;
|
|
10285
|
+
y: string | number;
|
|
10286
|
+
z: string | number;
|
|
10287
|
+
}>>;
|
|
10288
|
+
}, {
|
|
10289
|
+
stlUrl: z.ZodString;
|
|
10290
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10291
|
+
stlUrl: string;
|
|
10292
|
+
rotationOffset?: number | {
|
|
10293
|
+
x: string | number;
|
|
10294
|
+
y: string | number;
|
|
10295
|
+
z: string | number;
|
|
10296
|
+
} | undefined;
|
|
10297
|
+
positionOffset?: {
|
|
10298
|
+
x: number;
|
|
10299
|
+
y: number;
|
|
8252
10300
|
z: number;
|
|
8253
10301
|
} | undefined;
|
|
8254
10302
|
size?: {
|
|
@@ -10898,6 +12946,123 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
10898
12946
|
}>>;
|
|
10899
12947
|
footprint: z.ZodOptional<z.ZodType<Footprint, z.ZodTypeDef, Footprint>>;
|
|
10900
12948
|
}, {
|
|
12949
|
+
pcbWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12950
|
+
pcbHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12951
|
+
schWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12952
|
+
schHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12953
|
+
pcbLayout: z.ZodOptional<z.ZodObject<{
|
|
12954
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
12955
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
12956
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
12957
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
12958
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
12959
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
12960
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
12961
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
12962
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
12963
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
12964
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
12965
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
12966
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
12967
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
12968
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
12969
|
+
}, "strip", z.ZodTypeAny, {
|
|
12970
|
+
grid?: boolean | undefined;
|
|
12971
|
+
flex?: string | boolean | undefined;
|
|
12972
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
12973
|
+
position?: "absolute" | "relative" | undefined;
|
|
12974
|
+
gridCols?: string | number | undefined;
|
|
12975
|
+
gridRows?: string | number | undefined;
|
|
12976
|
+
gridTemplateRows?: string | undefined;
|
|
12977
|
+
gridTemplateColumns?: string | undefined;
|
|
12978
|
+
gridTemplate?: string | undefined;
|
|
12979
|
+
gridGap?: string | number | undefined;
|
|
12980
|
+
flexDirection?: "row" | "column" | undefined;
|
|
12981
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
12982
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
12983
|
+
flexRow?: boolean | undefined;
|
|
12984
|
+
flexColumn?: boolean | undefined;
|
|
12985
|
+
}, {
|
|
12986
|
+
grid?: boolean | undefined;
|
|
12987
|
+
flex?: string | boolean | undefined;
|
|
12988
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
12989
|
+
position?: "absolute" | "relative" | undefined;
|
|
12990
|
+
gridCols?: string | number | undefined;
|
|
12991
|
+
gridRows?: string | number | undefined;
|
|
12992
|
+
gridTemplateRows?: string | undefined;
|
|
12993
|
+
gridTemplateColumns?: string | undefined;
|
|
12994
|
+
gridTemplate?: string | undefined;
|
|
12995
|
+
gridGap?: string | number | undefined;
|
|
12996
|
+
flexDirection?: "row" | "column" | undefined;
|
|
12997
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
12998
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
12999
|
+
flexRow?: boolean | undefined;
|
|
13000
|
+
flexColumn?: boolean | undefined;
|
|
13001
|
+
}>>;
|
|
13002
|
+
schLayout: z.ZodOptional<z.ZodObject<{
|
|
13003
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
13004
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
13005
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
13006
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
13007
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
13008
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
13009
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
13010
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
13011
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
13012
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
13013
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
13014
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
13015
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
13016
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
13017
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
13018
|
+
}, "strip", z.ZodTypeAny, {
|
|
13019
|
+
grid?: boolean | undefined;
|
|
13020
|
+
flex?: string | boolean | undefined;
|
|
13021
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
13022
|
+
position?: "absolute" | "relative" | undefined;
|
|
13023
|
+
gridCols?: string | number | undefined;
|
|
13024
|
+
gridRows?: string | number | undefined;
|
|
13025
|
+
gridTemplateRows?: string | undefined;
|
|
13026
|
+
gridTemplateColumns?: string | undefined;
|
|
13027
|
+
gridTemplate?: string | undefined;
|
|
13028
|
+
gridGap?: string | number | undefined;
|
|
13029
|
+
flexDirection?: "row" | "column" | undefined;
|
|
13030
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
13031
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
13032
|
+
flexRow?: boolean | undefined;
|
|
13033
|
+
flexColumn?: boolean | undefined;
|
|
13034
|
+
}, {
|
|
13035
|
+
grid?: boolean | undefined;
|
|
13036
|
+
flex?: string | boolean | undefined;
|
|
13037
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
13038
|
+
position?: "absolute" | "relative" | undefined;
|
|
13039
|
+
gridCols?: string | number | undefined;
|
|
13040
|
+
gridRows?: string | number | undefined;
|
|
13041
|
+
gridTemplateRows?: string | undefined;
|
|
13042
|
+
gridTemplateColumns?: string | undefined;
|
|
13043
|
+
gridTemplate?: string | undefined;
|
|
13044
|
+
gridGap?: string | number | undefined;
|
|
13045
|
+
flexDirection?: "row" | "column" | undefined;
|
|
13046
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
13047
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
13048
|
+
flexRow?: boolean | undefined;
|
|
13049
|
+
flexColumn?: boolean | undefined;
|
|
13050
|
+
}>>;
|
|
13051
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "none"]>>;
|
|
13052
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
13053
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
13054
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
13055
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
13056
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
13057
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
13058
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
13059
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
13060
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
13061
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
13062
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
13063
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
13064
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
13065
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
10901
13066
|
name: z.ZodOptional<z.ZodString>;
|
|
10902
13067
|
children: z.ZodOptional<z.ZodAny>;
|
|
10903
13068
|
key: z.ZodOptional<z.ZodAny>;
|
|
@@ -11113,6 +13278,59 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
11113
13278
|
key?: any;
|
|
11114
13279
|
name?: string | undefined;
|
|
11115
13280
|
children?: any;
|
|
13281
|
+
grid?: boolean | undefined;
|
|
13282
|
+
flex?: string | boolean | undefined;
|
|
13283
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
13284
|
+
position?: "absolute" | "relative" | undefined;
|
|
13285
|
+
gridCols?: string | number | undefined;
|
|
13286
|
+
gridRows?: string | number | undefined;
|
|
13287
|
+
gridTemplateRows?: string | undefined;
|
|
13288
|
+
gridTemplateColumns?: string | undefined;
|
|
13289
|
+
gridTemplate?: string | undefined;
|
|
13290
|
+
gridGap?: string | number | undefined;
|
|
13291
|
+
flexDirection?: "row" | "column" | undefined;
|
|
13292
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
13293
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
13294
|
+
flexRow?: boolean | undefined;
|
|
13295
|
+
flexColumn?: boolean | undefined;
|
|
13296
|
+
pcbWidth?: number | undefined;
|
|
13297
|
+
pcbHeight?: number | undefined;
|
|
13298
|
+
schWidth?: number | undefined;
|
|
13299
|
+
schHeight?: number | undefined;
|
|
13300
|
+
pcbLayout?: {
|
|
13301
|
+
grid?: boolean | undefined;
|
|
13302
|
+
flex?: string | boolean | undefined;
|
|
13303
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
13304
|
+
position?: "absolute" | "relative" | undefined;
|
|
13305
|
+
gridCols?: string | number | undefined;
|
|
13306
|
+
gridRows?: string | number | undefined;
|
|
13307
|
+
gridTemplateRows?: string | undefined;
|
|
13308
|
+
gridTemplateColumns?: string | undefined;
|
|
13309
|
+
gridTemplate?: string | undefined;
|
|
13310
|
+
gridGap?: string | number | undefined;
|
|
13311
|
+
flexDirection?: "row" | "column" | undefined;
|
|
13312
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
13313
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
13314
|
+
flexRow?: boolean | undefined;
|
|
13315
|
+
flexColumn?: boolean | undefined;
|
|
13316
|
+
} | undefined;
|
|
13317
|
+
schLayout?: {
|
|
13318
|
+
grid?: boolean | undefined;
|
|
13319
|
+
flex?: string | boolean | undefined;
|
|
13320
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
13321
|
+
position?: "absolute" | "relative" | undefined;
|
|
13322
|
+
gridCols?: string | number | undefined;
|
|
13323
|
+
gridRows?: string | number | undefined;
|
|
13324
|
+
gridTemplateRows?: string | undefined;
|
|
13325
|
+
gridTemplateColumns?: string | undefined;
|
|
13326
|
+
gridTemplate?: string | undefined;
|
|
13327
|
+
gridGap?: string | number | undefined;
|
|
13328
|
+
flexDirection?: "row" | "column" | undefined;
|
|
13329
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
13330
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
13331
|
+
flexRow?: boolean | undefined;
|
|
13332
|
+
flexColumn?: boolean | undefined;
|
|
13333
|
+
} | undefined;
|
|
11116
13334
|
layout?: _tscircuit_layout.LayoutBuilder | undefined;
|
|
11117
13335
|
manualEdits?: {
|
|
11118
13336
|
pcb_placements?: {
|
|
@@ -11172,6 +13390,59 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
11172
13390
|
key?: any;
|
|
11173
13391
|
name?: string | undefined;
|
|
11174
13392
|
children?: any;
|
|
13393
|
+
grid?: boolean | undefined;
|
|
13394
|
+
flex?: string | boolean | undefined;
|
|
13395
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
13396
|
+
position?: "absolute" | "relative" | undefined;
|
|
13397
|
+
gridCols?: string | number | undefined;
|
|
13398
|
+
gridRows?: string | number | undefined;
|
|
13399
|
+
gridTemplateRows?: string | undefined;
|
|
13400
|
+
gridTemplateColumns?: string | undefined;
|
|
13401
|
+
gridTemplate?: string | undefined;
|
|
13402
|
+
gridGap?: string | number | undefined;
|
|
13403
|
+
flexDirection?: "row" | "column" | undefined;
|
|
13404
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
13405
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
13406
|
+
flexRow?: boolean | undefined;
|
|
13407
|
+
flexColumn?: boolean | undefined;
|
|
13408
|
+
pcbWidth?: string | number | undefined;
|
|
13409
|
+
pcbHeight?: string | number | undefined;
|
|
13410
|
+
schWidth?: string | number | undefined;
|
|
13411
|
+
schHeight?: string | number | undefined;
|
|
13412
|
+
pcbLayout?: {
|
|
13413
|
+
grid?: boolean | undefined;
|
|
13414
|
+
flex?: string | boolean | undefined;
|
|
13415
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
13416
|
+
position?: "absolute" | "relative" | undefined;
|
|
13417
|
+
gridCols?: string | number | undefined;
|
|
13418
|
+
gridRows?: string | number | undefined;
|
|
13419
|
+
gridTemplateRows?: string | undefined;
|
|
13420
|
+
gridTemplateColumns?: string | undefined;
|
|
13421
|
+
gridTemplate?: string | undefined;
|
|
13422
|
+
gridGap?: string | number | undefined;
|
|
13423
|
+
flexDirection?: "row" | "column" | undefined;
|
|
13424
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
13425
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
13426
|
+
flexRow?: boolean | undefined;
|
|
13427
|
+
flexColumn?: boolean | undefined;
|
|
13428
|
+
} | undefined;
|
|
13429
|
+
schLayout?: {
|
|
13430
|
+
grid?: boolean | undefined;
|
|
13431
|
+
flex?: string | boolean | undefined;
|
|
13432
|
+
layoutMode?: "grid" | "flex" | "none" | undefined;
|
|
13433
|
+
position?: "absolute" | "relative" | undefined;
|
|
13434
|
+
gridCols?: string | number | undefined;
|
|
13435
|
+
gridRows?: string | number | undefined;
|
|
13436
|
+
gridTemplateRows?: string | undefined;
|
|
13437
|
+
gridTemplateColumns?: string | undefined;
|
|
13438
|
+
gridTemplate?: string | undefined;
|
|
13439
|
+
gridGap?: string | number | undefined;
|
|
13440
|
+
flexDirection?: "row" | "column" | undefined;
|
|
13441
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
13442
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
13443
|
+
flexRow?: boolean | undefined;
|
|
13444
|
+
flexColumn?: boolean | undefined;
|
|
13445
|
+
} | undefined;
|
|
11175
13446
|
layout?: _tscircuit_layout.LayoutBuilder | undefined;
|
|
11176
13447
|
manualEdits?: {
|
|
11177
13448
|
pcb_placements?: {
|
|
@@ -15070,4 +17341,4 @@ declare const platformConfig: z.ZodObject<{
|
|
|
15070
17341
|
cloudAutorouterUrl?: string | undefined;
|
|
15071
17342
|
}>;
|
|
15072
17343
|
|
|
15073
|
-
export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorProps, type ChipProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNotePathProps, type FabricationNoteTextProps, type Footprint, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type JumperProps, 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 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 PinHeaderProps, type PinLabels, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PlatformConfig, type PortHints, type PortProps, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectSmtPadProps, type RectSolderPasteProps, 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 SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderPasteProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TraceHintProps, type TraceProps, type TransistorProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPins, capacitorProps, chipProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_schematic_component_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netProps, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinHeaderProps, pinLabelsProp, platedHoleProps, platformConfig, point3, portHints, portProps, portRef, potentiometerProps, powerSourceProps, pushButtonProps, rectSmtPadProps, rectSolderPasteProps, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinArrangement, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };
|
|
17344
|
+
export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorProps, type ChipProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNotePathProps, type FabricationNoteTextProps, type Footprint, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, 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 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 PinHeaderProps, type PinLabels, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PlatformConfig, type PortHints, type PortProps, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectSmtPadProps, type RectSolderPasteProps, 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 SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderPasteProps, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TraceHintProps, type TraceProps, type TransistorProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPins, capacitorProps, chipProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_schematic_component_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, 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, netProps, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinHeaderProps, pinLabelsProp, platedHoleProps, platformConfig, point3, portHints, portProps, portRef, potentiometerProps, powerSourceProps, pushButtonProps, rectSmtPadProps, rectSolderPasteProps, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinArrangement, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };
|