@jlceda/pro-api-types 0.2.30 → 0.2.34

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 +13 -13
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -960,7 +960,7 @@ declare global {
960
960
  * @beta
961
961
  * @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList} 内的接口获取
962
962
  * @param libraryType - 库类型,支持符号和封装
963
- * @param uuid - 符号、封��� UUID
963
+ * @param uuid - 符号、封装 UUID
964
964
  * @param splitScreenId - 分屏 ID,即 {@link DMT_EditorControl.getSplitScreenTree} 方法获取到的 {@link IDMT_EditorSplitScreenItem.id}
965
965
  * @returns 标签页 ID,如若为 `undefined`,则打开文档失败
966
966
  */
@@ -1392,7 +1392,7 @@ declare global {
1392
1392
  * @beta
1393
1393
  * @param projectFriendlyName - 工程友好名称
1394
1394
  * @param projectName - 工程名称,不可重复,仅支持字母 `a-zA-Z`、数字 `0-9`、中划线 `-`,如若不指定,则根据工程友好名称自动生成
1395
- * @param teamUuid - 团队 UUID,如若不指定,则默认为个人;在不存在个人工程的环境下必须指定团�� UUID
1395
+ * @param teamUuid - 团队 UUID,如若不指定,则默认为个人;在不存在个人工程的环境下必须指定团��� UUID
1396
1396
  * @param folderUuid - 文件夹 UUID,如若不指定,则为根文件夹
1397
1397
  * @param description - 工程描述
1398
1398
  * @param collaborationMode - 工程协作模式,如若团队权限无需工程设置协作模式,则该参数将被忽略
@@ -3361,7 +3361,7 @@ declare global {
3361
3361
  * 即 `setCanvasOrigin(0, 0)`;
3362
3362
  *
3363
3363
  * 此处的单位为数据层面单位,在跨度上等同于画布层面的 mil
3364
- * @param offsetX - 画布原点相对���数据原点的 X 坐标偏移
3364
+ * @param offsetX - 画布原点相对于数据原点的 X 坐标偏移
3365
3365
  * @param offsetY - 画布原点相对于数据原点的 Y 坐标偏移
3366
3366
  * @returns 操作是否成功
3367
3367
  */
@@ -5120,7 +5120,7 @@ declare global {
5120
5120
  * @beta
5121
5121
  * @param templateFile - BOM 模板文件
5122
5122
  * @param template - BOM 模板名称,如若为 `undefined` 则自动从 `templateFile` 中取值
5123
- * @returns BOM 模板名称
5123
+ * @returns BOM 模板��称
5124
5124
  * @example
5125
5125
  * ```javascript
5126
5126
  * // 从文件选择器读取模板文件
@@ -5989,7 +5989,7 @@ declare global {
5989
5989
  */
5990
5990
  unhighlightNet(net: string): Promise<boolean>;
5991
5991
  /**
5992
- * 取消高亮所��网络
5992
+ * 取消高亮所���网络
5993
5993
  *
5994
5994
  * @beta
5995
5995
  * @returns 操作是否成功
@@ -7125,7 +7125,7 @@ declare global {
7125
7125
  * 获取文本
7126
7126
  *
7127
7127
  * @alpha
7128
- * @remarks 如若传入多个图元 ID,任意图元 ID 未匹配到不影响其它图元的返回,即可能返回少于传入的图元 ID 数量的图��对象
7128
+ * @remarks 如若传入多个图元 ID,任意图元 ID 未匹配到不影响其它图元的返回,即可能返回少于传入的图元 ID 数量的图���对象
7129
7129
  * @param primitiveIds - 文本的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
7130
7130
  * @returns 文本图元对象,空数组表示获取失败
7131
7131
  */
@@ -8882,7 +8882,7 @@ declare global {
8882
8882
  */
8883
8883
  getState_Polygon(): IPCB_Polygon;
8884
8884
  /**
8885
- * 获��属性状态:线宽
8885
+ * 获���属性状态:线宽
8886
8886
  *
8887
8887
  * @public
8888
8888
  * @returns 线宽
@@ -9974,7 +9974,7 @@ declare global {
9974
9974
  * 将异步图元重置为当前画布状态
9975
9975
  *
9976
9976
  * @internal
9977
- * @remarks 本器件焊盘图元属性不支持修改,本接口调用将不会有任何效果
9977
+ * @remarks 本器件焊盘图元属性不支持修��,本接口调用将不会有任何效果
9978
9978
  * @returns 器件焊盘图元对象
9979
9979
  */
9980
9980
  reset(): Promise<IPCB_PrimitiveComponentPad>;
@@ -14416,7 +14416,7 @@ declare global {
14416
14416
  * 将图元转换为同步图元
14417
14417
  *
14418
14418
  * @public
14419
- * @returns 引脚图元对象
14419
+ * @returns 引��图元对象
14420
14420
  */
14421
14421
  toSync(): ISCH_PrimitivePin;
14422
14422
  /**
@@ -14856,7 +14856,7 @@ declare global {
14856
14856
  *
14857
14857
  * 本接口的返回时机并不会等待用户的放置操作,一旦器件被绑定到鼠标,本接口将立即返回 `true` 的结果
14858
14858
  * @param component - 关联库器件
14859
- * @returns 是否找��器件
14859
+ * @returns 是否找���器件
14860
14860
  */
14861
14861
  placeComponentWithMouse(component: {
14862
14862
  libraryUuid: string;
@@ -17082,7 +17082,7 @@ declare global {
17082
17082
  * 3. 有多个坐标点在多个不同网络的图元上,则创建失败
17083
17083
  *
17084
17084
  * 如若已指定,则遵循:
17085
- * 1. 有一个或多个坐标点在其他网络的图元上,且其他图元并未显式(通常指的是包含网络标签或网络端口)指定网络,则其他图元跟随指定的网络;
17085
+ * 1. 有一个或多个坐标点在��他网络的图元上,且其他图元并未显式(通常指的是包含网络标签或网络端口)指定网络,则其他图元跟随指定的网络;
17086
17086
  * 2. 如若其他图元指定了网络,则创建失败
17087
17087
  * @param color - 导线颜色,`null` 表示默认
17088
17088
  * @param lineWidth - 线宽,范围 `1-10`,`null` 表示默认
@@ -18588,7 +18588,7 @@ declare global {
18588
18588
  title: string;
18589
18589
  /** 菜单项图标 */
18590
18590
  icon?: string;
18591
- /** 注册方法名称(需要在扩展入���文件导出该方法) */
18591
+ /** 注册方法名称(需要在扩展入口文件导出该方法) */
18592
18592
  registerFn?: string;
18593
18593
  }
18594
18594
  /**
@@ -20071,7 +20071,7 @@ declare global {
20071
20071
  * 获取当前主题
20072
20072
  *
20073
20073
  * @public
20074
- * @remarks 获取当��� EDA 主题,**浅色** 或 **深色**
20074
+ * @remarks 获取当前 EDA 主题,**浅色** 或 **深色**
20075
20075
  * @returns 当前主题
20076
20076
  */
20077
20077
  getCurrentTheme(): Promise<ESYS_Theme>;
package/package.json CHANGED
@@ -1 +1 @@
1
- { "name": "@jlceda/pro-api-types", "type": "module", "version": "0.2.30", "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.34", "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" } }