@jlceda/pro-api-types 0.2.51 → 0.2.52
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 +8 -8
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -10424,7 +10424,7 @@ declare global {
|
|
|
10424
10424
|
* 获取器件
|
|
10425
10425
|
*
|
|
10426
10426
|
* @beta
|
|
10427
|
-
* @remarks 如若传入多个图元 ID,任意图元 ID
|
|
10427
|
+
* @remarks 如若传入多个图元 ID,任意图元 ID 未匹配到不影响其它图元的返回,即可能返���少于传入的图元 ID 数量的图元对象
|
|
10428
10428
|
* @param primitiveIds - 器件的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
|
|
10429
10429
|
* @returns 器件图元对象,空数组表示获取失败
|
|
10430
10430
|
*/
|
|
@@ -11586,7 +11586,7 @@ declare global {
|
|
|
11586
11586
|
* @beta
|
|
11587
11587
|
* @param layer - 层
|
|
11588
11588
|
* @param topLeftX - 左上点 X
|
|
11589
|
-
* @param topLeftY -
|
|
11589
|
+
* @param topLeftY - 左��点 Y
|
|
11590
11590
|
* @param binaryData - 二进制数据
|
|
11591
11591
|
* @param width - 宽
|
|
11592
11592
|
* @param height - 高
|
|
@@ -14314,7 +14314,7 @@ declare global {
|
|
|
14314
14314
|
*/
|
|
14315
14315
|
getState_LineType(): ESCH_PrimitiveLineType | null;
|
|
14316
14316
|
/**
|
|
14317
|
-
*
|
|
14317
|
+
* 获取属性状态:填充���式
|
|
14318
14318
|
*
|
|
14319
14319
|
* @public
|
|
14320
14320
|
* @returns 填充样式
|
|
@@ -14887,7 +14887,7 @@ declare global {
|
|
|
14887
14887
|
* 设置属性状态:引脚类型
|
|
14888
14888
|
*
|
|
14889
14889
|
* @internal
|
|
14890
|
-
* @remarks
|
|
14890
|
+
* @remarks 本��件引脚图元属性不支持修改,本接口调用将不会有任何效果
|
|
14891
14891
|
* @returns 器件引脚图元对象
|
|
14892
14892
|
*/
|
|
14893
14893
|
setState_PinType(): ISCH_PrimitiveComponentPin;
|
|
@@ -16995,7 +16995,7 @@ declare global {
|
|
|
16995
16995
|
*
|
|
16996
16996
|
* @beta
|
|
16997
16997
|
* @param line - 坐标组
|
|
16998
|
-
* @returns
|
|
16998
|
+
* @returns ���边形图元对象
|
|
16999
16999
|
*/
|
|
17000
17000
|
setState_Line(line: Array<number>): ISCH_PrimitivePolygon;
|
|
17001
17001
|
/**
|
|
@@ -18085,7 +18085,7 @@ declare global {
|
|
|
18085
18085
|
setCellStyle: (style: CSSProperties) => void;
|
|
18086
18086
|
/** 设置行样式 */
|
|
18087
18087
|
setRowStyle: (style: CSSProperties) => void;
|
|
18088
|
-
/**
|
|
18088
|
+
/** 设置所有单元格��式 */
|
|
18089
18089
|
setAllCellStyle: (style: CSSProperties) => void;
|
|
18090
18090
|
/** 设置行数据 */
|
|
18091
18091
|
setRowData: (data: {
|
|
@@ -19561,7 +19561,7 @@ declare global {
|
|
|
19561
19561
|
*
|
|
19562
19562
|
* 本接口不能在 **高级** 菜单下新增任何子菜单
|
|
19563
19563
|
*
|
|
19564
|
-
*
|
|
19564
|
+
* 本接口新增的子菜单将默认排列在原菜单的结尾,除非���定了 `props.insertBefore` 参数
|
|
19565
19565
|
*
|
|
19566
19566
|
* 注意:本接口需要使用者启用扩展的外部交互权限,如若未启用将始终 `throw Error`
|
|
19567
19567
|
*
|
|
@@ -20583,7 +20583,7 @@ declare global {
|
|
|
20583
20583
|
*/
|
|
20584
20584
|
unregisterShortcutKey(shortcutKey: TSYS_ShortcutKeys): Promise<boolean>;
|
|
20585
20585
|
/**
|
|
20586
|
-
*
|
|
20586
|
+
* ��询快捷键列表
|
|
20587
20587
|
*
|
|
20588
20588
|
* @beta
|
|
20589
20589
|
* @param includeSystem - 是否包含系统快捷键
|
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.52", "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" } }
|