@jlceda/pro-api-types 0.2.42 → 0.2.44
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 +9 -9
- 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 - 符号类型,默认为全部
|
|
@@ -1872,7 +1872,7 @@ declare global {
|
|
|
1872
1872
|
*/
|
|
1873
1873
|
copy(modelUuid: string, libraryUuid: string, targetLibraryUuid: string, targetClassification?: ILIB_ClassificationIndex | Array<string>, newModelName?: string): Promise<string | undefined>;
|
|
1874
1874
|
/**
|
|
1875
|
-
*
|
|
1875
|
+
* 搜索 3D 模型
|
|
1876
1876
|
*
|
|
1877
1877
|
* @beta
|
|
1878
1878
|
* @param key - 搜索关键字
|
|
@@ -4374,7 +4374,7 @@ declare global {
|
|
|
4374
4374
|
* 本接口在前端画布上定位到指定的区域,区域数据为相对于数据原点的偏移;
|
|
4375
4375
|
*
|
|
4376
4376
|
* 例如:传入数据为 `{left: 0, right: 60, top: 100, bottom: -20}` =\> `navigateToRegion(0, 60, 100, -20)`,
|
|
4377
|
-
* 则画布将会定位到以 `[30, 40]`
|
|
4377
|
+
* 则画布将会定位到以 `[30, 40]` ���中心的,`x` 轴方向长度为 `60`,`y` 轴方向长度为 `120` 的矩形范围;
|
|
4378
4378
|
*
|
|
4379
4379
|
* 本接口不进行缩放操作,但会生成指示定位中心及表示区域范围的矩形框;
|
|
4380
4380
|
*
|
|
@@ -7669,7 +7669,7 @@ declare global {
|
|
|
7669
7669
|
*/
|
|
7670
7670
|
setState_Reverse(reverse: boolean): IPCB_PrimitiveString;
|
|
7671
7671
|
/**
|
|
7672
|
-
*
|
|
7672
|
+
* 设置属性状态:反相扩展
|
|
7673
7673
|
*
|
|
7674
7674
|
* @beta
|
|
7675
7675
|
* @param expansion - 反相扩展
|
|
@@ -12160,7 +12160,7 @@ declare global {
|
|
|
12160
12160
|
*
|
|
12161
12161
|
* 此处的单位跨度为 0.01inch
|
|
12162
12162
|
* @param x - 坐标 X
|
|
12163
|
-
* @param y -
|
|
12163
|
+
* @param y - 坐标 Y
|
|
12164
12164
|
* @returns 操作是否成功
|
|
12165
12165
|
*/
|
|
12166
12166
|
navigateToCoordinates(x: number, y: number): Promise<boolean>;
|
|
@@ -12583,7 +12583,7 @@ declare global {
|
|
|
12583
12583
|
*
|
|
12584
12584
|
* 如果设置为 `true`,将会忽略所有检查警告项并尽可能生成下单资料;
|
|
12585
12585
|
*
|
|
12586
|
-
* 如果设置为 `false`,存在任意警告将中断执行并返回 `false`
|
|
12586
|
+
* 如果设置为 `false`,存在任意警告将中断执行并返回 `false` 的���果
|
|
12587
12587
|
* @returns 是否通过下单检查
|
|
12588
12588
|
*/
|
|
12589
12589
|
placeComponentsOrder(interactive?: boolean, ignoreWarning?: boolean): Promise<boolean>;
|
|
@@ -17014,7 +17014,7 @@ declare global {
|
|
|
17014
17014
|
*/
|
|
17015
17015
|
class SCH_PrimitiveRectangle implements ISCH_PrimitiveAPI {
|
|
17016
17016
|
/**
|
|
17017
|
-
*
|
|
17017
|
+
* 创��矩形
|
|
17018
17018
|
*
|
|
17019
17019
|
* @public
|
|
17020
17020
|
* @param topLeftX - 左上点 X
|
|
@@ -17552,7 +17552,7 @@ declare global {
|
|
|
17552
17552
|
*/
|
|
17553
17553
|
setState_LineWidth(lineWidth: number | null): ISCH_PrimitiveWire;
|
|
17554
17554
|
/**
|
|
17555
|
-
*
|
|
17555
|
+
* 设���属性状态:线型
|
|
17556
17556
|
*
|
|
17557
17557
|
* @beta
|
|
17558
17558
|
* @param lineType - 线型
|
|
@@ -18560,7 +18560,7 @@ declare global {
|
|
|
18560
18560
|
* 获取扩展内的文件
|
|
18561
18561
|
*
|
|
18562
18562
|
* @public
|
|
18563
|
-
* @param uri -
|
|
18563
|
+
* @param uri - 文件路径
|
|
18564
18564
|
* @returns File 格式文件
|
|
18565
18565
|
*/
|
|
18566
18566
|
getExtensionFile(uri: string): Promise<File | undefined>;
|
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.44", "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" } }
|