@jlceda/pro-api-types 0.2.12 → 0.2.15
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.
- package/index.d.ts +6 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -5500,7 +5500,7 @@ declare global {
|
|
|
5500
5500
|
* 获取复杂多边形数据
|
|
5501
5501
|
*
|
|
5502
5502
|
* @public
|
|
5503
|
-
* @remarks
|
|
5503
|
+
* @remarks 强制返回复杂多边形格式数据,即使它仅包含单一的单多边形
|
|
5504
5504
|
* @returns 复杂多边形数据
|
|
5505
5505
|
*/
|
|
5506
5506
|
getSourceStrictComplex(): Array<TPCB_PolygonSourceArray>;
|
|
@@ -6062,7 +6062,7 @@ declare global {
|
|
|
6062
6062
|
*
|
|
6063
6063
|
* @beta
|
|
6064
6064
|
* @param primitiveIds - 直线的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
|
|
6065
|
-
* @returns 直线图元对象,`undefined`
|
|
6065
|
+
* @returns 直线图元对象,`undefined` 表示获取��败
|
|
6066
6066
|
*/
|
|
6067
6067
|
get(primitiveIds: string): Promise<IPCB_PrimitiveLine | undefined>;
|
|
6068
6068
|
/**
|
|
@@ -6657,7 +6657,7 @@ declare global {
|
|
|
6657
6657
|
*/
|
|
6658
6658
|
isAsync(): boolean;
|
|
6659
6659
|
/**
|
|
6660
|
-
*
|
|
6660
|
+
* 将异步图元重置为当前画布状态
|
|
6661
6661
|
*
|
|
6662
6662
|
* @beta
|
|
6663
6663
|
* @returns 圆弧线图元对象
|
|
@@ -9517,7 +9517,7 @@ declare global {
|
|
|
9517
9517
|
* 1. 焊盘外形属性将被清空
|
|
9518
9518
|
*
|
|
9519
9519
|
* @param pad - 特殊焊盘外形
|
|
9520
|
-
* @returns
|
|
9520
|
+
* @returns 焊盘图元���象
|
|
9521
9521
|
*/
|
|
9522
9522
|
setState_SpecialPad(specialPad: TPCB_PrimitiveSpecialPadShape): IPCB_PrimitivePad;
|
|
9523
9523
|
/**
|
|
@@ -17550,7 +17550,7 @@ declare global {
|
|
|
17550
17550
|
removeSystemHeaderMenuItem(id: Array<string>, props?: {
|
|
17551
17551
|
/** 是否移除前面的分隔线 */
|
|
17552
17552
|
removeTheBeforeDivider?: boolean;
|
|
17553
|
-
/**
|
|
17553
|
+
/** 是否移除后面的分隔��� */
|
|
17554
17554
|
removeTheAfterDivider?: boolean;
|
|
17555
17555
|
}): Promise<boolean>;
|
|
17556
17556
|
/**
|
|
@@ -18573,7 +18573,7 @@ declare global {
|
|
|
18573
18573
|
* 注册快捷键
|
|
18574
18574
|
*
|
|
18575
18575
|
* @beta
|
|
18576
|
-
* @param shortcutKey -
|
|
18576
|
+
* @param shortcutKey - 快捷键,数组中包含多个元素��解析为组合快捷键,将按规则排序后存入缓存
|
|
18577
18577
|
* @param title - 快捷键标题,快捷键的友好名称
|
|
18578
18578
|
* @param callbackFn - 回调函数
|
|
18579
18579
|
* @returns 注册操作是否成功
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "name": "@jlceda/pro-api-types", "type": "module", "version": "0.2.
|
|
1
|
+
{ "name": "@jlceda/pro-api-types", "type": "module", "version": "0.2.15", "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" } }
|