@jlceda/pro-api-types 0.1.128 → 0.1.130

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 +15 -15
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1741,7 +1741,7 @@ declare enum ESYS_NetlistType {
1741
1741
  /** EasyEDA Pro Edition */
1742
1742
  EASYEDA_PRO = "EasyEDA",
1743
1743
  /** Altium Designer */
1744
- ALTIUM_DESIGNER = "AltiumDesigner"
1744
+ ALTIUM_DESIGNER = "Protel2"
1745
1745
  }
1746
1746
 
1747
1747
  /**
@@ -4643,7 +4643,7 @@ declare class IPCB_PrimitivePad implements IPCB_Primitive {
4643
4643
  */
4644
4644
  getState_PrimitiveType(): EPCB_PrimitiveType;
4645
4645
  /**
4646
- * 获取属性状态:图元 ID
4646
+ * 获取属性状态���图元 ID
4647
4647
  *
4648
4648
  * @public
4649
4649
  * @returns 图元 ID
@@ -4786,7 +4786,7 @@ declare class IPCB_PrimitivePad implements IPCB_Primitive {
4786
4786
  */
4787
4787
  setState_Layer(layer: TPCB_LayersOfPad): IPCB_PrimitivePad;
4788
4788
  /**
4789
- * 设置属性��态:焊盘编号
4789
+ * 设置属性状态:焊盘编号
4790
4790
  *
4791
4791
  * @beta
4792
4792
  * @param padNumber - 焊盘编号
@@ -7628,7 +7628,7 @@ declare class ISCH_PrimitivePolygon implements ISCH_Primitive {
7628
7628
  */
7629
7629
  reset(): Promise<ISCH_PrimitivePolygon>;
7630
7630
  /**
7631
- * ��对图元的更改应用到画布
7631
+ * 将对图元的更改应用到画布
7632
7632
  *
7633
7633
  * @beta
7634
7634
  * @returns 多边形图元对象
@@ -8519,7 +8519,7 @@ declare class LIB_Cbb {
8519
8519
  * @beta
8520
8520
  * @param cbbUuid - 复用模块 UUID
8521
8521
  * @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList} 内的接口获取
8522
- * @param splitScreenId - 分屏 ID,不填写则默认在最后输入焦点的分屏内打开,可���使用 {@link DMT_EditorControl} 内的接口获取
8522
+ * @param splitScreenId - 分屏 ID,不填写则默认在最后输入焦点的分屏内打开,可以使用 {@link DMT_EditorControl} 内的接口获取
8523
8523
  * @returns 标签页 ID,对应 {@link IDMT_EditorTabItem.tabId},可使用 {@link DMT_EditorControl.getSplitScreenIdByTabId} 获取到分屏 ID
8524
8524
  */
8525
8525
  openSymbolInEditor(cbbUuid: string, libraryUuid: string, splitScreenId?: string): Promise<string | undefined>;
@@ -10169,7 +10169,7 @@ declare class PCB_ManufactureData {
10169
10169
  * 如若启用,则会存在弹窗等待用户进行交互,且无法使用 `ignoreWarning` 参数忽略警告,
10170
10170
  * 即 `ignoreWarning` 参数将被忽略;
10171
10171
  *
10172
- * 如若禁用,则在调用后不会有任何 EDA 内部弹窗,程序执行静默检查,
10172
+ * 如若禁用,则在调用后不会有任何 EDA 内部弹窗,程序执行���默检查,
10173
10173
  * 如若达成下单条件,将返回 `true` 并在新标签页打开下单页面
10174
10174
  * @param ignoreWarning - 在非交互式检查时忽略警告
10175
10175
  *
@@ -10556,7 +10556,7 @@ declare class PCB_PrimitiveComponent implements IPCB_PrimitiveAPI {
10556
10556
  *
10557
10557
  * @beta
10558
10558
  * @remarks 如若传入多个图元 ID,任意图元 ID 未匹配到不影响其它图元的返回,即可能返回少于传入的图元 ID 数量的图元对象
10559
- * @param primitiveIds - 器件的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
10559
+ * @param primitiveIds - 器件的图元 ID,可以为字符串或字符串数组��如若为数组,则返回的也是数组
10560
10560
  * @returns 器件图元对象,空数组表示获取失败
10561
10561
  */
10562
10562
  get(primitiveIds: Array<string>): Promise<Array<IPCB_PrimitiveComponent>>;
@@ -10965,7 +10965,7 @@ declare class PCB_PrimitiveObject implements IPCB_PrimitiveAPI {
10965
10965
  * @beta
10966
10966
  * @param primitiveId - 图元 ID
10967
10967
  * @param property - 修改参数
10968
- * @returns 二进制内嵌对象图元对象,`undefined` 表示修改失败
10968
+ * @returns 二进制��嵌对象图元对象,`undefined` 表示修改失败
10969
10969
  */
10970
10970
  modify(primitiveId: string | IPCB_PrimitiveObject, property: {
10971
10971
  layer?: TPCB_LayersOfObject;
@@ -12210,7 +12210,7 @@ declare class SCH_PrimitiveComponent implements ISCH_PrimitiveAPI {
12210
12210
  * @param allSchematicPages - 是否获取所有原理图图页的器件
12211
12211
  * @returns 器件的图元 ID 数组
12212
12212
  */
12213
- getAllPrimitiveId(componentType?: string, allSchematicPages?: boolean): Promise<Array<string>>;
12213
+ getAllPrimitiveId(componentType?: ESCH_PrimitiveComponentType, allSchematicPages?: boolean): Promise<Array<string>>;
12214
12214
  /**
12215
12215
  * 获取所有器件
12216
12216
  *
@@ -12219,7 +12219,7 @@ declare class SCH_PrimitiveComponent implements ISCH_PrimitiveAPI {
12219
12219
  * @param allSchematicPages - 是否获取所有原理图图页的器件
12220
12220
  * @returns 器件图元对象数组
12221
12221
  */
12222
- getAll(componentType?: string, allSchematicPages?: boolean): Promise<Array<ISCH_PrimitiveComponent>>;
12222
+ getAll(componentType?: ESCH_PrimitiveComponentType, allSchematicPages?: boolean): Promise<Array<ISCH_PrimitiveComponent>>;
12223
12223
  /**
12224
12224
  * 获取器件关联的所有引脚
12225
12225
  *
@@ -12469,7 +12469,7 @@ declare class SCH_PrimitiveComponent3 implements ISCH_PrimitiveAPI {
12469
12469
  * @param allSchematicPages - 是否获取所有原理图图页的器件
12470
12470
  * @returns 器件的图元 ID 数组
12471
12471
  */
12472
- getAllPrimitiveId(componentType?: string, allSchematicPages?: boolean): Promise<Array<string>>;
12472
+ getAllPrimitiveId(componentType?: ESCH_PrimitiveComponentType_2, allSchematicPages?: boolean): Promise<Array<string>>;
12473
12473
  /**
12474
12474
  * 获取所有器件
12475
12475
  *
@@ -12478,7 +12478,7 @@ declare class SCH_PrimitiveComponent3 implements ISCH_PrimitiveAPI {
12478
12478
  * @param allSchematicPages - 是否获取所有原理图图页的器件
12479
12479
  * @returns 器件图元对象数组
12480
12480
  */
12481
- getAll(componentType?: string, allSchematicPages?: boolean): Promise<Array<ISCH_PrimitiveComponent_2>>;
12481
+ getAll(componentType?: ESCH_PrimitiveComponentType_2, allSchematicPages?: boolean): Promise<Array<ISCH_PrimitiveComponent_2>>;
12482
12482
  /**
12483
12483
  * 获取器件关联的所有引脚
12484
12484
  *
@@ -12644,7 +12644,7 @@ declare class SCH_PrimitivePolygon implements ISCH_PrimitiveAPI {
12644
12644
  *
12645
12645
  * @beta
12646
12646
  * @remarks 如若传入多个图元 ID,任意图元 ID 未匹配到不影响其它图元的返回,即可能返回少于传入的图元 ID 数量的图元对象
12647
- * @param primitiveIds - 多边形的图元 ID,可以为字符串或字符串数组,如若为���组,则返回的也是数组
12647
+ * @param primitiveIds - 多边形的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
12648
12648
  * @returns 多边形图元对象,空数组表示获取失败
12649
12649
  */
12650
12650
  get(primitiveIds: Array<string>): Promise<Array<ISCH_PrimitivePolygon>>;
@@ -12847,7 +12847,7 @@ declare class SCH_PrimitiveWire implements ISCH_PrimitiveAPI {
12847
12847
  *
12848
12848
  * @beta
12849
12849
  * @param line - 多段线坐标组,每段都是连续的一组 `[x1, y1, x2, y2, x3, y3]` 所描述的线,如若多段线彼此无任何连接则创建将会失败
12850
- * @param net - 网络名称,如若未指定,则遵循:
12850
+ * @param net - 网络名称,如若未指定,则���循:
12851
12851
  * 1. 没有坐标落在任何图元上,则默认为空网络;
12852
12852
  * 2. 有一个坐标点在某个网络的图元上,则跟随该图元的网络;
12853
12853
  * 3. 有多个坐标点在多个不同网络的图元上,则创建失败
@@ -13944,7 +13944,7 @@ declare class SYS_ToastMessage {
13944
13944
  * @param messageType - 消息类型
13945
13945
  * @param timer - 自动关闭倒计时秒数,`0` 为不自动关闭
13946
13946
  * @param bottomPanel - 展开底部信息面板
13947
- * @param buttonTitle - ��调按钮标题
13947
+ * @param buttonTitle - 回调按钮标题
13948
13948
  * @param buttonCallbackFn - 回调函数内容,字符串形式,会被自动解析并执行
13949
13949
  */
13950
13950
  showMessage(message: string, messageType?: ESYS_ToastMessageType, timer?: number, bottomPanel?: ESYS_BottomPanelTab, buttonTitle?: string, buttonCallbackFn?: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jlceda/pro-api-types",
3
- "version": "0.1.128",
3
+ "version": "0.1.130",
4
4
  "description": "嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义",
5
5
  "typings": "index.d.ts",
6
6
  "keywords": [