@jlceda/pro-api-types 0.1.62 → 0.1.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +2 -2
- package/index.d.ts +76 -76
- package/package.json +5 -5
package/README.en.md
CHANGED
|
@@ -8,7 +8,7 @@ JLCEDA & EasyEDA Pro Edition Extension API Interface Type Definition
|
|
|
8
8
|
|
|
9
9
|
## How to Use
|
|
10
10
|
|
|
11
|
-
It is recommended to use [pro-api-sdk](https://github.com/
|
|
11
|
+
It is recommended to use [pro-api-sdk](https://github.com/easyeda/pro-api-sdk) for extension development, this definition file is pre-configured within the SDK.
|
|
12
12
|
|
|
13
13
|
1. 安装类型定义
|
|
14
14
|
|
|
@@ -22,4 +22,4 @@ It is recommended to use [pro-api-sdk](https://github.com/jlceda/pro-api-sdk) fo
|
|
|
22
22
|
|
|
23
23
|
<a href="https://choosealicense.com/licenses/apache-2.0/" style="vertical-align: inherit;" target="_blank"><img src="https://img.shields.io/npm/l/%40jlceda%2Fpro-api-types" alt="NPM License" class="not-medium-zoom-image" style="display: inline; vertical-align: inherit;" /></a>
|
|
24
24
|
|
|
25
|
-
This typedef uses the [Apache License 2.0](https://choosealicense.com/licenses/apache-2.0/) open source license, and you may only use the **嘉立创EDA**, **EasyEDA** trademark information in the **Functional Description** and **Title of Open Source Release** sections of the extension packages developed by the [pro-api-sdk](https://github.com/
|
|
25
|
+
This typedef uses the [Apache License 2.0](https://choosealicense.com/licenses/apache-2.0/) open source license, and you may only use the **嘉立创EDA**, **EasyEDA** trademark information in the **Functional Description** and **Title of Open Source Release** sections of the extension packages developed by the [pro-api-sdk](https://github.com/easyeda/pro-api-sdk) toolset, and the **Title of Open Source Release** section. **Functional Description Section** and **Title Section** of the Open Source Release for extension packages developed by the toolset.
|
package/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ declare interface BusNetGroupCreateOptions {
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* 文档树 / 板子管理类
|
|
11
11
|
*
|
|
12
12
|
* @public
|
|
13
13
|
* @remarks 在当前打开的工程内进行板子管理的相关操作
|
|
@@ -74,7 +74,7 @@ declare class DMT_Board {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
77
|
+
* 文档树 / 编辑器控制类
|
|
78
78
|
*
|
|
79
79
|
* @public
|
|
80
80
|
* @remarks 此处编辑器控制基于当前已打开的工程设计下的图页,其它任何 `documentUuid` 都将被认为是不存在的文档页
|
|
@@ -182,7 +182,7 @@ declare class DMT_EditorControl {
|
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
/**
|
|
185
|
-
*
|
|
185
|
+
* 文档树 / 文件夹类
|
|
186
186
|
*
|
|
187
187
|
* @public
|
|
188
188
|
*/
|
|
@@ -195,7 +195,7 @@ declare class DMT_Folder {
|
|
|
195
195
|
* @param teamUuid - 团队 UUID
|
|
196
196
|
* @param parentFolderUuid - 父文件夹 UUID,如若不指定,则为根文件夹
|
|
197
197
|
* @param description - 文件夹描述
|
|
198
|
-
* @returns
|
|
198
|
+
* @returns 文件夹 UUID,如若为 `undefined` 则创建失败
|
|
199
199
|
*/
|
|
200
200
|
createFolder(folderName: string, teamUuid: string, parentFolderUuid?: string, description?: string): Promise<string | undefined>;
|
|
201
201
|
/**
|
|
@@ -260,7 +260,7 @@ declare class DMT_Folder {
|
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
/**
|
|
263
|
-
*
|
|
263
|
+
* 文档树 / 面板管理类
|
|
264
264
|
*
|
|
265
265
|
* @public
|
|
266
266
|
* @remarks 在当前打开的工程内进行面板管理的相关操作
|
|
@@ -324,7 +324,7 @@ declare class DMT_Panel {
|
|
|
324
324
|
}
|
|
325
325
|
|
|
326
326
|
/**
|
|
327
|
-
*
|
|
327
|
+
* 文档树 / PCB 管理类
|
|
328
328
|
*
|
|
329
329
|
* @public
|
|
330
330
|
* @remarks 在当前打开的工程内进行 PCB 管理的相关操作
|
|
@@ -393,7 +393,7 @@ declare class DMT_Pcb {
|
|
|
393
393
|
}
|
|
394
394
|
|
|
395
395
|
/**
|
|
396
|
-
*
|
|
396
|
+
* 文档树 / 工程管理类
|
|
397
397
|
*
|
|
398
398
|
* @public
|
|
399
399
|
*/
|
|
@@ -413,7 +413,7 @@ declare class DMT_Project {
|
|
|
413
413
|
* @beta
|
|
414
414
|
* @param projectFriendlyName - 工程友好名称
|
|
415
415
|
* @param projectName - 工程名称,仅支持字母 `a-zA-Z`、数字 `0-9`、中划线 `-`,如若不指定,则根据工程友好名称自动生成
|
|
416
|
-
* @param teamUuid - 团队 UUID
|
|
416
|
+
* @param teamUuid - 团队 UUID,如若不指定,则默认为个人;在不存在个人工程的环���下必须指定团队 UUID
|
|
417
417
|
* @param folderUuid - 文件夹 UUID,如若不指定,则为根文件夹
|
|
418
418
|
* @param description - 工程描述
|
|
419
419
|
* @param collaborationMode - 工程协作模式,如若团队权限无需工程设置协作模式,则该参数将被忽略
|
|
@@ -473,7 +473,7 @@ declare class DMT_Project {
|
|
|
473
473
|
}
|
|
474
474
|
|
|
475
475
|
/**
|
|
476
|
-
*
|
|
476
|
+
* 文档树 / 原理图管理类
|
|
477
477
|
*
|
|
478
478
|
* @public
|
|
479
479
|
* @remarks 在当前打开的工程内进行原理图管理的相关操作
|
|
@@ -632,7 +632,7 @@ declare class DMT_Schematic {
|
|
|
632
632
|
}
|
|
633
633
|
|
|
634
634
|
/**
|
|
635
|
-
*
|
|
635
|
+
* 文档树 / 选择控制类
|
|
636
636
|
*
|
|
637
637
|
* @public
|
|
638
638
|
* @remarks 在文档树内进行选择焦点的查询、控制
|
|
@@ -649,7 +649,7 @@ declare class DMT_SelectControl {
|
|
|
649
649
|
}
|
|
650
650
|
|
|
651
651
|
/**
|
|
652
|
-
*
|
|
652
|
+
* 文档树 / 团队类
|
|
653
653
|
*
|
|
654
654
|
* @public
|
|
655
655
|
*/
|
|
@@ -680,7 +680,7 @@ declare class DMT_Team {
|
|
|
680
680
|
}
|
|
681
681
|
|
|
682
682
|
/**
|
|
683
|
-
*
|
|
683
|
+
* 文档树 / 工作区类
|
|
684
684
|
*
|
|
685
685
|
* @public
|
|
686
686
|
*/
|
|
@@ -2860,7 +2860,7 @@ declare class IPCB_PrimitiveLine implements IPCB_Primitive {
|
|
|
2860
2860
|
*/
|
|
2861
2861
|
toSync(): IPCB_PrimitiveLine;
|
|
2862
2862
|
/**
|
|
2863
|
-
*
|
|
2863
|
+
* 查询图元是否为异步图元
|
|
2864
2864
|
*/
|
|
2865
2865
|
isAsync(): boolean;
|
|
2866
2866
|
/**
|
|
@@ -3401,7 +3401,7 @@ declare class ISCH_PrimitiveArc implements ISCH_Primitive {
|
|
|
3401
3401
|
* 在原理图画布中创建图元
|
|
3402
3402
|
*
|
|
3403
3403
|
* @beta
|
|
3404
|
-
* @returns
|
|
3404
|
+
* @returns 圆弧图元对象
|
|
3405
3405
|
*/
|
|
3406
3406
|
create(): Promise<ISCH_PrimitiveArc>;
|
|
3407
3407
|
getState_PrimitiveType(): string;
|
|
@@ -4200,7 +4200,7 @@ declare interface ISYS_MultilingualLanguagesData {
|
|
|
4200
4200
|
}
|
|
4201
4201
|
|
|
4202
4202
|
/**
|
|
4203
|
-
*
|
|
4203
|
+
* 综合库 / 3D 模型类
|
|
4204
4204
|
*
|
|
4205
4205
|
* @public
|
|
4206
4206
|
*/
|
|
@@ -4223,7 +4223,7 @@ declare class LIB_3DModel {
|
|
|
4223
4223
|
* @beta
|
|
4224
4224
|
* @param modelUuid - 3D 模型 UUID
|
|
4225
4225
|
* @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList} 内的接口获取
|
|
4226
|
-
* @returns
|
|
4226
|
+
* @returns 操作是否成功
|
|
4227
4227
|
*/
|
|
4228
4228
|
delete(modelUuid: string, libraryUuid: string): Promise<boolean>;
|
|
4229
4229
|
/**
|
|
@@ -4275,7 +4275,7 @@ declare class LIB_3DModel {
|
|
|
4275
4275
|
}
|
|
4276
4276
|
|
|
4277
4277
|
/**
|
|
4278
|
-
*
|
|
4278
|
+
* 综合库 / 复用模块类
|
|
4279
4279
|
*
|
|
4280
4280
|
* @public
|
|
4281
4281
|
*/
|
|
@@ -4368,7 +4368,7 @@ declare class LIB_Cbb {
|
|
|
4368
4368
|
}
|
|
4369
4369
|
|
|
4370
4370
|
/**
|
|
4371
|
-
*
|
|
4371
|
+
* 综合库 / 库分类索引类
|
|
4372
4372
|
*
|
|
4373
4373
|
* @public
|
|
4374
4374
|
*/
|
|
@@ -4469,7 +4469,7 @@ declare class LIB_Classification {
|
|
|
4469
4469
|
}
|
|
4470
4470
|
|
|
4471
4471
|
/**
|
|
4472
|
-
*
|
|
4472
|
+
* 综合库 / 器件类
|
|
4473
4473
|
*
|
|
4474
4474
|
* @public
|
|
4475
4475
|
*/
|
|
@@ -4595,7 +4595,7 @@ declare class LIB_Device {
|
|
|
4595
4595
|
}
|
|
4596
4596
|
|
|
4597
4597
|
/**
|
|
4598
|
-
*
|
|
4598
|
+
* 综合库 / 封装类
|
|
4599
4599
|
*
|
|
4600
4600
|
* @public
|
|
4601
4601
|
*/
|
|
@@ -4679,7 +4679,7 @@ declare class LIB_Footprint {
|
|
|
4679
4679
|
}
|
|
4680
4680
|
|
|
4681
4681
|
/**
|
|
4682
|
-
*
|
|
4682
|
+
* 综合库 / 库列表类
|
|
4683
4683
|
*
|
|
4684
4684
|
* @public
|
|
4685
4685
|
* @remarks 此处所有接口都基于编辑器当前工作区环境,如需切换到其他工作区,请使用 {@link DMT_Workspace.toggleToWorkspace} 接口切换工作区
|
|
@@ -4720,7 +4720,7 @@ declare class LIB_LibrariesList {
|
|
|
4720
4720
|
}
|
|
4721
4721
|
|
|
4722
4722
|
/**
|
|
4723
|
-
*
|
|
4723
|
+
* 综合库 / 面板库类
|
|
4724
4724
|
*
|
|
4725
4725
|
* @public
|
|
4726
4726
|
*/
|
|
@@ -4804,7 +4804,7 @@ declare class LIB_PanelLibrary {
|
|
|
4804
4804
|
}
|
|
4805
4805
|
|
|
4806
4806
|
/**
|
|
4807
|
-
*
|
|
4807
|
+
* 综合库 / 符号类
|
|
4808
4808
|
*
|
|
4809
4809
|
* @public
|
|
4810
4810
|
*/
|
|
@@ -4890,7 +4890,7 @@ declare class LIB_Symbol {
|
|
|
4890
4890
|
}
|
|
4891
4891
|
|
|
4892
4892
|
/**
|
|
4893
|
-
*
|
|
4893
|
+
* PCB & 封装 / 文档操作类
|
|
4894
4894
|
*
|
|
4895
4895
|
* @public
|
|
4896
4896
|
* @remarks 对设计文档总体进行的操作
|
|
@@ -5014,7 +5014,7 @@ declare class PCB_Document {
|
|
|
5014
5014
|
}
|
|
5015
5015
|
|
|
5016
5016
|
/**
|
|
5017
|
-
*
|
|
5017
|
+
* PCB & 封装 / 设计规则检查(DRC)类
|
|
5018
5018
|
*
|
|
5019
5019
|
* @public
|
|
5020
5020
|
* @remarks 检查、设定 DRC 规则
|
|
@@ -5224,7 +5224,7 @@ declare class PCB_Drc {
|
|
|
5224
5224
|
* 创建差分对
|
|
5225
5225
|
*
|
|
5226
5226
|
* @beta
|
|
5227
|
-
* @param differentialPairName -
|
|
5227
|
+
* @param differentialPairName - 差分对名称
|
|
5228
5228
|
* @param positiveNet - 正网络名称
|
|
5229
5229
|
* @param negativeNet - 负网络名称
|
|
5230
5230
|
* @returns 操作是否成功
|
|
@@ -5377,7 +5377,7 @@ declare class PCB_Drc {
|
|
|
5377
5377
|
}
|
|
5378
5378
|
|
|
5379
5379
|
/**
|
|
5380
|
-
*
|
|
5380
|
+
* PCB & 封装 / 事件类
|
|
5381
5381
|
*
|
|
5382
5382
|
* @public
|
|
5383
5383
|
* @remarks 注册事件回调
|
|
@@ -5412,7 +5412,7 @@ declare class PCB_Event {
|
|
|
5412
5412
|
}
|
|
5413
5413
|
|
|
5414
5414
|
/**
|
|
5415
|
-
*
|
|
5415
|
+
* PCB & 封装 / 图层操作类
|
|
5416
5416
|
*
|
|
5417
5417
|
* @public
|
|
5418
5418
|
*/
|
|
@@ -5541,7 +5541,7 @@ declare class PCB_Layer {
|
|
|
5541
5541
|
}
|
|
5542
5542
|
|
|
5543
5543
|
/**
|
|
5544
|
-
*
|
|
5544
|
+
* PCB & 封装 / 生产资料类
|
|
5545
5545
|
*
|
|
5546
5546
|
* @public
|
|
5547
5547
|
* @remarks 获取当前 PCB 的生产资料文件
|
|
@@ -5698,7 +5698,7 @@ declare class PCB_ManufactureData {
|
|
|
5698
5698
|
}
|
|
5699
5699
|
|
|
5700
5700
|
/**
|
|
5701
|
-
*
|
|
5701
|
+
* PCB & 封装 / 多边形数学类
|
|
5702
5702
|
*
|
|
5703
5703
|
* @public
|
|
5704
5704
|
*/
|
|
@@ -5747,7 +5747,7 @@ declare class PCB_MathPolygon {
|
|
|
5747
5747
|
}
|
|
5748
5748
|
|
|
5749
5749
|
/**
|
|
5750
|
-
*
|
|
5750
|
+
* PCB & 封装 / 网络类
|
|
5751
5751
|
*
|
|
5752
5752
|
* @public
|
|
5753
5753
|
*/
|
|
@@ -5795,7 +5795,7 @@ declare class PCB_Net {
|
|
|
5795
5795
|
}
|
|
5796
5796
|
|
|
5797
5797
|
/**
|
|
5798
|
-
*
|
|
5798
|
+
* PCB & 封装 / 图元类
|
|
5799
5799
|
*
|
|
5800
5800
|
* @public
|
|
5801
5801
|
* @remarks 图元的统一操作
|
|
@@ -5814,7 +5814,7 @@ declare class PCB_Primitive {
|
|
|
5814
5814
|
}
|
|
5815
5815
|
|
|
5816
5816
|
/**
|
|
5817
|
-
*
|
|
5817
|
+
* PCB & 封装 / 圆弧线图元类
|
|
5818
5818
|
*
|
|
5819
5819
|
* @public
|
|
5820
5820
|
*/
|
|
@@ -5905,7 +5905,7 @@ declare class PCB_PrimitiveArc implements IPCB_PrimitiveAPI {
|
|
|
5905
5905
|
}
|
|
5906
5906
|
|
|
5907
5907
|
/**
|
|
5908
|
-
*
|
|
5908
|
+
* PCB & 封装 / 器件图元类
|
|
5909
5909
|
*
|
|
5910
5910
|
* @public
|
|
5911
5911
|
*/
|
|
@@ -6005,7 +6005,7 @@ declare class PCB_PrimitiveComponent implements IPCB_PrimitiveAPI {
|
|
|
6005
6005
|
}
|
|
6006
6006
|
|
|
6007
6007
|
/**
|
|
6008
|
-
*
|
|
6008
|
+
* PCB & 封装 / 尺寸标注图元类
|
|
6009
6009
|
*
|
|
6010
6010
|
* @public
|
|
6011
6011
|
*/
|
|
@@ -6085,7 +6085,7 @@ declare class PCB_PrimitiveDimension implements IPCB_PrimitiveAPI {
|
|
|
6085
6085
|
}
|
|
6086
6086
|
|
|
6087
6087
|
/**
|
|
6088
|
-
*
|
|
6088
|
+
* PCB & 封装 / 图像图元类
|
|
6089
6089
|
*
|
|
6090
6090
|
* @public
|
|
6091
6091
|
*/
|
|
@@ -6169,7 +6169,7 @@ declare class PCB_PrimitiveImage implements IPCB_PrimitiveAPI {
|
|
|
6169
6169
|
}
|
|
6170
6170
|
|
|
6171
6171
|
/**
|
|
6172
|
-
*
|
|
6172
|
+
* PCB & 封装 / 导线图元类
|
|
6173
6173
|
*
|
|
6174
6174
|
* @public
|
|
6175
6175
|
*/
|
|
@@ -6254,7 +6254,7 @@ declare class PCB_PrimitiveLine implements IPCB_PrimitiveAPI {
|
|
|
6254
6254
|
}
|
|
6255
6255
|
|
|
6256
6256
|
/**
|
|
6257
|
-
*
|
|
6257
|
+
* PCB & 封装 / 焊盘图元类
|
|
6258
6258
|
*
|
|
6259
6259
|
* @public
|
|
6260
6260
|
*/
|
|
@@ -6366,7 +6366,7 @@ declare class PCB_PrimitivePad implements IPCB_PrimitiveAPI {
|
|
|
6366
6366
|
}
|
|
6367
6367
|
|
|
6368
6368
|
/**
|
|
6369
|
-
*
|
|
6369
|
+
* PCB & 封装 / 折线图元类
|
|
6370
6370
|
*
|
|
6371
6371
|
* @public
|
|
6372
6372
|
*/
|
|
@@ -6442,7 +6442,7 @@ declare class PCB_PrimitivePolyline implements IPCB_PrimitiveAPI {
|
|
|
6442
6442
|
}
|
|
6443
6443
|
|
|
6444
6444
|
/**
|
|
6445
|
-
*
|
|
6445
|
+
* PCB & 封装 / 过孔图元类
|
|
6446
6446
|
*
|
|
6447
6447
|
* @public
|
|
6448
6448
|
*/
|
|
@@ -6526,7 +6526,7 @@ declare class PCB_PrimitiveVia implements IPCB_PrimitiveAPI {
|
|
|
6526
6526
|
}
|
|
6527
6527
|
|
|
6528
6528
|
/**
|
|
6529
|
-
*
|
|
6529
|
+
* PCB & 封装 / 选择控制类
|
|
6530
6530
|
*
|
|
6531
6531
|
* @public
|
|
6532
6532
|
* @remarks 获取或操作选择的元素
|
|
@@ -6591,7 +6591,7 @@ declare enum PIN_TYPE {
|
|
|
6591
6591
|
}
|
|
6592
6592
|
|
|
6593
6593
|
/**
|
|
6594
|
-
*
|
|
6594
|
+
* 面板 / 文档操作类
|
|
6595
6595
|
*
|
|
6596
6596
|
* @public
|
|
6597
6597
|
* @remarks 对设计文档总体进行的操作
|
|
@@ -6607,7 +6607,7 @@ declare class PNL_Document {
|
|
|
6607
6607
|
}
|
|
6608
6608
|
|
|
6609
6609
|
/**
|
|
6610
|
-
*
|
|
6610
|
+
* 原理图 & 符号 / 文档操作类
|
|
6611
6611
|
*
|
|
6612
6612
|
* @public
|
|
6613
6613
|
* @remarks 对设计文档总体进行的操作
|
|
@@ -6630,7 +6630,7 @@ declare class SCH_Document {
|
|
|
6630
6630
|
}
|
|
6631
6631
|
|
|
6632
6632
|
/**
|
|
6633
|
-
*
|
|
6633
|
+
* 原理图 & 符号 / 设计规则检查(DRC)类
|
|
6634
6634
|
*
|
|
6635
6635
|
* @public
|
|
6636
6636
|
* @remarks 检查、设定 DRC 规则
|
|
@@ -6648,7 +6648,7 @@ declare class SCH_Drc {
|
|
|
6648
6648
|
}
|
|
6649
6649
|
|
|
6650
6650
|
/**
|
|
6651
|
-
*
|
|
6651
|
+
* 原理图 & 符号 / 事件类
|
|
6652
6652
|
*
|
|
6653
6653
|
* @public
|
|
6654
6654
|
* @remarks 注册事件回调
|
|
@@ -6683,7 +6683,7 @@ declare class SCH_Event {
|
|
|
6683
6683
|
}
|
|
6684
6684
|
|
|
6685
6685
|
/**
|
|
6686
|
-
*
|
|
6686
|
+
* 原理图 & 符号 / 生产资料类
|
|
6687
6687
|
*
|
|
6688
6688
|
* @public
|
|
6689
6689
|
* @remarks 获取当前原理图图页的生产资料文件
|
|
@@ -6712,7 +6712,7 @@ declare class SCH_ManufactureData {
|
|
|
6712
6712
|
}
|
|
6713
6713
|
|
|
6714
6714
|
/**
|
|
6715
|
-
*
|
|
6715
|
+
* 原理图 & 符号 / 网表类
|
|
6716
6716
|
*
|
|
6717
6717
|
* @public
|
|
6718
6718
|
* @remarks 获取、更新网表
|
|
@@ -6737,7 +6737,7 @@ declare class SCH_Netlist {
|
|
|
6737
6737
|
}
|
|
6738
6738
|
|
|
6739
6739
|
/**
|
|
6740
|
-
*
|
|
6740
|
+
* 原理图 & 符号 / 图元类
|
|
6741
6741
|
*
|
|
6742
6742
|
* @public
|
|
6743
6743
|
* @remarks 图元的统一操作
|
|
@@ -6770,7 +6770,7 @@ declare class SCH_Primitive {
|
|
|
6770
6770
|
}
|
|
6771
6771
|
|
|
6772
6772
|
/**
|
|
6773
|
-
*
|
|
6773
|
+
* 原理图 & 符号 / 圆弧图元类
|
|
6774
6774
|
*
|
|
6775
6775
|
* @public
|
|
6776
6776
|
*/
|
|
@@ -6844,7 +6844,7 @@ declare class SCH_PrimitiveArc implements ISCH_PrimitiveAPI {
|
|
|
6844
6844
|
}
|
|
6845
6845
|
|
|
6846
6846
|
/**
|
|
6847
|
-
*
|
|
6847
|
+
* 原理图 & 符号 / 总线图元类
|
|
6848
6848
|
*
|
|
6849
6849
|
* @public
|
|
6850
6850
|
*/
|
|
@@ -6908,7 +6908,7 @@ declare class SCH_PrimitiveBus implements ISCH_PrimitiveAPI {
|
|
|
6908
6908
|
}
|
|
6909
6909
|
|
|
6910
6910
|
/**
|
|
6911
|
-
*
|
|
6911
|
+
* 原理图 & 符号 / 圆图元类
|
|
6912
6912
|
*
|
|
6913
6913
|
* @public
|
|
6914
6914
|
*/
|
|
@@ -6976,7 +6976,7 @@ declare class SCH_PrimitiveCircle implements ISCH_PrimitiveAPI {
|
|
|
6976
6976
|
}
|
|
6977
6977
|
|
|
6978
6978
|
/**
|
|
6979
|
-
*
|
|
6979
|
+
* 原理图 & 符号 / 器件图元类
|
|
6980
6980
|
*
|
|
6981
6981
|
* @public
|
|
6982
6982
|
*/
|
|
@@ -7191,7 +7191,7 @@ declare class SCH_PrimitiveComponent implements ISCH_PrimitiveAPI {
|
|
|
7191
7191
|
}
|
|
7192
7192
|
|
|
7193
7193
|
/**
|
|
7194
|
-
*
|
|
7194
|
+
* 原理图 & 符号 / 引脚图元类
|
|
7195
7195
|
*
|
|
7196
7196
|
* @public
|
|
7197
7197
|
*/
|
|
@@ -7238,7 +7238,7 @@ declare class SCH_PrimitivePin implements ISCH_PrimitiveAPI {
|
|
|
7238
7238
|
*/
|
|
7239
7239
|
modify(primitiveId: string | ISCH_PrimitivePin, x?: number, y?: number, pinNumber?: string, pinName?: string, rotation?: number, pinLength?: number, pinColor?: string | null, pinShape?: string, pinType?: PIN_TYPE): Promise<ISCH_PrimitivePin | undefined>;
|
|
7240
7240
|
/**
|
|
7241
|
-
*
|
|
7241
|
+
* 获��引脚
|
|
7242
7242
|
*
|
|
7243
7243
|
* @beta
|
|
7244
7244
|
* @param primitiveIds - 引脚的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
|
|
@@ -7265,7 +7265,7 @@ declare class SCH_PrimitivePin implements ISCH_PrimitiveAPI {
|
|
|
7265
7265
|
}
|
|
7266
7266
|
|
|
7267
7267
|
/**
|
|
7268
|
-
*
|
|
7268
|
+
* 原理图 & 符号 / 多边形图元类
|
|
7269
7269
|
*
|
|
7270
7270
|
* @public
|
|
7271
7271
|
*/
|
|
@@ -7329,7 +7329,7 @@ declare class SCH_PrimitivePolygon implements ISCH_PrimitiveAPI {
|
|
|
7329
7329
|
}
|
|
7330
7330
|
|
|
7331
7331
|
/**
|
|
7332
|
-
*
|
|
7332
|
+
* 原理图 & 符号 / 矩形图元类
|
|
7333
7333
|
*
|
|
7334
7334
|
* @public
|
|
7335
7335
|
*/
|
|
@@ -7403,7 +7403,7 @@ declare class SCH_PrimitiveRectangle implements ISCH_PrimitiveAPI {
|
|
|
7403
7403
|
}
|
|
7404
7404
|
|
|
7405
7405
|
/**
|
|
7406
|
-
*
|
|
7406
|
+
* 原理图 & 符号 / 文本图元类
|
|
7407
7407
|
*
|
|
7408
7408
|
* @public
|
|
7409
7409
|
*/
|
|
@@ -7479,7 +7479,7 @@ declare class SCH_PrimitiveText implements ISCH_PrimitiveAPI {
|
|
|
7479
7479
|
}
|
|
7480
7480
|
|
|
7481
7481
|
/**
|
|
7482
|
-
*
|
|
7482
|
+
* 原理图 & 符号 / 导线图元类
|
|
7483
7483
|
*
|
|
7484
7484
|
* @public
|
|
7485
7485
|
*/
|
|
@@ -7552,7 +7552,7 @@ declare class SCH_PrimitiveWire implements ISCH_PrimitiveAPI {
|
|
|
7552
7552
|
}
|
|
7553
7553
|
|
|
7554
7554
|
/**
|
|
7555
|
-
*
|
|
7555
|
+
* 原理图 & 符号 / 选择控制类
|
|
7556
7556
|
*
|
|
7557
7557
|
* @public
|
|
7558
7558
|
* @remarks 获取或操作选择的元素
|
|
@@ -7603,7 +7603,7 @@ declare class SCH_SelectControl {
|
|
|
7603
7603
|
}
|
|
7604
7604
|
|
|
7605
7605
|
/**
|
|
7606
|
-
*
|
|
7606
|
+
* 原理图 & 符号 / 工具类
|
|
7607
7607
|
*
|
|
7608
7608
|
* @public
|
|
7609
7609
|
*/
|
|
@@ -7612,7 +7612,7 @@ declare class SCH_Utils {
|
|
|
7612
7612
|
}
|
|
7613
7613
|
|
|
7614
7614
|
/**
|
|
7615
|
-
*
|
|
7615
|
+
* 系统 / 外部请求类
|
|
7616
7616
|
*
|
|
7617
7617
|
* @public
|
|
7618
7618
|
* @remarks 向外部服务器发起安全的 cURL 请求
|
|
@@ -7642,7 +7642,7 @@ declare class SYS_ClientUrl {
|
|
|
7642
7642
|
}
|
|
7643
7643
|
|
|
7644
7644
|
/**
|
|
7645
|
-
*
|
|
7645
|
+
* 系统 / 文件管理类
|
|
7646
7646
|
*
|
|
7647
7647
|
* @public
|
|
7648
7648
|
*/
|
|
@@ -7671,7 +7671,7 @@ declare class SYS_FileManager {
|
|
|
7671
7671
|
* 获取文档源码
|
|
7672
7672
|
*
|
|
7673
7673
|
* @beta
|
|
7674
|
-
* @returns
|
|
7674
|
+
* @returns 文档源码数据,`undefined` 表示当前未打开文档或数据获取失败
|
|
7675
7675
|
*/
|
|
7676
7676
|
getDocumentSource(): Promise<string | undefined>;
|
|
7677
7677
|
/**
|
|
@@ -7749,7 +7749,7 @@ declare class SYS_FileManager {
|
|
|
7749
7749
|
}
|
|
7750
7750
|
|
|
7751
7751
|
/**
|
|
7752
|
-
*
|
|
7752
|
+
* 系统 / 文件系统交互类
|
|
7753
7753
|
*
|
|
7754
7754
|
* @public
|
|
7755
7755
|
*/
|
|
@@ -7775,7 +7775,7 @@ declare class SYS_FileSystem {
|
|
|
7775
7775
|
}
|
|
7776
7776
|
|
|
7777
7777
|
/**
|
|
7778
|
-
*
|
|
7778
|
+
* 系统 / 字体管理类
|
|
7779
7779
|
*
|
|
7780
7780
|
* @public
|
|
7781
7781
|
* @remarks 配置嘉立创 EDA 专业版允许调用的系统字体列表
|
|
@@ -7807,7 +7807,7 @@ declare class SYS_FontManager {
|
|
|
7807
7807
|
}
|
|
7808
7808
|
|
|
7809
7809
|
/**
|
|
7810
|
-
*
|
|
7810
|
+
* 系统 / 多语言类
|
|
7811
7811
|
*
|
|
7812
7812
|
* @public
|
|
7813
7813
|
* @remarks 使用多语言系统展示多语言文本
|
|
@@ -7888,7 +7888,7 @@ declare class SYS_I18n {
|
|
|
7888
7888
|
}
|
|
7889
7889
|
|
|
7890
7890
|
/**
|
|
7891
|
-
*
|
|
7891
|
+
* 系统 / 内联框架窗口类
|
|
7892
7892
|
*
|
|
7893
7893
|
* @public
|
|
7894
7894
|
*/
|
|
@@ -7912,7 +7912,7 @@ declare class SYS_IFrame {
|
|
|
7912
7912
|
}
|
|
7913
7913
|
|
|
7914
7914
|
/**
|
|
7915
|
-
*
|
|
7915
|
+
* 系统 / 加载与进度条类
|
|
7916
7916
|
*
|
|
7917
7917
|
* @public
|
|
7918
7918
|
*/
|
|
@@ -7948,7 +7948,7 @@ declare class SYS_LoadingAndProgressBar {
|
|
|
7948
7948
|
}
|
|
7949
7949
|
|
|
7950
7950
|
/**
|
|
7951
|
-
*
|
|
7951
|
+
* 系统 / 日志类
|
|
7952
7952
|
*
|
|
7953
7953
|
* @public
|
|
7954
7954
|
*/
|
|
@@ -7996,7 +7996,7 @@ declare class SYS_Log {
|
|
|
7996
7996
|
}
|
|
7997
7997
|
|
|
7998
7998
|
/**
|
|
7999
|
-
*
|
|
7999
|
+
* 系统 / 消息框类
|
|
8000
8000
|
*
|
|
8001
8001
|
* @public
|
|
8002
8002
|
* @remarks 生成消息提示框
|
|
@@ -8027,7 +8027,7 @@ declare class SYS_MessageBox {
|
|
|
8027
8027
|
}
|
|
8028
8028
|
|
|
8029
8029
|
/**
|
|
8030
|
-
*
|
|
8030
|
+
* 系统 / 面板控制类
|
|
8031
8031
|
*
|
|
8032
8032
|
* @public
|
|
8033
8033
|
*/
|
|
@@ -8116,7 +8116,7 @@ declare class SYS_PanelControl {
|
|
|
8116
8116
|
}
|
|
8117
8117
|
|
|
8118
8118
|
/**
|
|
8119
|
-
*
|
|
8119
|
+
* 系统 / 快捷键类
|
|
8120
8120
|
*
|
|
8121
8121
|
* @public
|
|
8122
8122
|
* @remarks 注册与管理系统快捷键
|
|
@@ -8156,7 +8156,7 @@ declare class SYS_ShortcutKey {
|
|
|
8156
8156
|
}
|
|
8157
8157
|
|
|
8158
8158
|
/**
|
|
8159
|
-
*
|
|
8159
|
+
* 系统 / 定时器类
|
|
8160
8160
|
*
|
|
8161
8161
|
* @public
|
|
8162
8162
|
* @remarks 设置定时器
|
|
@@ -8197,7 +8197,7 @@ declare class SYS_Timer {
|
|
|
8197
8197
|
}
|
|
8198
8198
|
|
|
8199
8199
|
/**
|
|
8200
|
-
*
|
|
8200
|
+
* 系统 / 吐司消息类
|
|
8201
8201
|
*
|
|
8202
8202
|
* @public
|
|
8203
8203
|
* @remarks 在屏幕的边缘弹出简短的消息提醒,会在一定时间后自动消除
|
|
@@ -8218,7 +8218,7 @@ declare class SYS_ToastMessage {
|
|
|
8218
8218
|
}
|
|
8219
8219
|
|
|
8220
8220
|
/**
|
|
8221
|
-
*
|
|
8221
|
+
* 系统 / 单位类
|
|
8222
8222
|
*
|
|
8223
8223
|
* @public
|
|
8224
8224
|
* @remarks 控制系统单位与单位转换基础函数,当前系统标准单位跨度等效为 `mil`
|
|
@@ -8281,7 +8281,7 @@ declare class SYS_Unit {
|
|
|
8281
8281
|
}
|
|
8282
8282
|
|
|
8283
8283
|
/**
|
|
8284
|
-
*
|
|
8284
|
+
* 系统 / WebSocket 类
|
|
8285
8285
|
*
|
|
8286
8286
|
* @public
|
|
8287
8287
|
* @remarks 与 WebSocket 服务器交互
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jlceda/pro-api-types",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.64",
|
|
4
4
|
"description": "嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"keywords": [
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
|
23
23
|
"@types/fast-text-encoding": "^1.0.3",
|
|
24
24
|
"@types/fs-extra": "^11.0.4",
|
|
25
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
26
|
-
"@typescript-eslint/parser": "^7.
|
|
25
|
+
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
26
|
+
"@typescript-eslint/parser": "^7.18.0",
|
|
27
27
|
"dotenv": "^16.4.5",
|
|
28
28
|
"eslint": "^8.57.0",
|
|
29
29
|
"eslint-config-alloy": "^5.1.2",
|
|
30
30
|
"eslint-plugin-tsdoc": "^0.3.0",
|
|
31
31
|
"fast-text-encoding": "^1.0.6",
|
|
32
32
|
"fs-extra": "^11.2.0",
|
|
33
|
-
"husky": "^9.1.
|
|
34
|
-
"lint-staged": "^15.2.
|
|
33
|
+
"husky": "^9.1.4",
|
|
34
|
+
"lint-staged": "^15.2.9",
|
|
35
35
|
"prettier": "^3.3.3",
|
|
36
36
|
"ts-node": "^10.9.2",
|
|
37
37
|
"typescript": "^5.5.4"
|