@jlceda/pro-api-types 0.1.97 → 0.1.99
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/index.d.ts +23 -26
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -416,7 +416,7 @@ declare class DMT_Project {
|
|
|
416
416
|
* @param teamUuid - 团队 UUID,如若不指定,则默认为个人;在不存在个人工程的环境下必须指定团队 UUID
|
|
417
417
|
* @param folderUuid - 文件夹 UUID,如若不指定,则为根文件夹
|
|
418
418
|
* @param description - 工程描述
|
|
419
|
-
* @param collaborationMode -
|
|
419
|
+
* @param collaborationMode - 工程协作模式,如若团队权限无需工程设置协作模式,则��参数将被忽略
|
|
420
420
|
* @returns 工程 UUID,如若为 `undefined` 则创建失败
|
|
421
421
|
*/
|
|
422
422
|
createProject(projectFriendlyName: string, projectName?: string, teamUuid?: string, folderUuid?: string, description?: string, collaborationMode?: EDMT_ProjectCollaborationMode): Promise<string | undefined>;
|
|
@@ -595,7 +595,7 @@ declare class DMT_Schematic {
|
|
|
595
595
|
*/
|
|
596
596
|
getCurrentSchematicInfo(): Promise<IDMT_SchematicItem | undefined>;
|
|
597
597
|
/**
|
|
598
|
-
*
|
|
598
|
+
* 获取当前原��图图页的详细属性
|
|
599
599
|
*
|
|
600
600
|
* @beta
|
|
601
601
|
* @remarks 将会获取当前打开且拥有最后输入焦点的原理图图页的详细属性
|
|
@@ -797,7 +797,6 @@ declare class EDA {
|
|
|
797
797
|
/* Excluded from this release type: extensionUuid */
|
|
798
798
|
/* Excluded from this release type: allowExternalInteractions */
|
|
799
799
|
/* Excluded from this release type: __constructor */
|
|
800
|
-
/* Excluded from this release type: reassignInstantiatedObjectsBeforeAllowExternalInteractionsChange */
|
|
801
800
|
}
|
|
802
801
|
|
|
803
802
|
/**
|
|
@@ -2602,7 +2601,7 @@ declare class IPCB_PrimitiveArc implements IPCB_Primitive {
|
|
|
2602
2601
|
*/
|
|
2603
2602
|
setState_Net(net: string): IPCB_PrimitiveArc;
|
|
2604
2603
|
/**
|
|
2605
|
-
*
|
|
2604
|
+
* 设置属性状态:层
|
|
2606
2605
|
*
|
|
2607
2606
|
* @beta
|
|
2608
2607
|
* @param layer - 层
|
|
@@ -4175,7 +4174,7 @@ declare class IPCB_PrimitivePour implements IPCB_Primitive {
|
|
|
4175
4174
|
private layer;
|
|
4176
4175
|
/** 复杂多边形 */
|
|
4177
4176
|
private complexPolygon;
|
|
4178
|
-
/**
|
|
4177
|
+
/** 覆���填充方法 */
|
|
4179
4178
|
private pourFillMethod;
|
|
4180
4179
|
/** 是否保留孤岛 */
|
|
4181
4180
|
private preserveSilos;
|
|
@@ -5951,7 +5950,7 @@ declare class LIB_3DModel {
|
|
|
5951
5950
|
*
|
|
5952
5951
|
* @beta
|
|
5953
5952
|
* @param modelUuid - 3D 模型 UUID
|
|
5954
|
-
* @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList}
|
|
5953
|
+
* @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList} 内的接��获取
|
|
5955
5954
|
* @returns 操作是否成功
|
|
5956
5955
|
*/
|
|
5957
5956
|
delete(modelUuid: string, libraryUuid: string): Promise<boolean>;
|
|
@@ -7065,7 +7064,7 @@ declare class PCB_Drc {
|
|
|
7065
7064
|
* 从等长网络组中移除网络
|
|
7066
7065
|
*
|
|
7067
7066
|
* @beta
|
|
7068
|
-
* @param equalLengthNetGroupName -
|
|
7067
|
+
* @param equalLengthNetGroupName - 等长网络组名称
|
|
7069
7068
|
* @param net - 网络名称
|
|
7070
7069
|
* @returns 操作是否成功
|
|
7071
7070
|
*/
|
|
@@ -7306,7 +7305,7 @@ declare class PCB_ManufactureData {
|
|
|
7306
7305
|
* 获取 PCB 制版文件(Gerber)
|
|
7307
7306
|
*
|
|
7308
7307
|
* @beta
|
|
7309
|
-
* @remarks 可以使用 {@link SYS_FileSystem.saveFile}
|
|
7308
|
+
* @remarks 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
|
|
7310
7309
|
* @param fileName - 文件名
|
|
7311
7310
|
* @param colorSilkscreen - 是否生成彩色丝印制造文件(嘉立创专用文件)
|
|
7312
7311
|
* @param unit - 单位
|
|
@@ -7469,7 +7468,7 @@ declare class PCB_ManufactureData {
|
|
|
7469
7468
|
* @beta
|
|
7470
7469
|
* @remarks 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
|
|
7471
7470
|
* @deprecated 新版自动布局 JSON 文件正在开发中,之后将会取代本接口
|
|
7472
|
-
* @param fileName -
|
|
7471
|
+
* @param fileName - 文件名
|
|
7473
7472
|
* @returns 旧版自动布局 JSON 文件数据
|
|
7474
7473
|
*/
|
|
7475
7474
|
getOldAutoLayoutJsonFile(fileName?: string): Promise<File | undefined>;
|
|
@@ -7798,7 +7797,7 @@ declare class PCB_PrimitiveComponent implements IPCB_PrimitiveAPI {
|
|
|
7798
7797
|
* @beta
|
|
7799
7798
|
* @param layer - 层
|
|
7800
7799
|
* @param primitiveLock - 是否锁定
|
|
7801
|
-
* @returns
|
|
7800
|
+
* @returns 器件��图元 ID 数组
|
|
7802
7801
|
*/
|
|
7803
7802
|
getAllPrimitiveId(layer?: TPCB_LayersOfComponent, primitiveLock?: boolean): Promise<Array<string>>;
|
|
7804
7803
|
/**
|
|
@@ -8424,7 +8423,7 @@ declare class PCB_SelectControl {
|
|
|
8424
8423
|
*/
|
|
8425
8424
|
doCrossProbeSelect(components?: Array<string>, pins?: Array<string>, nets?: Array<string>, highlight?: boolean, select?: boolean): Promise<boolean>;
|
|
8426
8425
|
/**
|
|
8427
|
-
*
|
|
8426
|
+
* 清除��中
|
|
8428
8427
|
*
|
|
8429
8428
|
* @beta
|
|
8430
8429
|
* @returns 操作是否成功
|
|
@@ -8740,7 +8739,7 @@ declare class SCH_PrimitiveBus implements ISCH_PrimitiveAPI {
|
|
|
8740
8739
|
* 删除总线
|
|
8741
8740
|
*
|
|
8742
8741
|
* @beta
|
|
8743
|
-
* @param primitiveIds -
|
|
8742
|
+
* @param primitiveIds - 总线的图�� ID 或总线图元对象
|
|
8744
8743
|
* @returns 删除操作是否成功
|
|
8745
8744
|
*/
|
|
8746
8745
|
delete(primitiveIds: string | ISCH_PrimitiveBus | Array<string> | Array<ISCH_PrimitiveBus>): boolean;
|
|
@@ -9023,7 +9022,7 @@ declare class SCH_PrimitiveComponent implements ISCH_PrimitiveAPI {
|
|
|
9023
9022
|
* @param name - 名称,`null` 表示留空
|
|
9024
9023
|
* @param uniqueId - 唯一 ID,`null` 表示留空
|
|
9025
9024
|
* @param manufacturer - 制造商,`null` 表示留空
|
|
9026
|
-
* @param manufacturerId - 制造商编号,`null`
|
|
9025
|
+
* @param manufacturerId - 制造商编号,`null` 表示���空
|
|
9027
9026
|
* @param supplier - 供应商,`null` 表示留空
|
|
9028
9027
|
* @param supplierId - 供应商编号,`null` 表示留空
|
|
9029
9028
|
* @returns 器件图元对象
|
|
@@ -9124,7 +9123,7 @@ declare class SCH_PrimitivePin implements ISCH_PrimitiveAPI {
|
|
|
9124
9123
|
* @param y - 坐标 Y
|
|
9125
9124
|
* @param pinNumber - 引脚编号
|
|
9126
9125
|
* @param pinName - 引脚名称
|
|
9127
|
-
* @param rotation -
|
|
9126
|
+
* @param rotation - 旋转角度,可�� `0` `90` `180` `270`
|
|
9128
9127
|
* @param pinLength - 引脚长度
|
|
9129
9128
|
* @param pinColor - 引脚颜色,`null` 表示默认
|
|
9130
9129
|
* @param activeLow - 是否低电平有效
|
|
@@ -9309,7 +9308,7 @@ declare class SCH_PrimitiveText implements ISCH_PrimitiveAPI {
|
|
|
9309
9308
|
* @beta
|
|
9310
9309
|
* @param x - 坐标 X
|
|
9311
9310
|
* @param y - 坐标 Y
|
|
9312
|
-
* @param content -
|
|
9311
|
+
* @param content - 文���内容
|
|
9313
9312
|
* @param rotation - 旋转角度,可选 `0` `90` `180` `270`
|
|
9314
9313
|
* @param textColor - 文本颜色,`null` 表示默认
|
|
9315
9314
|
* @param fontName - 字体名称,`null` 表示默认
|
|
@@ -9391,7 +9390,7 @@ declare class SCH_PrimitiveWire implements ISCH_PrimitiveAPI {
|
|
|
9391
9390
|
*
|
|
9392
9391
|
* 如若已指定,则遵循:
|
|
9393
9392
|
* 1. 有一个或多个坐标点在其他网络的图元上,且其他图元并未显式(通常指的是包含网络标签或网络端口)指定网络,则其他图元跟随指定的网络;
|
|
9394
|
-
* 2.
|
|
9393
|
+
* 2. 如若其他图元指定了网络,则创建失���
|
|
9395
9394
|
* @param color - 导线颜色,`null` 表示默认
|
|
9396
9395
|
* @param lineWidth - 线宽,范围 `1-10`,`null` 表示默认
|
|
9397
9396
|
* @param lineType - 线型,`0` 实线,`1` 短划线,`2` 点线,`3` 点划线,`null` 表示默认
|
|
@@ -9517,8 +9516,8 @@ declare class SCH_Utils {
|
|
|
9517
9516
|
* @remarks 向外部服务器发起安全的 cURL 请求
|
|
9518
9517
|
*/
|
|
9519
9518
|
declare class SYS_ClientUrl {
|
|
9520
|
-
/**
|
|
9521
|
-
private
|
|
9519
|
+
/** 扩展 UUID */
|
|
9520
|
+
private extensionUuid?;
|
|
9522
9521
|
/* Excluded from this release type: __constructor */
|
|
9523
9522
|
/**
|
|
9524
9523
|
* 发起即时请求
|
|
@@ -9583,7 +9582,7 @@ declare class SYS_Dialog {
|
|
|
9583
9582
|
* 系统 / 运行环境类
|
|
9584
9583
|
*
|
|
9585
9584
|
* @public
|
|
9586
|
-
* @remarks 获取嘉立创 EDA
|
|
9585
|
+
* @remarks 获取嘉立创 EDA 专业版运行环境参数
|
|
9587
9586
|
*/
|
|
9588
9587
|
declare class SYS_Environment {
|
|
9589
9588
|
/**
|
|
@@ -9707,7 +9706,7 @@ declare class SYS_FileManager {
|
|
|
9707
9706
|
*/
|
|
9708
9707
|
getProjectFileByProjectUuid(projectUuid: string, fileName?: string, password?: string): Promise<File | undefined>;
|
|
9709
9708
|
/**
|
|
9710
|
-
* 使用器件 UUID
|
|
9709
|
+
* 使用器件 UUID 获取���件文件
|
|
9711
9710
|
*
|
|
9712
9711
|
* @public
|
|
9713
9712
|
* @remarks 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
|
|
@@ -9748,8 +9747,8 @@ declare class SYS_FileManager {
|
|
|
9748
9747
|
* @public
|
|
9749
9748
|
*/
|
|
9750
9749
|
declare class SYS_FileSystem {
|
|
9751
|
-
/**
|
|
9752
|
-
private
|
|
9750
|
+
/** 扩展 UUID */
|
|
9751
|
+
private extensionUuid?;
|
|
9753
9752
|
/* Excluded from this release type: __constructor */
|
|
9754
9753
|
/**
|
|
9755
9754
|
* 打开读入文件窗口
|
|
@@ -10032,7 +10031,7 @@ declare class SYS_MessageBox {
|
|
|
10032
10031
|
*
|
|
10033
10032
|
* @public
|
|
10034
10033
|
* @deprecated 请使用 {@link SYS_Dialog.showConfirmationMessage} 替代
|
|
10035
|
-
* @remarks
|
|
10034
|
+
* @remarks 显示一个拥有确认和取消按钮的���认框
|
|
10036
10035
|
* @param content - 消息文本,支持使用 `\n` 换行
|
|
10037
10036
|
* @param title - 确认框标题
|
|
10038
10037
|
* @param mainButtonTitle - 主要按钮标题
|
|
@@ -10402,8 +10401,6 @@ declare class SYS_Unit {
|
|
|
10402
10401
|
declare class SYS_WebSocket {
|
|
10403
10402
|
/** 扩展 UUID */
|
|
10404
10403
|
private extensionUuid?;
|
|
10405
|
-
/** 是否允许外部交互 */
|
|
10406
|
-
private allowExternalInteractions?;
|
|
10407
10404
|
/* Excluded from this release type: __constructor */
|
|
10408
10405
|
/**
|
|
10409
10406
|
* 注册 WebSocket 连接
|
|
@@ -10571,7 +10568,7 @@ declare type TPCB_LayersOfRegion = TPCB_LayersOfCopper | EPCB_LayerId.MULTI;
|
|
|
10571
10568
|
declare type TPCB_LayerTypesOfInnerLayer = EPCB_LayerType.SIGNAL | EPCB_LayerType.INTERNAL_ELECTRICAL;
|
|
10572
10569
|
|
|
10573
10570
|
/**
|
|
10574
|
-
*
|
|
10571
|
+
* ��多边形源数组
|
|
10575
10572
|
*
|
|
10576
10573
|
* @public
|
|
10577
10574
|
* @remarks
|