@jlceda/pro-api-types 0.2.45 → 0.2.46
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
|
@@ -963,7 +963,7 @@ declare global {
|
|
|
963
963
|
*
|
|
964
964
|
* @public
|
|
965
965
|
* @param documentUuid - 文档 UUID,此处支持 {@link IDMT_SchematicItem.uuid}、{@link IDMT_SchematicPageItem.uuid}、{@link IDMT_PcbItem.uuid}、{@link IDMT_PanelItem.uuid} 作为输入
|
|
966
|
-
* @param splitScreenId -
|
|
966
|
+
* @param splitScreenId - 分屏 ID,即 {@link DMT_EditorControl.getSplitScreenTree} 方法获取到的 {@link IDMT_EditorSplitScreenItem.id}
|
|
967
967
|
* @returns 标签页 ID,如若为 `undefined`,则打开文档失败
|
|
968
968
|
*/
|
|
969
969
|
openDocument(documentUuid: string, splitScreenId?: string): Promise<string | undefined>;
|
|
@@ -4853,7 +4853,7 @@ declare global {
|
|
|
4853
4853
|
* @beta
|
|
4854
4854
|
* @param equalLengthNetGroupName - 等长网络组名称
|
|
4855
4855
|
* @param net - 网络名称
|
|
4856
|
-
* @returns
|
|
4856
|
+
* @returns 操��是否成功
|
|
4857
4857
|
*/
|
|
4858
4858
|
addNetToEqualLengthNetGroup(equalLengthNetGroupName: string, net: string | Array<string>): Promise<boolean>;
|
|
4859
4859
|
/**
|
|
@@ -7666,7 +7666,7 @@ declare global {
|
|
|
7666
7666
|
*
|
|
7667
7667
|
* @beta
|
|
7668
7668
|
* @param reverse - 是否反相
|
|
7669
|
-
* @returns
|
|
7669
|
+
* @returns 文��图元对象
|
|
7670
7670
|
*/
|
|
7671
7671
|
setState_Reverse(reverse: boolean): IPCB_PrimitiveString;
|
|
7672
7672
|
/**
|
|
@@ -8268,7 +8268,7 @@ declare global {
|
|
|
8268
8268
|
* 在 PCB 画布中创建图元
|
|
8269
8269
|
*
|
|
8270
8270
|
* @internal
|
|
8271
|
-
* @remarks
|
|
8271
|
+
* @remarks 覆铜填充图元不支持新建,本接口调用将不会���任何效果
|
|
8272
8272
|
* @returns 覆铜填充图元对象
|
|
8273
8273
|
*/
|
|
8274
8274
|
create(): IPCB_PrimitivePoured;
|
|
@@ -10415,7 +10415,7 @@ declare global {
|
|
|
10415
10415
|
* @remarks
|
|
10416
10416
|
* 本接口模拟前端点击放置按钮,指定的器件将绑定到当前鼠标,并在用户后续点击时放置于画布
|
|
10417
10417
|
*
|
|
10418
|
-
*
|
|
10418
|
+
* 本接口的返回时机并不会等待用户的放置操作,一旦器件被绑定到鼠标,本接口将立即返回 `true` 的结果
|
|
10419
10419
|
* @param component - 关联库器件
|
|
10420
10420
|
* @returns 是否找到器件
|
|
10421
10421
|
*/
|
|
@@ -18094,7 +18094,7 @@ declare global {
|
|
|
18094
18094
|
interface SortInfo {
|
|
18095
18095
|
/** 列key */
|
|
18096
18096
|
colKey: string;
|
|
18097
|
-
/**
|
|
18097
|
+
/** 排序字��� */
|
|
18098
18098
|
key: string | string[];
|
|
18099
18099
|
/** 排序状态 */
|
|
18100
18100
|
status: SortStatus;
|
|
@@ -19531,7 +19531,7 @@ declare global {
|
|
|
19531
19531
|
*
|
|
19532
19532
|
* 注意:本接口需要使用者启用扩展的外部交互权限,如若未启用将始终 `throw Error`
|
|
19533
19533
|
*
|
|
19534
|
-
*
|
|
19534
|
+
* 非公开接口使用提醒:本接口按原样提��,不提供参数的额外文档,参数可能在任何版本出现破坏性更改并不另行通知
|
|
19535
19535
|
* @param headerMenus - 顶部菜单数据
|
|
19536
19536
|
* @example
|
|
19537
19537
|
* headerMenus:
|
|
@@ -20589,7 +20589,7 @@ declare global {
|
|
|
20589
20589
|
*
|
|
20590
20590
|
* @public
|
|
20591
20591
|
* @remarks
|
|
20592
|
-
*
|
|
20592
|
+
* 新建扩展用户配置也使用本接口,在设置时如果不存在将会自动��建
|
|
20593
20593
|
*
|
|
20594
20594
|
* 注意:本接口仅扩展有效,在独立脚本环境内调用将始终 `throw Error`
|
|
20595
20595
|
* @param key - 配置项
|
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.46", "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" } }
|