@jlceda/pro-api-types 0.1.110 → 0.1.112

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.
Files changed (2) hide show
  1. package/index.d.ts +317 -84
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -180,6 +180,11 @@ declare class DMT_EditorControl {
180
180
  * @returns 操作是否成功
181
181
  */
182
182
  mergeAllDocumentFromSplitScreen(): Promise<boolean>;
183
+ /* Excluded from this release type: getCurrentRenderedAreaImage */
184
+ /* Excluded from this release type: zoomToRegion */
185
+ /* Excluded from this release type: zoomTo */
186
+ /* Excluded from this release type: zoomToAllPrimitives */
187
+ /* Excluded from this release type: zoomToSelectedPrimitives */
183
188
  }
184
189
 
185
190
  /**
@@ -196,7 +201,7 @@ declare class DMT_Folder {
196
201
  * @param teamUuid - 团队 UUID
197
202
  * @param parentFolderUuid - 父文件夹 UUID,如若不指定,则为根文件夹
198
203
  * @param description - 文件夹描述
199
- * @returns 文���夹 UUID,如若为 `undefined` 则创建失败
204
+ * @returns 文件夹 UUID,如若为 `undefined` 则创建失败
200
205
  */
201
206
  createFolder(folderName: string, teamUuid: string, parentFolderUuid?: string, description?: string): Promise<string | undefined>;
202
207
  /**
@@ -311,7 +316,7 @@ declare class DMT_Panel {
311
316
  *
312
317
  * @public
313
318
  * @remarks 将会获取当前打开且拥有最后输入焦点的面板的详细属性
314
- * @returns 面板���详细属性,如若为 `undefined` 则获取失败
319
+ * @returns 面板的详细属性,如若为 `undefined` 则获取失败
315
320
  */
316
321
  getCurrentPanelInfo(): Promise<IDMT_PanelItem | undefined>;
317
322
  /**
@@ -417,7 +422,7 @@ declare class DMT_Project {
417
422
  * @param teamUuid - 团队 UUID,如若不指定,则默认为个人;在不存在个人工程的环境下必须指定团队 UUID
418
423
  * @param folderUuid - 文件夹 UUID,如若不指定,则为根文件夹
419
424
  * @param description - 工程描述
420
- * @param collaborationMode - 工程协作���式,如若团队权限无需工程设置协作模式,则该参数将被忽略
425
+ * @param collaborationMode - 工程协作模式,如若团队权限无需工程设置协作模式,则该参数将被忽略
421
426
  * @returns 工程 UUID,如若为 `undefined` 则创建失败
422
427
  */
423
428
  createProject(projectFriendlyName: string, projectName?: string, teamUuid?: string, folderUuid?: string, description?: string, collaborationMode?: EDMT_ProjectCollaborationMode): Promise<string | undefined>;
@@ -500,7 +505,7 @@ declare class DMT_Schematic {
500
505
  * 修改原理图名称
501
506
  *
502
507
  * @beta
503
- * @remarks 如若原理图已关联复用模块(在工程库内存在同名的复用模块符号),则修改名称时将同步修改复用模块符号名称与关联 PCB 名称
508
+ * @remarks 如若原理图已关联复用模块(在工程库内存在同名的复用模块符号),则修改名称时将同步修改复用模块符号名称与关联 PCB ���称
504
509
  * @param schematicUuid - 原理图 UUID
505
510
  * @param schematicName - 原理图名称
506
511
  * @returns 是否修改成功
@@ -987,6 +992,20 @@ declare enum EPCB_DocumentRatlineCalculatingActiveStatus {
987
992
  INACTIVE = "inactive"
988
993
  }
989
994
 
995
+ /**
996
+ * 非激活层展示模式
997
+ *
998
+ * @public
999
+ */
1000
+ declare enum EPCB_InactiveLayerDisplayMode {
1001
+ /** 正常亮度 */
1002
+ NORMAL_BRIGHTNESS = 0,
1003
+ /** 置灰 */
1004
+ TURN_GRAY = 1,
1005
+ /** 隐藏 */
1006
+ HIDE = 2
1007
+ }
1008
+
990
1009
  /**
991
1010
  * 图层颜色配置
992
1011
  *
@@ -1167,7 +1186,7 @@ declare enum EPCB_LayerId {
1167
1186
  CUSTOM_28 = 98,
1168
1187
  /** 自定义层 29 */
1169
1188
  CUSTOM_29 = 99,
1170
- /** 自定义层 30 */
1189
+ /** ��定义层 30 */
1171
1190
  CUSTOM_30 = 100,
1172
1191
  /** 夹层(介电基板)1 */
1173
1192
  SUBSTRATE_1 = 101,
@@ -2094,12 +2113,36 @@ declare interface ILIB_ClassificationIndex {
2094
2113
  * @public
2095
2114
  */
2096
2115
  declare interface ILIB_DeviceAssociationItem {
2097
- /** 符号类型 */
2116
+ /**
2117
+ * 符号类型
2118
+ *
2119
+ * @deprecated 请使用 {@link ILIB_DeviceSearchItem.symbol | symbol} 替代
2120
+ */
2098
2121
  symbolType: ELIB_SymbolType;
2099
- /** 符号 UUID */
2122
+ /**
2123
+ * 符号 UUID
2124
+ *
2125
+ * @deprecated 请使用 {@link ILIB_DeviceSearchItem.symbol | symbol} 替代
2126
+ */
2100
2127
  symbolUuid: string;
2101
- /** 封装 UUID */
2102
- footprintUuid?: string;
2128
+ /** 符号 */
2129
+ symbol: {
2130
+ type: ELIB_SymbolType;
2131
+ uuid: string;
2132
+ libraryUuid: string;
2133
+ };
2134
+ /**
2135
+ * 封装 UUID
2136
+ *
2137
+ * @deprecated 请使用 {@link ILIB_DeviceSearchItem.footprint | footprint} 替代
2138
+ */
2139
+ footprintUuid: string;
2140
+ /** 封装 */
2141
+ footprint?: {
2142
+ uuid: string;
2143
+ libraryUuid: string;
2144
+ };
2145
+ images?: Array<string>;
2103
2146
  }
2104
2147
 
2105
2148
  /**
@@ -2126,8 +2169,10 @@ declare interface ILIB_DeviceExtendPropertyItem {
2126
2169
  supplier?: string;
2127
2170
  /** 供应商编号 */
2128
2171
  supplierId?: string;
2129
- /** 其它 */
2130
- [key: string]: boolean | number | string | undefined;
2172
+ /** 其它参数 */
2173
+ otherProperty?: {
2174
+ [key: string]: boolean | number | string | undefined;
2175
+ };
2131
2176
  }
2132
2177
 
2133
2178
  /**
@@ -2196,18 +2241,60 @@ declare interface ILIB_DeviceSearchItem {
2196
2241
  ordinal: number;
2197
2242
  /** 器件名称 */
2198
2243
  name: string;
2199
- /** 关联符号名称 */
2244
+ /**
2245
+ * 关联符号名称
2246
+ *
2247
+ * @deprecated 请使用 {@link ILIB_DeviceSearchItem.symbol | symbol} 替代
2248
+ */
2200
2249
  symbolName: string;
2201
- /** 关联符号 UUID */
2250
+ /**
2251
+ * 关联符号 UUID
2252
+ *
2253
+ * @deprecated 请使用 {@link ILIB_DeviceSearchItem.symbol | symbol} 替代
2254
+ */
2202
2255
  symbolUuid: string;
2203
- /** 关联封装名称 */
2256
+ /** 关联符号 */
2257
+ symbol: {
2258
+ name: string;
2259
+ uuid: string;
2260
+ libraryUuid: string;
2261
+ };
2262
+ /**
2263
+ * 关联封装名称
2264
+ *
2265
+ * @deprecated 请使用 {@link ILIB_DeviceSearchItem.footprint | footprint} 替代
2266
+ */
2204
2267
  footprintName?: string;
2205
- /** 关联封装 UUID */
2206
- footprintUuid?: string;
2207
- /** 关联 3D 模型名称 */
2268
+ /**
2269
+ * 关联封装 UUID
2270
+ *
2271
+ * @deprecated 请使用 {@link ILIB_DeviceSearchItem.footprint | footprint} 替代
2272
+ */
2273
+ footprintUuid: string;
2274
+ /** 关联封装 */
2275
+ footprint?: {
2276
+ name: string;
2277
+ uuid: string;
2278
+ libraryUuid: string;
2279
+ };
2280
+ /**
2281
+ * 关联 3D 模型名称
2282
+ *
2283
+ * @deprecated 请使用 {@link ILIB_DeviceSearchItem.model3D | model3D} 替代
2284
+ */
2208
2285
  model3DName?: string;
2209
- /** 关联 3D 模型 UUID */
2210
- model3DUuid?: string;
2286
+ /**
2287
+ * 关联 3D 模型 UUID
2288
+ *
2289
+ * @deprecated 请使用 {@link ILIB_DeviceSearchItem.model3D | model3D} 替代
2290
+ */
2291
+ model3DUuid: string;
2292
+ /** 关联 3D 模型 */
2293
+ model3D?: {
2294
+ name: string;
2295
+ uuid: string;
2296
+ libraryUuid: string;
2297
+ };
2211
2298
  /** 关联图片 UUID */
2212
2299
  imageUuid?: string;
2213
2300
  /** 描述 */
@@ -2449,6 +2536,8 @@ declare interface IPCB_EqualLengthNetGroupItem {
2449
2536
  name: string;
2450
2537
  /** 网络名称数组 */
2451
2538
  nets: Array<string>;
2539
+ /** 等长网络组颜色 */
2540
+ color: string | null;
2452
2541
  }
2453
2542
 
2454
2543
  /**
@@ -2479,6 +2568,22 @@ declare interface IPCB_NetClassItem {
2479
2568
  name: string;
2480
2569
  /** 网络名称数组 */
2481
2570
  nets: Array<string>;
2571
+ /** 网络类颜色 */
2572
+ color: string | null;
2573
+ }
2574
+
2575
+ /**
2576
+ * 网络属性
2577
+ *
2578
+ * @public
2579
+ */
2580
+ declare interface IPCB_NetInfo {
2581
+ /** 网络名称 */
2582
+ net: string;
2583
+ /** 颜色 */
2584
+ color: string | null;
2585
+ /** 长度 */
2586
+ length: number;
2482
2587
  }
2483
2588
 
2484
2589
  /**
@@ -2801,9 +2906,18 @@ declare class IPCB_PrimitiveArc implements IPCB_Primitive {
2801
2906
  * 获取整段导线
2802
2907
  *
2803
2908
  * @beta
2909
+ * @param includeVias - 是否包含导线两端的过孔
2804
2910
  * @returns 整段导线内的所有直线和圆弧线
2805
2911
  */
2806
- getEntireTrack(): Promise<Array<IPCB_PrimitiveLine | IPCB_PrimitiveArc>>;
2912
+ getEntireTrack(includeVias: false): Promise<Array<IPCB_PrimitiveLine | IPCB_PrimitiveArc>>;
2913
+ /**
2914
+ * 获取整段导线
2915
+ *
2916
+ * @beta
2917
+ * @param includeVias - 是否包含导线两端的过孔
2918
+ * @returns 整段导线内的所有直线、圆弧线,以及两端连接的过孔(如果有)
2919
+ */
2920
+ getEntireTrack(includeVias: true): Promise<Array<IPCB_PrimitiveLine | IPCB_PrimitiveArc | IPCB_PrimitiveVia>>;
2807
2921
  }
2808
2922
 
2809
2923
  /**
@@ -2996,7 +3110,7 @@ declare class IPCB_PrimitiveComponent implements IPCB_Primitive {
2996
3110
  */
2997
3111
  getState_Supplier(): string | undefined;
2998
3112
  /**
2999
- * 获取属性状态:供应商编号
3113
+ * 获取属���状态:供应商编号
3000
3114
  *
3001
3115
  * @public
3002
3116
  * @returns 供应商编号
@@ -3147,7 +3261,7 @@ declare class IPCB_PrimitiveComponent implements IPCB_Primitive {
3147
3261
  */
3148
3262
  isAsync(): boolean;
3149
3263
  /**
3150
- * 将异步图元重置为当前画布状态
3264
+ * 将异���图元重置为当前画布状态
3151
3265
  *
3152
3266
  * @beta
3153
3267
  * @returns 器件图元对象
@@ -3194,6 +3308,8 @@ declare class IPCB_PrimitiveComponentPad extends IPCB_PrimitivePad {
3194
3308
  * @returns 器件焊盘图元对象
3195
3309
  */
3196
3310
  done(): Promise<IPCB_PrimitiveComponentPad>;
3311
+ /* Excluded from this release type: getConnectedPrimitives */
3312
+ getConnectedPrimitives(onlyCentreConnection: false): Array<IPCB_PrimitiveLine | IPCB_PrimitiveArc | IPCB_PrimitiveVia | IPCB_PrimitivePolyline | IPCB_PrimitiveFill>;
3197
3313
  }
3198
3314
 
3199
3315
  /**
@@ -3569,7 +3685,7 @@ declare class IPCB_PrimitiveFill implements IPCB_Primitive {
3569
3685
  */
3570
3686
  convertToPour(): Promise<IPCB_PrimitivePour>;
3571
3687
  /**
3572
- * 转换到:区��图元(默认是禁止区域)
3688
+ * 转换到:区域图元(默认是禁止区域)
3573
3689
  *
3574
3690
  * @beta
3575
3691
  * @returns 区域图元对象
@@ -3685,7 +3801,7 @@ declare class IPCB_PrimitiveImage implements IPCB_Primitive {
3685
3801
  * @public
3686
3802
  * @returns 是否锁定
3687
3803
  */
3688
- getState_PrimitiveLock(): boolean | undefined;
3804
+ getState_PrimitiveLock(): boolean;
3689
3805
  /**
3690
3806
  * 设置属性状态:BBox 左上点坐标 X
3691
3807
  *
@@ -3693,7 +3809,7 @@ declare class IPCB_PrimitiveImage implements IPCB_Primitive {
3693
3809
  * @param x - BBox 左上点坐标 X
3694
3810
  * @returns 图像图元对象
3695
3811
  */
3696
- setState_X(x: number | undefined): IPCB_PrimitiveImage;
3812
+ setState_X(x: number): IPCB_PrimitiveImage;
3697
3813
  /**
3698
3814
  * 设置属性状态:BBox 左上点坐标 Y
3699
3815
  *
@@ -3701,7 +3817,7 @@ declare class IPCB_PrimitiveImage implements IPCB_Primitive {
3701
3817
  * @param y - BBox 左上点坐标 Y
3702
3818
  * @returns 图像图元对象
3703
3819
  */
3704
- setState_Y(y: number | undefined): IPCB_PrimitiveImage;
3820
+ setState_Y(y: number): IPCB_PrimitiveImage;
3705
3821
  /**
3706
3822
  * 设置属性状态:层
3707
3823
  *
@@ -3709,7 +3825,7 @@ declare class IPCB_PrimitiveImage implements IPCB_Primitive {
3709
3825
  * @param layer - 层
3710
3826
  * @returns 图像图元对象
3711
3827
  */
3712
- setState_Layer(layer: TPCB_LayersOfImage | undefined): IPCB_PrimitiveImage;
3828
+ setState_Layer(layer: TPCB_LayersOfImage): IPCB_PrimitiveImage;
3713
3829
  /**
3714
3830
  * 设置属性状态:宽
3715
3831
  *
@@ -3717,7 +3833,7 @@ declare class IPCB_PrimitiveImage implements IPCB_Primitive {
3717
3833
  * @param width - 宽
3718
3834
  * @returns 图像图元对象
3719
3835
  */
3720
- setState_Width(width: number | undefined): IPCB_PrimitiveImage;
3836
+ setState_Width(width: number): IPCB_PrimitiveImage;
3721
3837
  /**
3722
3838
  * 设置属性状态:高
3723
3839
  *
@@ -3725,7 +3841,7 @@ declare class IPCB_PrimitiveImage implements IPCB_Primitive {
3725
3841
  * @param height - 高
3726
3842
  * @returns 图像图元对象
3727
3843
  */
3728
- setState_Height(height: number | undefined): IPCB_PrimitiveImage;
3844
+ setState_Height(height: number): IPCB_PrimitiveImage;
3729
3845
  /**
3730
3846
  * 设置属性状态:旋转角度
3731
3847
  *
@@ -3733,7 +3849,7 @@ declare class IPCB_PrimitiveImage implements IPCB_Primitive {
3733
3849
  * @param rotation - 旋转角度
3734
3850
  * @returns 图像图元对象
3735
3851
  */
3736
- setState_Rotation(rotation: number | undefined): IPCB_PrimitiveImage;
3852
+ setState_Rotation(rotation: number): IPCB_PrimitiveImage;
3737
3853
  /**
3738
3854
  * 设置属性状态:是否水平镜像
3739
3855
  *
@@ -3741,7 +3857,7 @@ declare class IPCB_PrimitiveImage implements IPCB_Primitive {
3741
3857
  * @param horizonMirror - 是否水平镜像
3742
3858
  * @returns 图像图元对象
3743
3859
  */
3744
- setState_HorizonMirror(horizonMirror: boolean | undefined): IPCB_PrimitiveImage;
3860
+ setState_HorizonMirror(horizonMirror: boolean): IPCB_PrimitiveImage;
3745
3861
  /**
3746
3862
  * 设置属性状态:是否锁定
3747
3863
  *
@@ -3749,7 +3865,7 @@ declare class IPCB_PrimitiveImage implements IPCB_Primitive {
3749
3865
  * @param primitiveLock - 是否锁定
3750
3866
  * @returns 图像图元对象
3751
3867
  */
3752
- setState_PrimitiveLock(primitiveLock: boolean | undefined): IPCB_PrimitiveImage;
3868
+ setState_PrimitiveLock(primitiveLock: boolean): IPCB_PrimitiveImage;
3753
3869
  /**
3754
3870
  * 将图元转换为异步图元
3755
3871
  *
@@ -3941,7 +4057,7 @@ declare class IPCB_PrimitiveLine implements IPCB_Primitive {
3941
4057
  *
3942
4058
  * @beta
3943
4059
  * @param lineWidth - 线宽
3944
- * @returns 直线图元对象
4060
+ * @returns 直线图元对���
3945
4061
  */
3946
4062
  setState_LineWidth(lineWidth: number): IPCB_PrimitiveLine;
3947
4063
  /**
@@ -3999,9 +4115,18 @@ declare class IPCB_PrimitiveLine implements IPCB_Primitive {
3999
4115
  * 获取整段导线
4000
4116
  *
4001
4117
  * @beta
4118
+ * @param includeVias - 是否包含导线两端的过孔
4002
4119
  * @returns 整段导线内的所有直线和圆弧线
4003
4120
  */
4004
- getEntireTrack(): Promise<Array<IPCB_PrimitiveLine | IPCB_PrimitiveArc>>;
4121
+ getEntireTrack(includeVias: false): Promise<Array<IPCB_PrimitiveLine | IPCB_PrimitiveArc>>;
4122
+ /**
4123
+ * 获取整段导线
4124
+ *
4125
+ * @beta
4126
+ * @param includeVias - 是否包含导线两端的过孔
4127
+ * @returns 整段导线内的所有直线、圆弧线,以及两端连接的过孔(如果有)
4128
+ */
4129
+ getEntireTrack(includeVias: true): Promise<Array<IPCB_PrimitiveLine | IPCB_PrimitiveArc | IPCB_PrimitiveVia>>;
4005
4130
  }
4006
4131
 
4007
4132
  /**
@@ -4067,7 +4192,7 @@ declare class IPCB_PrimitiveObject implements IPCB_Primitive {
4067
4192
  */
4068
4193
  getState_TopLeftX(): number | undefined;
4069
4194
  /**
4070
- * 获取属性状态:左上�� Y
4195
+ * 获取属性状态:左上点 Y
4071
4196
  *
4072
4197
  * @public
4073
4198
  * @returns 左上点 Y
@@ -4086,42 +4211,42 @@ declare class IPCB_PrimitiveObject implements IPCB_Primitive {
4086
4211
  * @public
4087
4212
  * @returns 宽
4088
4213
  */
4089
- getState_Width(): number | undefined;
4214
+ getState_Width(): number;
4090
4215
  /**
4091
4216
  * 获取属性状态:高
4092
4217
  *
4093
4218
  * @public
4094
4219
  * @returns 高
4095
4220
  */
4096
- getState_Height(): number | undefined;
4221
+ getState_Height(): number;
4097
4222
  /**
4098
4223
  * 获取属性状态:旋转角度
4099
4224
  *
4100
4225
  * @public
4101
4226
  * @returns 旋转角度
4102
4227
  */
4103
- getState_Rotation(): number | undefined;
4228
+ getState_Rotation(): number;
4104
4229
  /**
4105
4230
  * 获取属性状态:是否水平镜像
4106
4231
  *
4107
4232
  * @public
4108
4233
  * @returns 是否水平镜像
4109
4234
  */
4110
- getState_Mirror(): boolean | undefined;
4235
+ getState_Mirror(): boolean;
4111
4236
  /**
4112
4237
  * 获取属性状态:文件名
4113
4238
  *
4114
4239
  * @public
4115
4240
  * @returns 文件名
4116
4241
  */
4117
- getState_FileName(): string | undefined;
4242
+ getState_FileName(): string;
4118
4243
  /**
4119
4244
  * 获取属性状态:是否锁定
4120
4245
  *
4121
4246
  * @public
4122
4247
  * @returns 是否锁定
4123
4248
  */
4124
- getState_PrimitiveLock(): boolean | undefined;
4249
+ getState_PrimitiveLock(): boolean;
4125
4250
  /**
4126
4251
  * 设置属性状态:层
4127
4252
  *
@@ -4129,7 +4254,7 @@ declare class IPCB_PrimitiveObject implements IPCB_Primitive {
4129
4254
  * @param layer - 层
4130
4255
  * @returns 二进制内嵌对象图元对象
4131
4256
  */
4132
- setState_Layer(layer: TPCB_LayersOfObject | undefined): IPCB_PrimitiveObject;
4257
+ setState_Layer(layer: TPCB_LayersOfObject): IPCB_PrimitiveObject;
4133
4258
  /**
4134
4259
  * 设置属性状态:左上点 X
4135
4260
  *
@@ -4137,7 +4262,7 @@ declare class IPCB_PrimitiveObject implements IPCB_Primitive {
4137
4262
  * @param topLeftX - 左上点 X
4138
4263
  * @returns 二进制内嵌对象图元对象
4139
4264
  */
4140
- setState_TopLeftX(topLeftX: number | undefined): IPCB_PrimitiveObject;
4265
+ setState_TopLeftX(topLeftX: number): IPCB_PrimitiveObject;
4141
4266
  /**
4142
4267
  * 设置属性状态:左上点 Y
4143
4268
  *
@@ -4145,7 +4270,7 @@ declare class IPCB_PrimitiveObject implements IPCB_Primitive {
4145
4270
  * @param topLeftY - 左上点 Y
4146
4271
  * @returns 二进制内嵌对象图元对象
4147
4272
  */
4148
- setState_TopLeftY(topLeftY: number | undefined): IPCB_PrimitiveObject;
4273
+ setState_TopLeftY(topLeftY: number): IPCB_PrimitiveObject;
4149
4274
  /**
4150
4275
  * 设置属性状态:二进制数据
4151
4276
  *
@@ -4161,7 +4286,7 @@ declare class IPCB_PrimitiveObject implements IPCB_Primitive {
4161
4286
  * @param width - 宽
4162
4287
  * @returns 二进制内嵌对象图元对象
4163
4288
  */
4164
- setState_Width(width: number | undefined): IPCB_PrimitiveObject;
4289
+ setState_Width(width: number): IPCB_PrimitiveObject;
4165
4290
  /**
4166
4291
  * 设置属性状态:高
4167
4292
  *
@@ -4169,7 +4294,7 @@ declare class IPCB_PrimitiveObject implements IPCB_Primitive {
4169
4294
  * @param height - 高
4170
4295
  * @returns 二进制内嵌对象图元对象
4171
4296
  */
4172
- setState_Height(height: number | undefined): IPCB_PrimitiveObject;
4297
+ setState_Height(height: number): IPCB_PrimitiveObject;
4173
4298
  /**
4174
4299
  * 设置属性状态:旋转角度
4175
4300
  *
@@ -4177,7 +4302,7 @@ declare class IPCB_PrimitiveObject implements IPCB_Primitive {
4177
4302
  * @param rotation - 旋转角度
4178
4303
  * @returns 二进制内嵌对象图元对象
4179
4304
  */
4180
- setState_Rotation(rotation: number | undefined): IPCB_PrimitiveObject;
4305
+ setState_Rotation(rotation: number): IPCB_PrimitiveObject;
4181
4306
  /**
4182
4307
  * 设置属性状态:是否水平镜像
4183
4308
  *
@@ -4185,7 +4310,7 @@ declare class IPCB_PrimitiveObject implements IPCB_Primitive {
4185
4310
  * @param mirror - 是否水平镜像
4186
4311
  * @returns 二进制内嵌对象图元对象
4187
4312
  */
4188
- setState_Mirror(mirror: boolean | undefined): IPCB_PrimitiveObject;
4313
+ setState_Mirror(mirror: boolean): IPCB_PrimitiveObject;
4189
4314
  /**
4190
4315
  * 设置属性状态:文件名
4191
4316
  *
@@ -4193,7 +4318,7 @@ declare class IPCB_PrimitiveObject implements IPCB_Primitive {
4193
4318
  * @param fileName - 文件名
4194
4319
  * @returns 二进制内嵌对象图元对象
4195
4320
  */
4196
- setState_FileName(fileName: string | undefined): IPCB_PrimitiveObject;
4321
+ setState_FileName(fileName: string): IPCB_PrimitiveObject;
4197
4322
  /**
4198
4323
  * 设置属性状态:是否锁定
4199
4324
  *
@@ -4201,7 +4326,7 @@ declare class IPCB_PrimitiveObject implements IPCB_Primitive {
4201
4326
  * @param primitiveLock - 是否锁定
4202
4327
  * @returns 二进制内嵌对象图元对象
4203
4328
  */
4204
- setState_PrimitiveLock(primitiveLock: boolean | undefined): IPCB_PrimitiveObject;
4329
+ setState_PrimitiveLock(primitiveLock: boolean): IPCB_PrimitiveObject;
4205
4330
  /**
4206
4331
  * 将图元转换为异步图元
4207
4332
  *
@@ -5858,7 +5983,7 @@ declare class ISCH_PrimitiveComponent implements ISCH_Primitive {
5858
5983
  */
5859
5984
  getState_ComponentType(): ESCH_PrimitiveComponentType;
5860
5985
  /**
5861
- * 获取属性状态:���元 ID
5986
+ * 获取属性状态:图元 ID
5862
5987
  *
5863
5988
  * @public
5864
5989
  * @returns 图元 ID
@@ -6967,7 +7092,7 @@ declare class LIB_Device {
6967
7092
  * @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList} 内的接口获取
6968
7093
  * @param deviceName - 器件名称
6969
7094
  * @param classification - 分类
6970
- * @param association - 关联符号、封装、图像,指定 `symbolType` 则创建新符号,无需新建符号则无需指定 `symbolType`,但请注意,如若不新建符号也不指定符号的 UUID 将无法创建器件
7095
+ * @param association - 关联符号、封装、图像,指定 `symbolType` 则创建新符号,无需新建符号则无需指定 `symbolType`,但请注意,如若不新建符号也不指定符号的关联信息将无法创建器件
6971
7096
  * @param description - 描述
6972
7097
  * @param property - 其它参数,仅 `designator`、`addIntoBom`、`addIntoPcb` 存在默认值
6973
7098
  * @returns 器件 UUID
@@ -6975,14 +7100,27 @@ declare class LIB_Device {
6975
7100
  create(libraryUuid: string, deviceName: string, classification?: ILIB_ClassificationIndex, association?: {
6976
7101
  symbolType?: ELIB_SymbolType;
6977
7102
  symbolUuid?: string;
7103
+ symbol?: {
7104
+ uuid: string;
7105
+ libraryUuid: string;
7106
+ };
6978
7107
  footprintUuid?: string;
7108
+ footprint?: {
7109
+ uuid: string;
7110
+ libraryUuid: string;
7111
+ };
7112
+ model3D?: {
7113
+ uuid: string;
7114
+ libraryUuid: string;
7115
+ };
7116
+ imageData?: File | Blob;
6979
7117
  }, description?: string, property?: ILIB_DeviceExtendPropertyItem): Promise<string | undefined>;
6980
7118
  /**
6981
7119
  * 删除器件
6982
7120
  *
6983
7121
  * @beta
6984
- * @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList} 内的接口获取
6985
7122
  * @param deviceUuid - 器件 UUID
7123
+ * @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList} 内的接口获取
6986
7124
  * @returns 操作是否成功
6987
7125
  */
6988
7126
  delete(deviceUuid: string, libraryUuid: string): Promise<boolean>;
@@ -7002,8 +7140,20 @@ declare class LIB_Device {
7002
7140
  */
7003
7141
  modify(deviceUuid: string, libraryUuid: string, deviceName?: string, classification?: ILIB_ClassificationIndex | null, association?: {
7004
7142
  symbolUuid?: string;
7143
+ symbol?: {
7144
+ uuid: string;
7145
+ libraryUuid: string;
7146
+ };
7005
7147
  footprintUuid?: string | null;
7006
- imageData?: Blob | null;
7148
+ footprint?: {
7149
+ uuid: string;
7150
+ libraryUuid: string;
7151
+ } | null;
7152
+ model3D?: {
7153
+ uuid: string;
7154
+ libraryUuid: string;
7155
+ } | null;
7156
+ imageData?: File | Blob | null;
7007
7157
  }, description?: string | null, property?: {
7008
7158
  name?: string | null;
7009
7159
  designator?: string;
@@ -7014,7 +7164,9 @@ declare class LIB_Device {
7014
7164
  manufacturerId?: string | null;
7015
7165
  supplier?: string | null;
7016
7166
  supplierId?: string | null;
7017
- [key: string]: boolean | number | string | undefined | null;
7167
+ otherProperty?: {
7168
+ [key: string]: boolean | number | string | undefined | null;
7169
+ };
7018
7170
  }): Promise<boolean>;
7019
7171
  /**
7020
7172
  * 获取器件的所有属性
@@ -7553,7 +7705,7 @@ declare class PCB_Document {
7553
7705
  */
7554
7706
  setCanvasOrigin(offsetX: number, offsetY: number): Promise<boolean>;
7555
7707
  /**
7556
- * 定位到画布坐标
7708
+ * 定位到画布���标
7557
7709
  *
7558
7710
  * @public
7559
7711
  * @remarks
@@ -7571,6 +7723,7 @@ declare class PCB_Document {
7571
7723
  /* Excluded from this release type: navigateToRegion */
7572
7724
  /* Excluded from this release type: getPrimitiveAtPoint */
7573
7725
  /* Excluded from this release type: getPrimitivesInRegion */
7726
+ /* Excluded from this release type: zoomToBoardOutline */
7574
7727
  }
7575
7728
 
7576
7729
  /**
@@ -7583,12 +7736,23 @@ declare class PCB_Drc {
7583
7736
  /**
7584
7737
  * 检查 DRC
7585
7738
  *
7586
- * @public
7587
- * @param strict - 是否严格检查,严格检查时存在 Warning 将返回 `false`,否则返回 `true`
7739
+ * @beta
7740
+ * @param strict - 是否严格检查,当前 PCB 统一为严格检查模式
7588
7741
  * @param userInterface - 是否显示 UI(呼出底部 DRC 窗口)
7589
- * @returns DRC 检查是否无错误
7742
+ * @param includeVerboseError - 是否在返回值中包含详细错误信息,如若为 `true`,则返回值将始终为数组
7743
+ * @returns DRC 检查是否通过
7590
7744
  */
7591
- check(strict?: boolean, userInterface?: boolean): Promise<boolean>;
7745
+ check(strict: boolean, userInterface: boolean, includeVerboseError: false): Promise<boolean>;
7746
+ /**
7747
+ * 检查 DRC
7748
+ *
7749
+ * @beta
7750
+ * @param strict - 是否严格检查,当前 PCB 统一为严格检查模式
7751
+ * @param userInterface - 是否显示 UI(呼出底部 DRC 窗口)
7752
+ * @param includeVerboseError - 是否在返回值中包含详细错误信息,如若为 `true`,则返回值将始终为数组
7753
+ * @returns DRC 检查的详细结果
7754
+ */
7755
+ check(strict: boolean, userInterface: boolean, includeVerboseError: true): Promise<Array<any>>;
7592
7756
  /**
7593
7757
  * 获取当前设计规则配置名称
7594
7758
  *
@@ -7632,7 +7796,7 @@ declare class PCB_Drc {
7632
7796
  * @remarks 只有自定义配置可以覆盖保存,系统配置不允许修改和覆盖
7633
7797
  * @param ruleConfiguration - 设计规则配置
7634
7798
  * @param configurationName - 配置名称
7635
- * @param allowOverwrite - 是否允许覆写同名设计规则配置,`false` 则将在遇到同名设计规则配置时返回 `false`,请注意可能的数据丢失风险
7799
+ * @param allowOverwrite - ��否允许覆写同名设计规则配置,`false` 则将在遇到同名设计规则配置时返回 `false`,请注意可能的数据丢失风险
7636
7800
  * @returns 保存是否成功
7637
7801
  */
7638
7802
  saveRuleConfiguration(ruleConfiguration: {
@@ -7739,9 +7903,10 @@ declare class PCB_Drc {
7739
7903
  * @beta
7740
7904
  * @param netClassName - 网络类名称
7741
7905
  * @param nets - 网络名称数组
7906
+ * @param color - 网络类颜色
7742
7907
  * @returns 操作是否成功
7743
7908
  */
7744
- createNetClass(netClassName: string, nets: Array<string>): Promise<boolean>;
7909
+ createNetClass(netClassName: string, nets: Array<string>, color?: string | null): Promise<boolean>;
7745
7910
  /**
7746
7911
  * 删除网络类
7747
7912
  *
@@ -7754,7 +7919,7 @@ declare class PCB_Drc {
7754
7919
  * 修改网络类的名称
7755
7920
  *
7756
7921
  * @beta
7757
- * @param originalNetClassName - 原网络类名称
7922
+ * @param originalNetClassName - ��网络类名称
7758
7923
  * @param netClassName - 新网络类名称
7759
7924
  * @returns 操作是否成功
7760
7925
  */
@@ -7842,9 +8007,10 @@ declare class PCB_Drc {
7842
8007
  * @beta
7843
8008
  * @param equalLengthNetGroupName - 等长网络组名称
7844
8009
  * @param nets - 网络名称数组
8010
+ * @param color - 等长网络组颜色
7845
8011
  * @returns 操作是否成功
7846
8012
  */
7847
- createEqualLengthNetGroup(equalLengthNetGroupName: string, nets: Array<string>): Promise<boolean>;
8013
+ createEqualLengthNetGroup(equalLengthNetGroupName: string, nets: Array<string>, color?: string | null): Promise<boolean>;
7848
8014
  /**
7849
8015
  * 删除等长网络组
7850
8016
  *
@@ -7894,6 +8060,10 @@ declare class PCB_Drc {
7894
8060
  * @param padPairGroupName - 焊盘对组名称
7895
8061
  * @param padPairs - 焊盘对数组
7896
8062
  * @returns 操作是否成功
8063
+ * @example 有三种不同的用法,确保画布上已有对应的焊盘。 分别是 一,游离焊盘-游离焊盘;二,器件焊盘 - 器件焊盘;三,器件焊盘 - 游离焊盘
8064
+ * await eda.pcb_Drc.createPadPairGroup('test',[['e0','e1']]) // 游离焊盘-游离焊盘
8065
+ * await eda.pcb_Drc.createPadPairGroup('test',[['R1:1','R1:2'],['R2:1','R2:2']]) // 器件焊盘 - 器件焊盘
8066
+ * await eda.pcb_Drc.createPadPairGroup('test',[['R1:1','e0'],['R1:2','e1']]) // 器件焊盘 - 游离焊盘
7897
8067
  */
7898
8068
  createPadPairGroup(padPairGroupName: string, padPairs: Array<[string, string]>): Promise<boolean>;
7899
8069
  /**
@@ -7920,6 +8090,10 @@ declare class PCB_Drc {
7920
8090
  * @param padPairGroupName - 焊盘对组名称
7921
8091
  * @param padPair - 焊盘对
7922
8092
  * @returns 操作是否成功
8093
+ * @example 有三种不同的用法,确保画布上已有对应的焊盘。 分别是 一,游离焊盘-游离焊盘;二,器件焊盘 - 器件焊盘;三,器件焊盘 - 游离焊盘
8094
+ * await eda.pcb_Drc.addPadPairToPadPairGroup('test',['e0','e1']) // 游离焊盘-游离焊盘
8095
+ * await eda.pcb_Drc.addPadPairToPadPairGroup('test',['R1:1','R1:2']) // 器件焊盘 - 器件焊盘
8096
+ * await eda.pcb_Drc.addPadPairToPadPairGroup('test',['R1:1','e1']) // 器件焊盘 - 游离焊盘
7923
8097
  */
7924
8098
  addPadPairToPadPairGroup(padPairGroupName: string, padPair: [string, string] | Array<[string, string]>): Promise<boolean>;
7925
8099
  /**
@@ -7929,6 +8103,10 @@ declare class PCB_Drc {
7929
8103
  * @param padPairGroupName - 焊盘对组名称
7930
8104
  * @param padPair - 焊盘对
7931
8105
  * @returns 操作是否成功
8106
+ * @example 有三种不同的用法,确保画布上已有对应的焊盘。 分别是 一,游离焊盘-游离焊盘;二,器件焊盘 - 器件焊盘;三,器件焊盘 - 游离焊盘
8107
+ * await eda.pcb_Drc.removePadPairFromPadPairGroup('test',['e0','e1']) // 游离焊盘-游离焊盘
8108
+ * await eda.pcb_Drc.removePadPairFromPadPairGroup('test',['R1:1','R1:2']) // 器件焊盘 - 器件焊盘
8109
+ * await eda.pcb_Drc.removePadPairFromPadPairGroup('test',['R1:2','e1']) // 器件焊盘 - 游离焊盘
7932
8110
  */
7933
8111
  removePadPairFromPadPairGroup(padPairGroupName: string, padPair: [string, string] | Array<[string, string]>): Promise<boolean>;
7934
8112
  /**
@@ -8052,7 +8230,7 @@ declare class PCB_Layer {
8052
8230
  * 设置非激活层透明度
8053
8231
  *
8054
8232
  * @beta
8055
- * @param transparency - 透明度
8233
+ * @param transparency - 透明度,范围 `0-100`
8056
8234
  * @returns 操作是否成功
8057
8235
  */
8058
8236
  setInactiveLayerTransparency(transparency: number): Promise<boolean>;
@@ -8110,6 +8288,7 @@ declare class PCB_Layer {
8110
8288
  * @returns 所有图层的详细属性
8111
8289
  */
8112
8290
  getAllLayers(): Promise<Array<IPCB_LayerItem>>;
8291
+ /* Excluded from this release type: setInactiveLayerDisplayMode */
8113
8292
  }
8114
8293
 
8115
8294
  /**
@@ -8496,7 +8675,7 @@ declare class PCB_MathPolygon {
8496
8675
  * @param smoothing - 平滑,取值范围 `0`-`1.33`
8497
8676
  * @param despeckling - 去斑,取值范围 `0`-`5`
8498
8677
  * @param inversion - 是否反相
8499
- * @returns 复杂多边形对象
8678
+ * @returns 复杂多���形对象
8500
8679
  */
8501
8680
  convertImageToComplexPolygon(imageBlob: Blob, imageWidth: number, imageHeight: number, tolerance?: number, simplification?: number, smoothing?: number, despeckling?: number, inversion?: boolean): Promise<IPCB_ComplexPolygon | undefined>;
8502
8681
  }
@@ -8507,21 +8686,33 @@ declare class PCB_MathPolygon {
8507
8686
  * @public
8508
8687
  */
8509
8688
  declare class PCB_Net {
8689
+ /* Excluded from this release type: getAllNets */
8690
+ /* Excluded from this release type: getNet */
8510
8691
  /**
8511
8692
  * 获取所有网络的网络名称
8512
8693
  *
8513
- * @beta
8694
+ * @public
8695
+ * @returns 网络名称数组
8696
+ */
8697
+ getAllNetsName(): Promise<Array<string>>;
8698
+ /**
8699
+ * 获取所有网络的网络名称
8700
+ *
8701
+ * @public
8702
+ * @deprecated 请使用 {@link PCB_Net.getAllNetsName | getAllNetsName} 替代
8514
8703
  * @returns 网络名称数组
8515
8704
  */
8516
8705
  getAllNetName(): Promise<Array<string>>;
8517
8706
  /**
8518
8707
  * 获取指定网络的长度
8519
8708
  *
8520
- * @beta
8709
+ * @public
8521
8710
  * @param net - 网络名称
8522
8711
  * @returns 网络长度,`undefined` 为不存在该网络,`0` 为网络无长度
8523
8712
  */
8524
8713
  getNetLength(net: string): Promise<number | undefined>;
8714
+ /* Excluded from this release type: getNetColor */
8715
+ /* Excluded from this release type: setNetColor */
8525
8716
  /**
8526
8717
  * 获取关联指定网络的所有图元
8527
8718
  *
@@ -8563,7 +8754,7 @@ declare class PCB_Net {
8563
8754
  /**
8564
8755
  * 获取网表
8565
8756
  *
8566
- * @beta
8757
+ * @public
8567
8758
  * @param type - 网表格式
8568
8759
  * @returns 网表数据,当 type 为 `JLCEDA` 或 `EasyEDA` 时,返回值为数组
8569
8760
  */
@@ -8571,7 +8762,7 @@ declare class PCB_Net {
8571
8762
  /**
8572
8763
  * 更新网表
8573
8764
  *
8574
- * @beta
8765
+ * @public
8575
8766
  * @param type - 网表格式
8576
8767
  * @param netlist - 网表数据
8577
8768
  */
@@ -9201,7 +9392,7 @@ declare class PCB_PrimitiveObject implements IPCB_PrimitiveAPI {
9201
9392
  * 获取二进制内嵌对象
9202
9393
  *
9203
9394
  * @beta
9204
- * @param primitiveIds - 二进制内嵌对象的图元 ID,��以为字符串或字符串数组,如若为数组,则返回的也是数组
9395
+ * @param primitiveIds - 二进制内嵌对象的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
9205
9396
  * @returns 二进制内嵌对象图元对象,`undefined` 表示获取失败
9206
9397
  */
9207
9398
  get(primitiveIds: string): Promise<IPCB_PrimitiveObject | undefined>;
@@ -9495,7 +9686,7 @@ declare class PCB_PrimitivePour implements IPCB_PrimitiveAPI {
9495
9686
  */
9496
9687
  getAllPrimitiveId(net?: string, layer?: TPCB_LayersOfCopper, primitiveLock?: boolean): Promise<Array<string>>;
9497
9688
  /**
9498
- * 获取所有填充
9689
+ * 获取所有覆铜边框图元
9499
9690
  *
9500
9691
  * @beta
9501
9692
  * @param net - 网络名称
@@ -9712,7 +9903,7 @@ declare class PCB_SelectControl {
9712
9903
  */
9713
9904
  doSelectPrimitives(primitiveIds: string | Array<string>): Promise<boolean>;
9714
9905
  /**
9715
- * 进行交叉选择
9906
+ * 进行交���选择
9716
9907
  *
9717
9908
  * @beta
9718
9909
  * @param components - 器件位号
@@ -9954,7 +10145,19 @@ declare class SCH_Primitive {
9954
10145
  */
9955
10146
  getPrimitiveByPrimitiveId(id: string): Promise<ISCH_Primitive | undefined>;
9956
10147
  /* Excluded from this release type: getPrimitivesByPrimitiveId */
9957
- /* Excluded from this release type: getPrimitivesBBox */
10148
+ /**
10149
+ * 获取图元的 BBox
10150
+ *
10151
+ * @beta
10152
+ * @param primitiveIds - 图元 ID 数组或图元对象数组
10153
+ * @returns 图元的 BBox,如若图元不存在或没有 BBox,将会返回 `undefined` 的结果
10154
+ */
10155
+ getPrimitivesBBox(primitiveIds: Array<string | ISCH_Primitive>): Promise<{
10156
+ minX: number;
10157
+ minY: number;
10158
+ maxX: number;
10159
+ maxY: number;
10160
+ } | undefined>;
9958
10161
  }
9959
10162
 
9960
10163
  /**
@@ -10737,7 +10940,7 @@ declare class SCH_PrimitiveWire implements ISCH_PrimitiveAPI {
10737
10940
  * 获取导线
10738
10941
  *
10739
10942
  * @beta
10740
- * @param primitiveIds - 导线的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
10943
+ * @param primitiveIds - 导线��图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
10741
10944
  * @returns 导线图元对象
10742
10945
  */
10743
10946
  get(primitiveIds: string): ISCH_PrimitiveWire | undefined;
@@ -10989,17 +11192,23 @@ declare class SYS_FileManager {
10989
11192
  * 获取工程文件
10990
11193
  *
10991
11194
  * @public
10992
- * @remarks 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
11195
+ * @remarks
11196
+ * 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
11197
+ *
11198
+ * 注意:本接口需要启用 **工程管理 \> 下载工程** 权限,没有权限调用将始终 `throw Error`
10993
11199
  * @param fileName - 文件名
10994
11200
  * @param password - 加密密码
10995
11201
  * @returns 工程文件数据,`undefined` 表示当前未打开工程或数据获取失败
10996
11202
  */
10997
11203
  getProjectFile(fileName?: string, password?: string): Promise<File | undefined>;
10998
11204
  /**
10999
- * ���取文档文件
11205
+ * 获取文档文件
11000
11206
  *
11001
11207
  * @public
11002
- * @remarks 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
11208
+ * @remarks
11209
+ * 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
11210
+ *
11211
+ * 注意:本接口需要启用 **工程设计图 \> 文件导出** 权限,没有权限调用将始终 `throw Error`
11003
11212
  * @param fileName - 文件名
11004
11213
  * @param password - 加密密码
11005
11214
  * @returns 文档文件数据,`undefined` 表示当前未打开文档或数据获取失败
@@ -11034,7 +11243,10 @@ declare class SYS_FileManager {
11034
11243
  * 使用工程 UUID 获取工程文件
11035
11244
  *
11036
11245
  * @public
11037
- * @remarks 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
11246
+ * @remarks
11247
+ * 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
11248
+ *
11249
+ * 注意:本接口需要启用 **工程管理 \> 下载工程** 权限,没有权限调用将始终 `throw Error`
11038
11250
  * @param projectUuid - 工程 UUID
11039
11251
  * @param fileName - 文件名
11040
11252
  * @param password - 加密密码
@@ -11045,7 +11257,10 @@ declare class SYS_FileManager {
11045
11257
  * 使用器件 UUID 获取器件文件
11046
11258
  *
11047
11259
  * @public
11048
- * @remarks 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
11260
+ * @remarks
11261
+ * 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
11262
+ *
11263
+ * 注意:本接口需要启用 **团队库 \> 下载库** 权限,没有权限调用将始终 `throw Error`
11049
11264
  * @param deviceUuid - 器件 UUID 或器件 UUID 列表
11050
11265
  * @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList} 内的接口获取
11051
11266
  * @returns 器件文件数据,`undefined` 表示数据获取失败
@@ -11056,7 +11271,10 @@ declare class SYS_FileManager {
11056
11271
  * 使用封装 UUID 获取封装文件
11057
11272
  *
11058
11273
  * @beta
11059
- * @remarks 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
11274
+ * @remarks
11275
+ * 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
11276
+ *
11277
+ * 注意:本接口需要启用 **团队库 \> 下载库** 权限,没有权限调用将始终 `throw Error`
11060
11278
  * @param footprintUuid - 封装 UUID 或封装 UUID 列表
11061
11279
  * @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList} 内的接口获取
11062
11280
  * @returns 封装文件数据,`undefined` 表示数据获取失败
@@ -11066,7 +11284,10 @@ declare class SYS_FileManager {
11066
11284
  * 使用复用模块 UUID 获取复用模块文件
11067
11285
  *
11068
11286
  * @beta
11069
- * @remarks 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
11287
+ * @remarks
11288
+ * 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
11289
+ *
11290
+ * 注意:本接口需要启用 **团队模块 \> 下载模块** 权限,没有权限调用将始终 `throw Error`
11070
11291
  * @param cbbUuid - 复用模块 UUID
11071
11292
  * @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList} 内的接口获取
11072
11293
  * @param fileName - 复用模块名
@@ -11074,7 +11295,19 @@ declare class SYS_FileManager {
11074
11295
  * @returns 复用模块文件数据,`undefined` 表示数据获取失败
11075
11296
  */
11076
11297
  getCbbFileByCbbUuid(cbbUuid: string, libraryUuid?: string, cbbName?: string, password?: string): Promise<File | undefined>;
11077
- /* Excluded from this release type: getPanelLibraryFileByPanelLibraryUuid */
11298
+ /**
11299
+ * 使用面板库 UUID 获取面板库文件
11300
+ *
11301
+ * @beta
11302
+ * @remarks
11303
+ * 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
11304
+ *
11305
+ * 注意:本接口需要启用 **团队库 \> 下载库** 权限,没有权限调用将始终 `throw Error`
11306
+ * @param panelLibraryUuid - 面板库 UUID 或面板库 UUID 列表
11307
+ * @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList} 内的接口获取
11308
+ * @returns 面板库文件数据,`undefined` 表示数据获取失败
11309
+ */
11310
+ getPanelLibraryFileByPanelLibraryUuid(panelLibraryUuid: string | Array<string>, libraryUuid?: string): Promise<File | undefined>;
11078
11311
  }
11079
11312
 
11080
11313
  /**
@@ -11628,7 +11861,7 @@ declare class SYS_Storage {
11628
11861
  *
11629
11862
  * @public
11630
11863
  * @remarks
11631
- * 新建扩展用户配置也使用本接口,在设置时如果不存在将会自动新建
11864
+ * 新建扩展用户配置也使用本接口,���设置时如果不存在将会自动新建
11632
11865
  *
11633
11866
  * 注意:本接口仅扩展有效,在独立脚本环境内调用将始终 `throw Error`
11634
11867
  * @param key - 配置项
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jlceda/pro-api-types",
3
- "version": "0.1.110",
3
+ "version": "0.1.112",
4
4
  "description": "嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义",
5
5
  "typings": "index.d.ts",
6
6
  "keywords": [