@jlceda/pro-api-types 0.2.62 → 0.2.63

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
@@ -502,7 +502,7 @@ declare global {
502
502
  * @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList} 内的接口获取
503
503
  * @param targetLibraryUuid - 目标库 UUID
504
504
  * @param targetClassification - 目标库内的分类
505
- * @param newSymbolName - 新符号名称,如若目标库内存在重名符号将导致复制失败
505
+ * @param newSymbolName - 新符号名称,如若目标库内存在���名符号将导致复制失败
506
506
  * @returns 目标库内新符号的 UUID
507
507
  */
508
508
  copy(symbolUuid: string, libraryUuid: string, targetLibraryUuid: string, targetClassification?: ILIB_ClassificationIndex | Array<string>, newSymbolName?: string): Promise<string | undefined>;
@@ -975,7 +975,7 @@ declare global {
975
975
  * 文档树 / 编辑器控制类
976
976
  *
977
977
  * @public
978
- * @remarks 此处编辑器控制基于当前已打开的工程设计下���图页,其它任何 `documentUuid` 都将被认为是不存在的文档页
978
+ * @remarks 此处编辑器控制���于当前已打开的工程设计下的图页,其它任何 `documentUuid` 都将被认为是不存在的文档页
979
979
  */
980
980
  class DMT_EditorControl {
981
981
  /**
@@ -1381,7 +1381,7 @@ declare global {
1381
1381
  */
1382
1382
  createPanel(): Promise<string | undefined>;
1383
1383
  /**
1384
- * 修改面���名称
1384
+ * 修改面板名称
1385
1385
  *
1386
1386
  * @public
1387
1387
  * @param panelUuid - 面板 UUID
@@ -3905,7 +3905,7 @@ declare global {
3905
3905
  */
3906
3906
  createPolygon(polygon: TPCB_PolygonSourceArray): IPCB_Polygon | undefined;
3907
3907
  /**
3908
- * 创建复杂多��形
3908
+ * 创建复杂多边形
3909
3909
  *
3910
3910
  * @public
3911
3911
  * @param complexPolygon - 复杂多边形数据
@@ -4866,7 +4866,7 @@ declare global {
4866
4866
  * 覆写区域规则
4867
4867
  *
4868
4868
  * @beta
4869
- * @remarks 将会覆写当前 PCB 的所有区域规则,请注意数据丢失风险
4869
+ * @remarks 将会覆写当前 PCB 的所有区域规则,请注意数据丢��风险
4870
4870
  * @param regionRules - 区域规则
4871
4871
  * @returns 覆写是否成功
4872
4872
  */
@@ -7046,7 +7046,7 @@ declare global {
7046
7046
  */
7047
7047
  setState_Layer(layer: TPCB_LayersOfLine): IPCB_PrimitiveLine;
7048
7048
  /**
7049
- * 设置属性状态:起始位置 X
7049
+ * 设置属性状��:起始位置 X
7050
7050
  *
7051
7051
  * @beta
7052
7052
  * @param startX - 起始位置 X
@@ -7616,7 +7616,7 @@ declare global {
7616
7616
  * 获取文本
7617
7617
  *
7618
7618
  * @alpha
7619
- * @remarks 如若传入多个图元 ID,任意图元 ID 未匹配到不影响其它图元的返回,���可能返回少于传入的图元 ID 数量的图元对象
7619
+ * @remarks 如若传入多个图元 ID,任意图元 ID 未匹���到不影响其它图元的返回,即可能返回少于传入的图元 ID 数量的图元对象
7620
7620
  * @param primitiveIds - 文本的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
7621
7621
  * @returns 文本图元对象,空数组表示获取失败
7622
7622
  */
@@ -8248,7 +8248,7 @@ declare global {
8248
8248
  */
8249
8249
  setState_Value(value: string): IPCB_PrimitiveAttribute;
8250
8250
  /**
8251
- * 设置属性状态:Key 是否可见
8251
+ * 设置属性状��:Key 是否可见
8252
8252
  *
8253
8253
  * @beta
8254
8254
  * @param keyVisible - Key 是否可见
@@ -8799,7 +8799,7 @@ declare global {
8799
8799
  *
8800
8800
  * @beta
8801
8801
  * @param lineWidth - 线宽
8802
- * @returns 区域图元对象
8802
+ * @returns ��域图元对象
8803
8803
  */
8804
8804
  setState_LineWidth(lineWidth: number): IPCB_PrimitiveRegion;
8805
8805
  /**
@@ -10463,7 +10463,7 @@ declare global {
10463
10463
  */
10464
10464
  setState_PadNumber(): IPCB_PrimitiveComponentPad;
10465
10465
  /**
10466
- * ���异步图元重置为当前画布状态
10466
+ * 将异步图元重置为当前画布状态
10467
10467
  *
10468
10468
  * @internal
10469
10469
  * @remarks 本器件焊盘图元属性不支持修改,本接口调用将不会有任何效果
@@ -14292,7 +14292,7 @@ declare global {
14292
14292
  */
14293
14293
  toAsync(): ISCH_PrimitiveBus;
14294
14294
  /**
14295
- * ���图元转换为同步图元
14295
+ * 将图元转换为同步图元
14296
14296
  *
14297
14297
  * @public
14298
14298
  * @returns 总线图元对象
@@ -16384,7 +16384,7 @@ declare global {
16384
16384
  * 获取属性状态:是否转到 PCB
16385
16385
  *
16386
16386
  * @public
16387
- * @returns ��否转到 PCB
16387
+ * @returns 是否转到 PCB
16388
16388
  */
16389
16389
  getState_AddIntoPcb(): boolean | undefined;
16390
16390
  /**
@@ -17554,7 +17554,7 @@ declare global {
17554
17554
  */
17555
17555
  setState_LineType(lineType: ESCH_PrimitiveLineType | null): ISCH_PrimitiveRectangle;
17556
17556
  /**
17557
- * 设置属���状态:填充样式
17557
+ * 设置属性状态:填充样式
17558
17558
  *
17559
17559
  * @beta
17560
17560
  * @param fillStyle - 填充样式
@@ -21048,7 +21048,7 @@ declare global {
21048
21048
  *
21049
21049
  * @public
21050
21050
  * @remarks 注意:本接口需要使用者启用扩展的外部交互权限,如若未启用将始终 `throw Error`
21051
- * @param id - 自��义的 WebSocket ID
21051
+ * @param id - 自定义的 WebSocket ID
21052
21052
  * @param code - 数字状态码,对应 {@link https://developer.mozilla.org/docs/Web/API/CloseEvent/code | WebSocket.CloseEvent} 内允许的状态码
21053
21053
  * @param reason - 一个人类可读的字符串,解释连接关闭的原因
21054
21054
  * @param extensionUuid - 扩展 UUID,一般不需要指定,仅当需要操作其它扩展建立的 WebSocket 连接时才需要指定为其它扩展的 UUID
package/package.json CHANGED
@@ -1 +1 @@
1
- { "name": "@jlceda/pro-api-types", "type": "module", "version": "0.2.62", "description": "嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义", "typings": "index.d.ts", "author": "JLCEDA <support@lceda.cn>", "license": "Apache-2.0", "homepage": "https://pro.lceda.cn/", "keywords": ["jlceda", "pro-api"], "scripts": { "lint": "eslint", "fix": "eslint --fix", "build": "ts-node ./build/build.ts" }, "devDependencies": { "@antfu/eslint-config": "^5.4.1", "@types/fast-text-encoding": "^1.0.3", "@types/fs-extra": "^11.0.4", "dotenv": "^16.4.7", "eslint": "^9.37.0", "fast-text-encoding": "^1.0.6", "fs-extra": "^11.3.0", "lint-staged": "^16.2.3", "simple-git-hooks": "^2.13.1", "ts-node": "^10.9.2", "typescript": "^5.7.3" }, "simple-git-hooks": { "pre-commit": "npx lint-staged" }, "lint-staged": { "*": "eslint --fix" } }
1
+ { "name": "@jlceda/pro-api-types", "type": "module", "version": "0.2.63", "description": "嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义", "typings": "index.d.ts", "author": "JLCEDA <support@lceda.cn>", "license": "Apache-2.0", "homepage": "https://pro.lceda.cn/", "keywords": ["jlceda", "pro-api"], "scripts": { "lint": "eslint", "fix": "eslint --fix", "build": "ts-node ./build/build.ts" }, "devDependencies": { "@antfu/eslint-config": "^5.4.1", "@types/fast-text-encoding": "^1.0.3", "@types/fs-extra": "^11.0.4", "dotenv": "^16.4.7", "eslint": "^9.37.0", "fast-text-encoding": "^1.0.6", "fs-extra": "^11.3.0", "lint-staged": "^16.2.3", "simple-git-hooks": "^2.13.1", "ts-node": "^10.9.2", "typescript": "^5.7.3" }, "simple-git-hooks": { "pre-commit": "npx lint-staged" }, "lint-staged": { "*": "eslint --fix" } }