@jlceda/pro-api-types 0.2.64 → 0.2.65

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.
Files changed (2) hide show
  1. package/index.d.ts +15 -15
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -6271,7 +6271,7 @@ declare global {
6271
6271
  * 如果设置为 `true`,将会忽略所有检查警告项并尽可能生成下单资料;
6272
6272
  *
6273
6273
  * 如果设置为 `false`,存在任意警告将中断执行并返回 `false` 的结果
6274
- * @returns 是否通过下单检查
6274
+ * @returns 是否通过下单检查;在入参开发完成前,返回值没有实际作用,不会等待执行结果
6275
6275
  */
6276
6276
  placeComponentsOrder(interactive?: boolean, ignoreWarning?: boolean): Promise<boolean>;
6277
6277
  /**
@@ -6291,7 +6291,7 @@ declare global {
6291
6291
  * 如果设置为 `true`,将会忽略所有检查警告项并尽可能生成下单资料;
6292
6292
  *
6293
6293
  * 如果设置为 `false`,存在任意警告将中断执行并返回 `false` 的结果
6294
- * @returns 是否通过下单检查
6294
+ * @returns 是否通过下单检查;在入参开发完成前,返回值没有实际作用,不会等待执行结果
6295
6295
  */
6296
6296
  placeSmtComponentsOrder(interactive?: boolean, ignoreWarning?: boolean): Promise<boolean>;
6297
6297
  /**
@@ -6311,7 +6311,7 @@ declare global {
6311
6311
  * 如果设置为 `true`,将会忽略所有检查警告项并尽可能生成下单资料;
6312
6312
  *
6313
6313
  * 如果设置为 `false`,存在任意警告将中断执行并返回 `false` 的结果
6314
- * @returns 是否通过下单检查
6314
+ * @returns 是否通过下单检查;在入参开发完成前,返回值没有实际作用,不会等待执行结果
6315
6315
  */
6316
6316
  placePcbOrder(interactive?: boolean, ignoreWarning?: boolean): Promise<boolean>;
6317
6317
  /**
@@ -6331,7 +6331,7 @@ declare global {
6331
6331
  * 如果设置为 `true`,将会忽略所有检查警告项并尽可能生成下单资料;
6332
6332
  *
6333
6333
  * 如果设置为 `false`,存在任意警告将中断执行并返回 `false` 的结果
6334
- * @returns 是否通过下单检查
6334
+ * @returns 是否通过下单检查;在入参开发完成前,返回值没有实际作用,不会等待执行结果
6335
6335
  */
6336
6336
  place3DShellOrder(interactive?: boolean, ignoreWarning?: boolean): Promise<boolean>;
6337
6337
  /**
@@ -6480,7 +6480,7 @@ declare global {
6480
6480
  */
6481
6481
  unhighlightNet(net: string): Promise<boolean>;
6482
6482
  /**
6483
- * 取消高亮所���网络
6483
+ * 取消高亮所有网络
6484
6484
  *
6485
6485
  * @beta
6486
6486
  * @returns 操作是否成功
@@ -7609,7 +7609,7 @@ declare global {
7609
7609
  *
7610
7610
  * @beta
7611
7611
  * @param primitiveIds - 文本的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
7612
- * @returns 文本图元对象,`undefined` 表示获取失败
7612
+ * @returns 文本图��对象,`undefined` 表示获取失败
7613
7613
  */
7614
7614
  get(primitiveIds: string): Promise<IPCB_PrimitiveString | undefined>;
7615
7615
  /**
@@ -8790,7 +8790,7 @@ declare global {
8790
8790
  * 仅当 `ruleType` 为 {@link EPCB_PrimitiveRegionRuleType.FOLLOW_REGION_RULE} 时有效,用于匹配区域 DRC 规则
8791
8791
  *
8792
8792
  * 如若 `ruleType` 为 {@link EPCB_PrimitiveRegionRuleType.FOLLOW_REGION_RULE} 但 `regionName` 为空,则系统将会自动分配名称
8793
- * @param regionName - 区域名称
8793
+ * @param regionName - ��域名称
8794
8794
  * @returns 区域图元对象
8795
8795
  */
8796
8796
  setState_RegionName(regionName?: string): IPCB_PrimitiveRegion;
@@ -10455,7 +10455,7 @@ declare global {
10455
10455
  */
10456
10456
  setState_Layer(): IPCB_PrimitiveComponentPad;
10457
10457
  /**
10458
- * 设置属性状态:焊盘编号
10458
+ * 设��属性状态:焊盘编号
10459
10459
  *
10460
10460
  * @internal
10461
10461
  * @remarks 本器件焊盘图元属性不支持修改,本接口调用将不会有任何效果
@@ -11015,7 +11015,7 @@ declare global {
11015
11015
  * 将图元转换为同步图元
11016
11016
  *
11017
11017
  * @public
11018
- * @returns 器��图元对象
11018
+ * @returns 器件图元对象
11019
11019
  */
11020
11020
  toSync(): IPCB_PrimitiveComponent;
11021
11021
  /**
@@ -11545,7 +11545,7 @@ declare global {
11545
11545
  */
11546
11546
  create(): Promise<IPCB_PrimitiveImage>;
11547
11547
  /**
11548
- * 获取属性状态:图元类���
11548
+ * 获取属性状态:图元类型
11549
11549
  *
11550
11550
  * @public
11551
11551
  * @returns 图元类型
@@ -13714,7 +13714,7 @@ declare global {
13714
13714
  *
13715
13715
  * @beta
13716
13716
  * @remarks 如若传入多个图元 ID,任意图元 ID 未匹配到不影响其它图元的返回,即可能返回少于传入的图元 ID 数量的图元对象
13717
- * @param primitiveIds - 属性的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
13717
+ * @param primitiveIds - 属性的图元 ID,可以为字符串或字符串数组,如若为数组,则��回的也是数组
13718
13718
  * @returns 属性图元对象,空数组表示获取失败
13719
13719
  */
13720
13720
  get(primitiveIds: Array<string>): Promise<Array<ISCH_PrimitiveAttribute>>;
@@ -14865,7 +14865,7 @@ declare global {
14865
14865
  [key: string]: string | number | boolean;
14866
14866
  } | undefined;
14867
14867
  /**
14868
- * 设置属性状态:坐标 X
14868
+ * 设置��性状态:坐标 X
14869
14869
  *
14870
14870
  * @beta
14871
14871
  * @param x - 坐标 X
@@ -15920,7 +15920,7 @@ declare global {
15920
15920
  uuid: string;
15921
15921
  } | ILIB_DeviceItem | ILIB_DeviceSearchItem): Promise<boolean>;
15922
15922
  /**
15923
- * 设置在扩展 API 中 AnalogGround 网络标识关联的器件 UUID
15923
+ * 设置在扩展 API 中 AnalogGround 网络标识关联的���件 UUID
15924
15924
  *
15925
15925
  * @beta
15926
15926
  * @param component - 关联库器件
@@ -17557,7 +17557,7 @@ declare global {
17557
17557
  * 设置属性状态:填充样式
17558
17558
  *
17559
17559
  * @beta
17560
- * @param fillStyle - 填充样���
17560
+ * @param fillStyle - 填充样式
17561
17561
  * @returns 矩形图元对象
17562
17562
  */
17563
17563
  setState_FillStyle(fillStyle: ESCH_PrimitiveFillStyle | null): ISCH_PrimitiveRectangle;
@@ -19978,7 +19978,7 @@ declare global {
19978
19978
  minimizeStyle?: 'collapsed' | 'constricted';
19979
19979
  /** 按钮点击回调 */
19980
19980
  buttonCallbackFn?: (button: 'close' | 'minimize' | 'maximize') => void | Promise<void>;
19981
- /** 关闭前回调:回调返回 `false` 时阻止按钮触发 */
19981
+ /** 关闭前���调:回调返回 `false` 时阻止按钮触发 */
19982
19982
  onBeforeCloseCallFn?: () => boolean | undefined | Promise<boolean | undefined>;
19983
19983
  /** 是否背景置灰 */
19984
19984
  grayscaleMask?: boolean;
package/package.json CHANGED
@@ -1 +1 @@
1
- { "name": "@jlceda/pro-api-types", "type": "module", "version": "0.2.64", "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" } }
1
+ { "name": "@jlceda/pro-api-types", "type": "module", "version": "0.2.65", "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" } }