@jlceda/pro-api-types 0.1.152 → 0.1.153

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 +12 -21
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -508,7 +508,7 @@ declare class DMT_Project {
508
508
  *
509
509
  * @beta
510
510
  * @param projectFriendlyName - 工程友好名称
511
- * @param projectName - 工程名称,仅支持字母 `a-zA-Z`、数字 `0-9`、中划线 `-`,如若不指定,则根据工程友好名称自动生成
511
+ * @param projectName - 工程名称,不可重复,仅支持字母 `a-zA-Z`、数字 `0-9`、中划线 `-`,如若不指定,则根据工程友好名称自动生成
512
512
  * @param teamUuid - 团队 UUID,如若不指定,则默认为个人;在不存在个人工程的环境下必须指定团队 UUID
513
513
  * @param folderUuid - 文件夹 UUID,如若不指定,则为根文件夹
514
514
  * @param description - 工程描述
@@ -731,7 +731,7 @@ declare class DMT_Schematic {
731
731
  * 文档树 / 选择控制类
732
732
  *
733
733
  * @public
734
- * @remarks 在文档树内进行选择焦点的查询、控制
734
+ * @remarks 在文档树内进行选择���点的查询、控制
735
735
  */
736
736
  declare class DMT_SelectControl {
737
737
  /**
@@ -2935,16 +2935,7 @@ declare class IPCB_Polygon {
2935
2935
  * @returns 单多边形数据
2936
2936
  */
2937
2937
  getSource(): TPCB_PolygonSourceArray;
2938
- /**
2939
- * 获取单多边形中心点
2940
- *
2941
- * @public
2942
- * @returns 单多边形中心点
2943
- */
2944
- getCenter(): {
2945
- x: number;
2946
- y: number;
2947
- };
2938
+ /* Excluded from this release type: getCenter */
2948
2939
  /* Excluded from this release type: validateSource */
2949
2940
  }
2950
2941
 
@@ -3949,7 +3940,7 @@ declare class IPCB_PrimitiveComponent implements IPCB_Primitive {
3949
3940
  * @remarks
3950
3941
  * 器件焊盘图元是一个特殊的图元,它指的是在 PCB 画布上关联到封装的焊盘
3951
3942
  *
3952
- * 你只能通过 {@link PCB_PrimitiveComponent.getAllPadsByPrimitiveId | 器件类的 getAllPinsByPrimitiveId 方法} 或 {@link IPCB_PrimitiveComponent.getAllPins | 器件图元的 getAllPads 方法} 获取到器件焊盘图元
3943
+ * 你只能通过 {@link PCB_PrimitiveComponent.getAllPinsByPrimitiveId | 器件类的 getAllPinsByPrimitiveId 方法} 或 {@link IPCB_PrimitiveComponent.getAllPins | 器件图元的 getAllPads 方法} 获取到器件焊盘图元
3953
3944
  */
3954
3945
  declare class IPCB_PrimitiveComponentPad extends IPCB_PrimitivePad {
3955
3946
  /** 图元类型 */
@@ -4783,7 +4774,7 @@ declare class IPCB_PrimitiveLine implements IPCB_Primitive {
4783
4774
  *
4784
4775
  * @beta
4785
4776
  * @param includeVias - 是否包含导线两端的过孔
4786
- * @returns 整段导线内的所有直线、圆弧线,以及两端连接的过孔(如果��)
4777
+ * @returns 整段导线内的所有直线、圆弧线,以及两端连接的过孔(如果有)
4787
4778
  */
4788
4779
  getEntireTrack(includeVias: true): Promise<Array<IPCB_PrimitiveLine | IPCB_PrimitiveArc | IPCB_PrimitiveVia>>;
4789
4780
  }
@@ -5370,7 +5361,7 @@ declare class IPCB_PrimitivePad implements IPCB_Primitive {
5370
5361
  */
5371
5362
  setState_PrimitiveLock(primitiveLock: boolean): IPCB_PrimitivePad;
5372
5363
  /**
5373
- * 将图元转换为异步图元
5364
+ * 将图元转换为���步图元
5374
5365
  *
5375
5366
  * @public
5376
5367
  * @returns 焊盘图元对象
@@ -6651,7 +6642,7 @@ declare interface ISCH_Primitive {
6651
6642
  }
6652
6643
 
6653
6644
  /**
6654
- * 原��图图元接口
6645
+ * 原理图图元接口
6655
6646
  *
6656
6647
  * @public
6657
6648
  */
@@ -12377,7 +12368,7 @@ declare class PNL_Document {
12377
12368
  * 原理图 & 符号 / 文档操作类
12378
12369
  *
12379
12370
  * @public
12380
- * @remarks 对设计��档总体进行的操作
12371
+ * @remarks 对设计文档总体进行的操作
12381
12372
  */
12382
12373
  declare class SCH_Document {
12383
12374
  /**
@@ -13927,7 +13918,7 @@ declare class SYS_Dialog {
13927
13918
  * @param value - 输入框默认值
13928
13919
  * @param otherProperty - 其它参数,可参考 {@link https://developer.mozilla.org/docs/Web/HTML/Element/input#attributes | The HTML Input element}
13929
13920
  * @param callbackFn - 回调函数
13930
- * @returns 用户输入的值,始终为 `string` 类型,除非用户点击了 **取消** 按钮
13921
+ * @returns 用户输入的值,始终为 `string` 类型��除非用户点击了 **取消** 按钮
13931
13922
  */
13932
13923
  showInputDialog(beforeContent?: string, afterContent?: string, title?: string, type?: 'color' | 'date' | 'datetime-local' | 'email' | 'mouth' | 'number' | 'password' | 'tel' | 'text' | 'time' | 'url' | 'week', value?: string | number, otherProperty?: {
13933
13924
  max?: number;
@@ -14267,7 +14258,7 @@ declare class SYS_FileSystem {
14267
14258
  *
14268
14259
  * @beta
14269
14260
  * @remarks
14270
- * ���意 1:本接口仅客户端有效,在浏览器环境内调用将始终 `throw Error`
14261
+ * 注意 1:本接口仅客户端有效,在浏览器环境内调用将始终 `throw Error`
14271
14262
  *
14272
14263
  * 注意 2:本接口需要使用者启用扩展的外部交互权限,如若未启用将始终 `throw Error`
14273
14264
  * @param folderPath - 目录路径
@@ -14471,9 +14462,9 @@ declare class SYS_IFrame {
14471
14462
  *
14472
14463
  * 本接口调用后将会打开一个 Dialog 窗口,该 Dialog 窗口的标题为 HTML 文件的 `<title>`,标题栏有关闭按钮;
14473
14464
  *
14474
- * 正文部分为内联框架,{@link width}{@link height} 均为正文部分内联框架的宽高;
14465
+ * 正文部分为内联框架,`width``height` 均为正文部分内联框架的宽高;
14475
14466
  *
14476
- * 内联框架需要展示 {@link htmlFileName} 的内容,该 HTML 从扩展包内获取,并已在安装时被存储至 IndexedDB 中
14467
+ * 内联框架需要展示 `htmlFileName` 的内容,该 HTML 从扩展包内获取,并已在安装时被存储至 IndexedDB 中
14477
14468
  *
14478
14469
  * 注意:本接口仅扩展有效,在独立脚本环境内调用将始终 `throw Error`
14479
14470
  * @param htmlFileName - 需要加载的 HTML 文件在扩展包内的路径
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jlceda/pro-api-types",
3
- "version": "0.1.152",
3
+ "version": "0.1.153",
4
4
  "description": "嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义",
5
5
  "typings": "index.d.ts",
6
6
  "keywords": [