@jlceda/pro-api-types 0.1.131 → 0.1.133

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 +35 -12
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -86,7 +86,7 @@ declare class DMT_EditorControl {
86
86
  *
87
87
  * @beta
88
88
  * @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList} 内的接口获取
89
- * @param libraryType - ��类型,支持符号和封装
89
+ * @param libraryType - ���类型,支持符号和封装
90
90
  * @param uuid - 符号、封装 UUID
91
91
  * @param splitScreenId - 分屏 ID,即 {@link DMT_EditorControl.getSplitScreenTree} 方法获取到的 {@link IDMT_EditorSplitScreenItem.id}
92
92
  * @returns 标签页 ID,如若为 `undefined`,则打开文档失败
@@ -248,8 +248,31 @@ declare class DMT_EditorControl {
248
248
  top: number;
249
249
  bottom: number;
250
250
  } | false>;
251
- /* Excluded from this release type: generateIndicatorMarkers */
252
- /* Excluded from this release type: removeIndicatorMarkers */
251
+ /**
252
+ * 生成指示标记
253
+ *
254
+ * @beta
255
+ * @remarks 指示标记外形数据中,原理图、符号画布坐标单位跨度为 0.01inch,PCB、封装画布坐标单位跨度为 mil
256
+ * @param markers - 指示标记外形对象数组
257
+ * @param color - 指示标记颜色
258
+ * @param tabId - 标签页 ID,如若未传入,则为最后输入焦点的画布
259
+ * @returns 指示标记生成是否成功,`false` 表示画布不支持该操作或 `tabId` 不存在
260
+ */
261
+ generateIndicatorMarkers(markers: Array<IDMT_IndicatorMarkerShape>, color?: {
262
+ r: number;
263
+ g: number;
264
+ b: number;
265
+ alpha: number;
266
+ }, tabId?: string): Promise<boolean>;
267
+ /**
268
+ * 移除指示标记
269
+ *
270
+ * @beta
271
+ * @remarks 本接口会移除所有已生成的指示标记
272
+ * @param tabId - 标签页 ID,如若未传入,则为最后输入焦点的画布
273
+ * @returns 指示标记移除是否成功,`false` 表示画布不支持该操作或 `tabId` 不存在
274
+ */
275
+ removeIndicatorMarkers(tabId?: string): Promise<boolean>;
253
276
  }
254
277
 
255
278
  /**
@@ -456,7 +479,7 @@ declare class DMT_Pcb {
456
479
  * 删除 PCB
457
480
  *
458
481
  * @public
459
- * @remarks 如若 PCB 已关联复用模块(在工程库内存在同名的复用模块符号),则删除 PCB 时将同步删除关联的原理图和复用模块符号,复用模块符号不可删除则跳过
482
+ * @remarks 如若 PCB 已关联复用模块(在工程库内存在同名的复用模块符号),则删除 PCB 时将同步删除关联的原���图和复用模块符号,复用模块符号不可删除则跳过
460
483
  * @param pcbUuid - PCB UUID
461
484
  * @returns 操作是否成功
462
485
  */
@@ -1839,7 +1862,7 @@ declare enum ESYS_ShortcutKeyEffectiveEditorScene {
1839
1862
  EDITOR = 1,
1840
1863
  /** 画布选中 */
1841
1864
  SELECT_CANVAS = 2,
1842
- /** 画布未���中 */
1865
+ /** 画布未选中 */
1843
1866
  NOT_SELECT_CANVAS = 3,
1844
1867
  /** 画布绘制 */
1845
1868
  DRAW = 4,
@@ -5653,7 +5676,7 @@ declare class IPCB_PrimitiveRegion implements IPCB_Primitive {
5653
5676
  * 查询图元是否为异步图元
5654
5677
  *
5655
5678
  * @public
5656
- * @returns 是否为异步图元
5679
+ * @returns 是否为异���图元
5657
5680
  */
5658
5681
  isAsync(): boolean;
5659
5682
  /**
@@ -7456,7 +7479,7 @@ declare class ISCH_PrimitivePin implements ISCH_Primitive {
7456
7479
  * 获取属性状态:引脚类型
7457
7480
  *
7458
7481
  * @public
7459
- * @returns 引���类型
7482
+ * @returns 引脚类型
7460
7483
  */
7461
7484
  getState_pinType(): ESCH_PrimitivePinType;
7462
7485
  /**
@@ -8242,7 +8265,7 @@ declare class ISCH_PrimitiveText implements ISCH_Primitive {
8242
8265
  }
8243
8266
 
8244
8267
  /**
8245
- * 导线图元
8268
+ * 导���图元
8246
8269
  *
8247
8270
  * @public
8248
8271
  */
@@ -11064,7 +11087,7 @@ declare class PCB_PrimitiveObject implements IPCB_PrimitiveAPI {
11064
11087
  * 修改二进制内嵌对象
11065
11088
  *
11066
11089
  * @beta
11067
- * @param primitiveId - 图元 ID
11090
+ * @param primitiveId - 图�� ID
11068
11091
  * @param property - 修改参数
11069
11092
  * @returns 二进制内嵌对象图元对象,`undefined` 表示修改失败
11070
11093
  */
@@ -11741,7 +11764,7 @@ declare class SCH_Event {
11741
11764
  * 原理图 & 符号 / 生产资料类
11742
11765
  *
11743
11766
  * @public
11744
- * @remarks 获取当前原理图���页的生产资料文件及快捷下单
11767
+ * @remarks 获取当前原理图图页的生产资料文件及快捷下单
11745
11768
  */
11746
11769
  declare class SCH_ManufactureData {
11747
11770
  /**
@@ -11888,7 +11911,7 @@ declare class SCH_PrimitiveArc implements ISCH_PrimitiveAPI {
11888
11911
  * @param fillColor - 填充颜色,`none` 表示无填充,`null` 表示默认
11889
11912
  * @param lineWidth - 线宽,范围 `1-10`,`null` 表示默认
11890
11913
  * @param lineType - 线型,`null` 表示默认
11891
- * @returns 圆弧图元对象
11914
+ * @returns 圆弧图元对��
11892
11915
  */
11893
11916
  create(startX: number, startY: number, referenceX: number, referenceY: number, endX: number, endY: number, color?: string | null, fillColor?: string | null, lineWidth?: number | null, lineType?: ESCH_PrimitiveLineType | null): Promise<ISCH_PrimitiveArc | undefined>;
11894
11917
  /**
@@ -13305,7 +13328,7 @@ declare class SYS_FileManager {
13305
13328
  * 注意:本接口需要启用 **工程设计图 \> 文件导出** 权限,没有权限调用将始终 `throw Error`
13306
13329
  * @param fileName - 文件名
13307
13330
  * @param password - 加密密码
13308
- * @returns 文档文件数据,`undefined` 表示当前未打开文档或数据��取失败
13331
+ * @returns 文档文件数据,`undefined` 表示当前未打开文档或数据获取失败
13309
13332
  */
13310
13333
  getDocumentFile(fileName?: string, password?: string): Promise<File | undefined>;
13311
13334
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jlceda/pro-api-types",
3
- "version": "0.1.131",
3
+ "version": "0.1.133",
4
4
  "description": "嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义",
5
5
  "typings": "index.d.ts",
6
6
  "keywords": [