@jlceda/pro-api-types 0.2.38 → 0.2.40

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 +24 -25
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -498,7 +498,7 @@ declare global {
498
498
  * 搜索符号
499
499
  *
500
500
  * @beta
501
- * @param key - 搜索���键字
501
+ * @param key - 搜索关键字
502
502
  * @param libraryUuid - 库 UUID,默认为系统库,可以使用 {@link LIB_LibrariesList} 内的接口获取
503
503
  * @param classification - 分类,默认为全部
504
504
  * @param symbolType - 符号类型,默认为全部
@@ -5265,7 +5265,7 @@ declare global {
5265
5265
  * @remarks
5266
5266
  * 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
5267
5267
  *
5268
- * 注意:本接口需要启用 **团队库 \> 下载库** 权限,没有权限调用将始终 `throw Error`
5268
+ * 注意:本接口需要启用 **团队库 \> ��载库** 权限,没有权限调用将始终 `throw Error`
5269
5269
  *
5270
5270
  * @param deviceUuid - 器件 UUID 或器件 UUID 列表
5271
5271
  * @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList} 内的接口获取,如若不传入,则为系统库
@@ -7048,7 +7048,7 @@ declare global {
7048
7048
  * 获取所有圆弧线的图元 ID
7049
7049
  *
7050
7050
  * @beta
7051
- * @param net - ���络名称
7051
+ * @param net - 网络名称
7052
7052
  * @param layer - 层
7053
7053
  * @param primitiveLock - 是否锁定
7054
7054
  * @returns 圆弧线的图元 ID 数组
@@ -8280,7 +8280,7 @@ declare global {
8280
8280
  * 在 PCB 画布中创建图元
8281
8281
  *
8282
8282
  * @internal
8283
- * @remarks 覆��填充图元不支持新建,本接口调用将不会有任何效果
8283
+ * @remarks 覆铜���充图元不支持新建,本接口调用将不会有任何效果
8284
8284
  * @returns 覆铜填充图元对象
8285
8285
  */
8286
8286
  create(): IPCB_PrimitivePoured;
@@ -9399,7 +9399,7 @@ declare global {
9399
9399
  private async;
9400
9400
  /** 图元类型 */
9401
9401
  private readonly primitiveType;
9402
- /** 图元 ID */
9402
+ /** ��元 ID */
9403
9403
  private primitiveId?;
9404
9404
  /** 层 */
9405
9405
  private layer;
@@ -10425,7 +10425,7 @@ declare global {
10425
10425
  *
10426
10426
  * @beta
10427
10427
  * @remarks
10428
- * 本接口模拟前端点击放置按钮,指定的器件将绑定到当前鼠标,并在用户后续点击时���置于画布
10428
+ * 本接口模拟前端点击放置按钮,指定的器件将绑定到当前鼠标,并在用户后续点击时放置于画布
10429
10429
  *
10430
10430
  * 本接口的返回时机并不会等待用户的放置操作,一旦器件被绑定到鼠标,本接口将立即返回 `true` 的结果
10431
10431
  * @param component - 关联库器件
@@ -12594,7 +12594,7 @@ declare global {
12594
12594
  * 如若达成下单条件,将返回 `true` 并在新标签页打开下单页面
12595
12595
  * @param ignoreWarning - 在非交互式检查时忽略警告
12596
12596
  *
12597
- * 如果设置为 `true`,将会忽���所有检查警告项并尽可能生成下单资料;
12597
+ * 如果设置为 `true`,将会忽略所有检查警告项并尽可能生成下单资料;
12598
12598
  *
12599
12599
  * 如果设置为 `false`,存在任意警告将中断执行并返回 `false` 的结果
12600
12600
  * @returns 是否通过下单检查
@@ -14346,7 +14346,7 @@ declare global {
14346
14346
  */
14347
14347
  toSync(): ISCH_PrimitiveCircle;
14348
14348
  /**
14349
- * 查询图元是否为异��图元
14349
+ * 查询图元是否为异步���元
14350
14350
  *
14351
14351
  * @public
14352
14352
  * @returns 是否为异步图元
@@ -15400,7 +15400,7 @@ declare global {
15400
15400
  */
15401
15401
  getState_Manufacturer(): string | undefined;
15402
15402
  /**
15403
- * 获取属性���态:制造商编号
15403
+ * 获取属性状态:制造商编号
15404
15404
  *
15405
15405
  * @public
15406
15406
  * @returns 制造商编号
@@ -15884,7 +15884,7 @@ declare global {
15884
15884
  * 获取器件
15885
15885
  *
15886
15886
  * @beta
15887
- * @remarks 如若传入多个图元 ID,任意图元 ID 未匹配到不影响其它图元的返回,即可能返回少于传入的图元 ID 数量的图元对象
15887
+ * @remarks 如若传入多个图元 ID,任意图元 ID ��匹配到不影响其它图元的返回,即可能返回少于传入的图元 ID 数量的图元对象
15888
15888
  * @param primitiveIds - 器件的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
15889
15889
  * @returns 器件图元对象,空数组表示获取失败
15890
15890
  */
@@ -16449,7 +16449,7 @@ declare global {
16449
16449
  * 在原理图画布中创建图元
16450
16450
  *
16451
16451
  * @internal
16452
- * @returns 器件图���对象
16452
+ * @returns 器件图元对象
16453
16453
  */
16454
16454
  create(): Promise<ISCH_PrimitiveCbbSymbolComponent>;
16455
16455
  /**
@@ -17575,7 +17575,7 @@ declare global {
17575
17575
  */
17576
17576
  toSync(): ISCH_PrimitiveWire;
17577
17577
  /**
17578
- * 查询��元是否为异步图元
17578
+ * 查询图���是否为异步图元
17579
17579
  *
17580
17580
  * @public
17581
17581
  * @returns 是否为异步图元
@@ -17833,8 +17833,9 @@ declare global {
17833
17833
  onFilterClick?: (data: string) => void;
17834
17834
  onChange?: (data: string) => void;
17835
17835
  onAddClick?: (data: string) => void;
17836
+ onBlur?: (data: string) => void;
17836
17837
  }
17837
- function Input({ width, disabled, readonly, clearBtn, clickBtn, dropDownList, searchBtn, value: propValue, placeholder, preText, type, otherAttr, testVal, onClick, onSearchClick, onFilterClick, onChange, onAddClick, }: InputProps): react_jsx_runtime.JSX.Element;
17838
+ function Input({ width, disabled, readonly, clearBtn, clickBtn, dropDownList, searchBtn, value: propValue, placeholder, preText, type, otherAttr, testVal, onClick, onSearchClick, onFilterClick, onChange, onAddClick, onBlur, }: InputProps): react_jsx_runtime.JSX.Element;
17838
17839
 
17839
17840
  interface TextProps {
17840
17841
  value: string;
@@ -17967,12 +17968,12 @@ declare global {
17967
17968
  maxDragX?: number;
17968
17969
  maxDragY?: number;
17969
17970
  hide?: boolean;
17970
- resizingX?: boolean;
17971
- resizingY?: boolean;
17971
+ resizeX?: boolean;
17972
+ resizeY?: boolean;
17972
17973
  children?: React$1.ReactNode;
17973
17974
  onMoved?: (top: number, left: number) => void;
17974
17975
  }
17975
- function Modal({ top, left, width, height, maxDragX, maxDragY, hide, overlay, resizingX, resizingY, children, onMoved, }: ModalProps): react_jsx_runtime.JSX.Element;
17976
+ function Modal({ top, left, width, height, maxDragX, maxDragY, hide, overlay, resizeX, resizeY, children, onMoved, }: ModalProps): react_jsx_runtime.JSX.Element;
17976
17977
 
17977
17978
  interface DialogProps {
17978
17979
  title: string;
@@ -17984,8 +17985,8 @@ declare global {
17984
17985
  overlay?: boolean;
17985
17986
  maxDragY?: number;
17986
17987
  modal?: boolean;
17987
- resizingX?: boolean;
17988
- resizingY?: boolean;
17988
+ resizeX?: boolean;
17989
+ resizeY?: boolean;
17989
17990
  buttons?: ButtonProps[];
17990
17991
  onClose?: () => void;
17991
17992
  children?: React$1.ReactNode;
@@ -18577,7 +18578,7 @@ declare global {
18577
18578
  * 打开读入文件窗口
18578
18579
  *
18579
18580
  * @beta
18580
- * @param filenameExtensions - 文件��展名
18581
+ * @param filenameExtensions - 文件扩展名
18581
18582
  * @param multiFiles - 是否允许读取多文件
18582
18583
  * @returns File 格式文件
18583
18584
  */
@@ -18955,8 +18956,6 @@ declare global {
18955
18956
  *
18956
18957
  * @beta
18957
18958
  * @remarks
18958
- * 系统顶部菜单一旦新增无法有效删除,需要重启嘉立创 EDA 软件才可以恢复
18959
- *
18960
18959
  * 本接口需要在系统已有的系统一级菜单下新增子菜单,无法新增和修改一级菜单,`id` 数组请至少传递 `2` 个值
18961
18960
  *
18962
18961
  * 本接口将会强制新建的系统顶部菜单的 ID 包含扩展 UUID,例如输入的 `id = 'example'`,将会被自动重写为 `e143d88179874e7f851cc890cd22fc71|example`,后续如需移除该菜单,请输入重写后的名称
@@ -18971,7 +18970,7 @@ declare global {
18971
18970
  * @param env - 环境
18972
18971
  * @param id - 菜单项 ID 树,将会按照数组顺序按层级匹配菜单项,并将数组最后一位作为插入的菜单项的 ID
18973
18972
  * @param props - 其它参数
18974
- * @returns 顶部菜单项的 ID 数组,分隔线是否插入并不会影响操作结果的返回值
18973
+ * @returns 顶部菜单项的 ID,分隔线是否插入并不会影响操作结果的返回值,不包含 menuItems 中的子项的 ID
18975
18974
  */
18976
18975
  insertSystemHeaderMenuItem(env: ESYS_HeaderMenuEnvironment, id: Array<string>, props: {
18977
18976
  /** 菜单项的标题 */
@@ -19580,7 +19579,7 @@ declare global {
19580
19579
  * @public
19581
19580
  * @param message - 消息内容
19582
19581
  * @param messageType - 消息类型
19583
- * @param timer - 自动关闭���计时秒数,`0` 为不自动关闭
19582
+ * @param timer - 自动关闭倒计时秒数,`0` 为不自动关闭
19584
19583
  * @param bottomPanel - 展开底部信息面板
19585
19584
  * @param buttonTitle - 回调按钮标题
19586
19585
  * @param buttonCallbackFn - 回调函数内容,字符串形式,会被自动解析并执行
@@ -20085,10 +20084,10 @@ declare global {
20085
20084
  * 系统 / 定时器类
20086
20085
  *
20087
20086
  * @public
20088
- * @remarks 设置���时器
20087
+ * @remarks 设置定时器
20089
20088
  */
20090
20089
  class SYS_Timer {
20091
- /** 扩展 UUID */
20090
+ /** ���展 UUID */
20092
20091
  private extensionUuid?;
20093
20092
  /**
20094
20093
  * @internal
package/package.json CHANGED
@@ -1 +1 @@
1
- { "name": "@jlceda/pro-api-types", "type": "module", "version": "0.2.38", "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.40", "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" } }