@jlceda/pro-api-types 0.1.73 → 0.1.75

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 +14 -14
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -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 将会获取当前打开且拥有最后输入焦点的原理图图页的详细属性
@@ -1193,7 +1193,7 @@ declare enum EPCB_LayerType {
1193
1193
  SILKSCREEN = 3,
1194
1194
  /** 阻焊层 */
1195
1195
  SOLDER_MASK = 4,
1196
- /** ���膏(助焊)层 */
1196
+ /** 锡膏(助焊)层 */
1197
1197
  PASTE_MASK = 5,
1198
1198
  /** 装配层 */
1199
1199
  ASSEMBLY = 6,
@@ -2554,7 +2554,7 @@ declare class IPCB_PrimitiveDimension implements IPCB_Primitive {
2554
2554
  * @returns
2555
2555
  */
2556
2556
  getState_PrimitiveId(): string;
2557
- /** @alpha 所有的 setState_* 方法都需要对数据进行基本的格式校验 */
2557
+ /** @alpha 所有的 setState_* 方法都需要对��据进行基本的格式校验 */
2558
2558
  /**
2559
2559
  * 设置属性状态:尺寸标注类型
2560
2560
  *
@@ -2997,7 +2997,7 @@ declare class IPCB_PrimitivePad implements IPCB_Primitive {
2997
2997
  * @remarks
2998
2998
  * 设置焊盘外形时将会联动设置部分其它属性状态:
2999
2999
  *
3000
- * 1. 特殊焊盘外形属性将被清空
3000
+ * 1. 特殊焊盘外形属性将被清���
3001
3001
  *
3002
3002
  * @param pad - 焊盘外形
3003
3003
  * @returns 焊盘图元对象
@@ -4325,7 +4325,7 @@ declare class LIB_Cbb {
4325
4325
  */
4326
4326
  get(cbbUuid: string, libraryUuid?: string): Promise<ILIB_CbbItem | undefined>;
4327
4327
  /**
4328
- * 复制���用模块
4328
+ * 复制复用模块
4329
4329
  *
4330
4330
  * @beta
4331
4331
  * @param cbbUuid - 复用模块 UUID
@@ -4989,7 +4989,7 @@ declare class PCB_Document {
4989
4989
  * 嘉立创 EDA 专业版 API 使用的均为数据原点;
4990
4990
  *
4991
4991
  * 如果希望在 API 操作时前端画布坐标能与数据一致,
4992
- * 建议调用本方法并设置偏移量为零,
4992
+ * 建议调用本方法并设置偏移量���零,
4993
4993
  * 即 `setCanvasOrigin(0, 0)`;
4994
4994
  *
4995
4995
  * 此处的单位为数据层面单位,在跨度上等同于画布层面的 mil
@@ -5579,7 +5579,7 @@ declare class PCB_ManufactureData {
5579
5579
  *
5580
5580
  * @beta
5581
5581
  * @remarks
5582
- * 请注意:只有以 STEP 格式���入的元件模型,才能在导出的 STEP 文件中体现
5582
+ * 请注意:只有以 STEP 格式导入的元件模型,才能在导出的 STEP 文件中体现
5583
5583
  *
5584
5584
  * 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
5585
5585
  * @param fileName - 文件名
@@ -7142,7 +7142,7 @@ declare class SCH_PrimitiveComponent implements ISCH_PrimitiveAPI {
7142
7142
  * @param primitiveId - 图元 ID
7143
7143
  * @param x - 坐标 X
7144
7144
  * @param y - 坐标 Y
7145
- * @param rotation - 旋转角度,可选 `0` `90` `180` `270`
7145
+ * @param rotation - 旋转角度,可��� `0` `90` `180` `270`
7146
7146
  * @param mirror - 是否镜像
7147
7147
  * @param libraryPath - 库路径,默认为系统库
7148
7148
  * @param addIntoBom - 是否加入 BOM
@@ -7181,7 +7181,7 @@ declare class SCH_PrimitiveComponent implements ISCH_PrimitiveAPI {
7181
7181
  * @param componentType - 器件类型
7182
7182
  * @returns 器件的图元 ID 数组
7183
7183
  */
7184
- getAllPrimitiveId(componentType?: string): Promise<Array<string>>;
7184
+ getAllPrimitiveId(componentType?: string, allSchematicPages?: boolean): Promise<Array<string>>;
7185
7185
  /**
7186
7186
  * 获取所有器件
7187
7187
  *
@@ -7189,7 +7189,7 @@ declare class SCH_PrimitiveComponent implements ISCH_PrimitiveAPI {
7189
7189
  * @param componentType - 器件类型
7190
7190
  * @returns 器件图元对象数组
7191
7191
  */
7192
- getAll(componentType?: string): Promise<Array<ISCH_PrimitiveComponent>>;
7192
+ getAll(componentType?: string, allSchematicPages?: boolean): Promise<Array<ISCH_PrimitiveComponent>>;
7193
7193
  /**
7194
7194
  * 到 pro-ui 获取器件的详细信息
7195
7195
  *
@@ -7243,7 +7243,7 @@ declare class SCH_PrimitivePin implements ISCH_PrimitiveAPI {
7243
7243
  * 修改引脚
7244
7244
  *
7245
7245
  * @beta
7246
- * @param primitiveId - 图�� ID
7246
+ * @param primitiveId - 图元 ID
7247
7247
  * @param x - 坐标 X
7248
7248
  * @param y - 坐标 Y
7249
7249
  * @param pinNumber - 引脚编号
@@ -7326,7 +7326,7 @@ declare class SCH_PrimitivePolygon implements ISCH_PrimitiveAPI {
7326
7326
  * 获取多边形
7327
7327
  *
7328
7328
  * @beta
7329
- * @param primitiveIds - 多边形的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
7329
+ * @param primitiveIds - 多边形的图元 ID,可以为字符串或��符串数组,如若为数组,则返回的也是数组
7330
7330
  * @returns 多边形图元对象
7331
7331
  */
7332
7332
  get(primitiveIds: string): Promise<ISCH_PrimitivePolygon | undefined>;
@@ -7514,7 +7514,7 @@ declare class SCH_PrimitiveWire implements ISCH_PrimitiveAPI {
7514
7514
  * 3. 有多个坐标点在多个不同网络的图元上,则创建失败
7515
7515
  *
7516
7516
  * 如若已指定,则遵循:
7517
- * 1. 有一个或多个坐标点在其他网络的图元上,且其他图元并未显式(通常指的是包含网络标签或网络端口)指定网络,则其他图元跟随指定的网络;
7517
+ * 1. 有一个或多个坐���点在其他网络的图元上,且其他图元并未显式(通常指的是包含网络标签或网络端口)指定网络,则其他图元跟随指定的网络;
7518
7518
  * 2. 如若其他图元指定了网络,则创建失败
7519
7519
  * @param color - 导线颜色,`null` 表示默认
7520
7520
  * @param lineWidth - 线宽,范围 `1-10`,`null` 表示默认
@@ -8447,7 +8447,7 @@ declare type TPCB_LayerTypesOfInnerLayer = EPCB_LayerType.SIGNAL | EPCB_LayerTyp
8447
8447
  *
8448
8448
  * 单多边形的数据由以下几种模式组合而成:
8449
8449
  *
8450
- * ① L ���线模式
8450
+ * ① L 直线模式
8451
8451
  *
8452
8452
  * `x1 y1 L x2 y3 x3 y3 ...`
8453
8453
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jlceda/pro-api-types",
3
- "version": "0.1.73",
3
+ "version": "0.1.75",
4
4
  "description": "嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义",
5
5
  "typings": "index.d.ts",
6
6
  "keywords": [