@jlceda/pro-api-types 0.2.54 → 0.2.55
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 +7 -17
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2247,32 +2247,22 @@ declare global {
|
|
|
2247
2247
|
supplierId?: string;
|
|
2248
2248
|
/**
|
|
2249
2249
|
* 立创商城库存
|
|
2250
|
-
*
|
|
2251
|
-
* @deprecated 在 `otherProperty` 中替代
|
|
2252
2250
|
*/
|
|
2253
2251
|
lcscInventory?: number;
|
|
2254
2252
|
/**
|
|
2255
2253
|
* 立创商城价格
|
|
2256
|
-
*
|
|
2257
|
-
* @deprecated 在 `otherProperty` 中替代
|
|
2258
2254
|
*/
|
|
2259
2255
|
lcscPrice?: number;
|
|
2260
2256
|
/**
|
|
2261
2257
|
* 嘉立创库存
|
|
2262
|
-
*
|
|
2263
|
-
* @deprecated 在 `otherProperty` 中替代
|
|
2264
2258
|
*/
|
|
2265
2259
|
jlcInventory?: number;
|
|
2266
2260
|
/**
|
|
2267
2261
|
* 嘉立创价格
|
|
2268
|
-
*
|
|
2269
|
-
* @deprecated 在 `otherProperty` 中替代
|
|
2270
2262
|
*/
|
|
2271
2263
|
jlcPrice?: number;
|
|
2272
2264
|
/**
|
|
2273
2265
|
* 嘉立创库类别
|
|
2274
|
-
*
|
|
2275
|
-
* @deprecated 在 `otherProperty` 中替代
|
|
2276
2266
|
*/
|
|
2277
2267
|
jlcLibraryCategory?: ELIB_DeviceJlcLibraryCategory;
|
|
2278
2268
|
/** 其它属性 */
|
|
@@ -4392,12 +4382,12 @@ declare global {
|
|
|
4392
4382
|
*
|
|
4393
4383
|
* @public
|
|
4394
4384
|
* @remarks
|
|
4395
|
-
*
|
|
4385
|
+
* 本接口在前端画布上定位到指定的数据层面坐标;
|
|
4396
4386
|
*
|
|
4397
4387
|
* 如果希望在进行本操作时前端画布坐标能与传入数据一致,
|
|
4398
4388
|
* 建议调用 {@link PCB_Document.setCanvasOrigin} 方法并设置偏移量为零;
|
|
4399
4389
|
*
|
|
4400
|
-
*
|
|
4390
|
+
* 此处的单位为数据层面单位,在��度上等同于画布层面的 mil
|
|
4401
4391
|
* @param x - 坐标 X
|
|
4402
4392
|
* @param y - 坐标 Y
|
|
4403
4393
|
* @returns 操作是否成功
|
|
@@ -5278,7 +5268,7 @@ declare global {
|
|
|
5278
5268
|
* @param fileName - 文件名
|
|
5279
5269
|
* @param password - 加密密码
|
|
5280
5270
|
* @param fileType - 文件格式
|
|
5281
|
-
* @returns 文档文件数据,`undefined`
|
|
5271
|
+
* @returns 文档文件数据,`undefined` 表示当前未打开文档或数据获取失败
|
|
5282
5272
|
*/
|
|
5283
5273
|
getDocumentFile(fileName?: string, password?: string, fileType?: 'epro' | 'epro2'): Promise<File | undefined>;
|
|
5284
5274
|
/**
|
|
@@ -7654,7 +7644,7 @@ declare global {
|
|
|
7654
7644
|
* 获取属性状态:是否镜像
|
|
7655
7645
|
*
|
|
7656
7646
|
* @public
|
|
7657
|
-
* @returns
|
|
7647
|
+
* @returns 是否��像
|
|
7658
7648
|
*/
|
|
7659
7649
|
getState_Mirror(): boolean;
|
|
7660
7650
|
/**
|
|
@@ -11577,7 +11567,7 @@ declare global {
|
|
|
11577
11567
|
* 查询图元是否为异步图元
|
|
11578
11568
|
*
|
|
11579
11569
|
* @public
|
|
11580
|
-
* @returns
|
|
11570
|
+
* @returns 是否为异步图元
|
|
11581
11571
|
*/
|
|
11582
11572
|
isAsync(): boolean;
|
|
11583
11573
|
/**
|
|
@@ -19580,7 +19570,7 @@ declare global {
|
|
|
19580
19570
|
*
|
|
19581
19571
|
* 本接口无法移除 {@link SYS_HeaderMenu.insertSystemHeaderMenus | 导入系统顶部菜单} 接口导入的系统顶部菜单项
|
|
19582
19572
|
*
|
|
19583
|
-
*
|
|
19573
|
+
* 本接口无法移除第一级菜单,`id` 数组请至少传递 `2` 个值
|
|
19584
19574
|
*
|
|
19585
19575
|
* 本接口无法移除 **高级** 菜单下的任何子菜单
|
|
19586
19576
|
*
|
|
@@ -20583,7 +20573,7 @@ declare global {
|
|
|
20583
20573
|
PCB_2D_PREVIEW = 8,
|
|
20584
20574
|
/** 面板 3D 预览 */
|
|
20585
20575
|
PANEL_3D_PREVIEW = 9,
|
|
20586
|
-
/**
|
|
20576
|
+
/** 面��库 */
|
|
20587
20577
|
PANEL_LIBRARY = 10
|
|
20588
20578
|
}
|
|
20589
20579
|
/**
|
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.55", "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" } }
|