@jlceda/pro-api-types 0.1.147 → 0.1.148
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 +32 -19
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -348,7 +348,7 @@ declare class DMT_Folder {
|
|
|
348
348
|
* 删除文件夹
|
|
349
349
|
*
|
|
350
350
|
* @public
|
|
351
|
-
* @param teamUuid -
|
|
351
|
+
* @param teamUuid - 团��� UUID
|
|
352
352
|
* @param folderUuid - 文件夹 UUID
|
|
353
353
|
* @returns 操作是否成功
|
|
354
354
|
*/
|
|
@@ -2160,7 +2160,7 @@ declare interface IDMT_PcbItem {
|
|
|
2160
2160
|
readonly itemType: EDMT_ItemType.PCB | EDMT_ItemType.CBB_PCB;
|
|
2161
2161
|
/** PCB UUID */
|
|
2162
2162
|
uuid: string;
|
|
2163
|
-
/** PCB
|
|
2163
|
+
/** PCB 名称 */
|
|
2164
2164
|
name: string;
|
|
2165
2165
|
/** 所属工程 UUID */
|
|
2166
2166
|
parentProjectUuid: string;
|
|
@@ -2736,6 +2736,18 @@ declare interface ILIB_SymbolSearchItem {
|
|
|
2736
2736
|
lastModifiedBy: string;
|
|
2737
2737
|
}
|
|
2738
2738
|
|
|
2739
|
+
/**
|
|
2740
|
+
* BOM 列的属性及排序规则
|
|
2741
|
+
*
|
|
2742
|
+
* @public
|
|
2743
|
+
*/
|
|
2744
|
+
declare interface IPCB_BomPropertiesTableColumns {
|
|
2745
|
+
property: string;
|
|
2746
|
+
title?: string;
|
|
2747
|
+
sort?: null | 'asc' | 'desc';
|
|
2748
|
+
group?: null | 'Yes' | 'No';
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2739
2751
|
/**
|
|
2740
2752
|
* 复杂多边形
|
|
2741
2753
|
*
|
|
@@ -3488,7 +3500,7 @@ declare class IPCB_PrimitiveAttribute implements IPCB_Primitive {
|
|
|
3488
3500
|
*
|
|
3489
3501
|
* @beta
|
|
3490
3502
|
* @param expansion - 反相扩展
|
|
3491
|
-
* @returns
|
|
3503
|
+
* @returns 属性图元��象
|
|
3492
3504
|
*/
|
|
3493
3505
|
setState_Expansion(expansion: number): IPCB_PrimitiveAttribute;
|
|
3494
3506
|
/**
|
|
@@ -6000,7 +6012,7 @@ declare class IPCB_PrimitiveRegion implements IPCB_Primitive {
|
|
|
6000
6012
|
*/
|
|
6001
6013
|
setState_LineWidth(lineWidth: number): IPCB_PrimitiveRegion;
|
|
6002
6014
|
/**
|
|
6003
|
-
*
|
|
6015
|
+
* 设置属性状态:是否锁定
|
|
6004
6016
|
*
|
|
6005
6017
|
* @beta
|
|
6006
6018
|
* @param primitiveLock - 是否锁定
|
|
@@ -7311,7 +7323,7 @@ declare class ISCH_PrimitiveComponent implements ISCH_Primitive {
|
|
|
7311
7323
|
*/
|
|
7312
7324
|
getState_SubPartName(): string | undefined;
|
|
7313
7325
|
/**
|
|
7314
|
-
*
|
|
7326
|
+
* 获取属性状态:旋转角度
|
|
7315
7327
|
*
|
|
7316
7328
|
* @public
|
|
7317
7329
|
* @returns 旋转角度
|
|
@@ -8571,7 +8583,7 @@ declare class ISCH_PrimitiveRectangle implements ISCH_Primitive {
|
|
|
8571
8583
|
*
|
|
8572
8584
|
* @beta
|
|
8573
8585
|
* @param fillColor - 填充颜色
|
|
8574
|
-
* @returns
|
|
8586
|
+
* @returns 矩形图元��象
|
|
8575
8587
|
*/
|
|
8576
8588
|
setState_FillColor(fillColor: string | null): ISCH_PrimitiveRectangle;
|
|
8577
8589
|
/**
|
|
@@ -9097,13 +9109,6 @@ declare interface ISYS_WindowEventListenerRemovableObject {
|
|
|
9097
9109
|
};
|
|
9098
9110
|
}
|
|
9099
9111
|
|
|
9100
|
-
declare interface ITableColum {
|
|
9101
|
-
property: string;
|
|
9102
|
-
title?: string;
|
|
9103
|
-
sort?: null | 'asc' | 'desc';
|
|
9104
|
-
group?: null | 'Yes' | 'No';
|
|
9105
|
-
}
|
|
9106
|
-
|
|
9107
9112
|
/**
|
|
9108
9113
|
* 综合库 / 3D 模型类
|
|
9109
9114
|
*
|
|
@@ -10378,7 +10383,7 @@ declare class PCB_Drc {
|
|
|
10378
10383
|
*/
|
|
10379
10384
|
modifyPadPairGroupName(originalPadPairGroupName: string, padPairGroupName: string): Promise<boolean>;
|
|
10380
10385
|
/**
|
|
10381
|
-
*
|
|
10386
|
+
* 将��盘对添加到焊盘对组
|
|
10382
10387
|
*
|
|
10383
10388
|
* @beta
|
|
10384
10389
|
* @param padPairGroupName - 焊盘对组名称
|
|
@@ -10719,7 +10724,7 @@ declare class PCB_ManufactureData {
|
|
|
10719
10724
|
getBomFile(fileName?: string, fileType?: 'xlsx' | 'csv', template?: string, filterOptions?: Array<{
|
|
10720
10725
|
property: string;
|
|
10721
10726
|
includeValue: boolean | string;
|
|
10722
|
-
}>, statistics?: Array<string>, property?: Array<string>, columns?:
|
|
10727
|
+
}>, statistics?: Array<string>, property?: Array<string>, columns?: Array<IPCB_BomPropertiesTableColumns>): Promise<File | undefined>;
|
|
10723
10728
|
/**
|
|
10724
10729
|
* 获取测试点报告文件
|
|
10725
10730
|
*
|
|
@@ -11934,7 +11939,7 @@ declare class PCB_PrimitivePolyline implements IPCB_PrimitiveAPI {
|
|
|
11934
11939
|
*
|
|
11935
11940
|
* @beta
|
|
11936
11941
|
* @param primitiveIds - 折线的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
|
|
11937
|
-
* @returns 折线图元对象,`undefined`
|
|
11942
|
+
* @returns 折线图元对象,`undefined` 表示获取失败
|
|
11938
11943
|
*/
|
|
11939
11944
|
get(primitiveIds: string): Promise<IPCB_PrimitivePolyline | undefined>;
|
|
11940
11945
|
/**
|
|
@@ -12432,9 +12437,17 @@ declare class SCH_ManufactureData {
|
|
|
12432
12437
|
* @remarks 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
|
|
12433
12438
|
* @param fileName - 文件名
|
|
12434
12439
|
* @param fileType - 文件类型
|
|
12440
|
+
* @param template - 模板名称
|
|
12441
|
+
* @param filterOptions - 过滤规则,仅应包含需要启用的规则,`property` 为规则名称,`includeValue` 为匹配的值
|
|
12442
|
+
* @param statistics - 统计,包含所有需要启用的统计项的名称
|
|
12443
|
+
* @param property - 属性,包含所有需要启用的属性的名称
|
|
12444
|
+
* @param columns - 列的属性及排序,`title`、`sort`、`group`、`orderWeight` 不传入则取默认值,`null` 代表 **无** 或 **空**
|
|
12435
12445
|
* @returns BOM 文件数据
|
|
12436
12446
|
*/
|
|
12437
|
-
getBomFile(fileName?: string, fileType?: 'xlsx' | 'csv'
|
|
12447
|
+
getBomFile(fileName?: string, fileType?: 'xlsx' | 'csv', template?: string, filterOptions?: Array<{
|
|
12448
|
+
property: string;
|
|
12449
|
+
includeValue: boolean | string;
|
|
12450
|
+
}>, statistics?: Array<string>, property?: Array<string>, columns?: Array<IPCB_BomPropertiesTableColumns>): Promise<File | undefined>;
|
|
12438
12451
|
/**
|
|
12439
12452
|
* 获取网表文件(Netlist)
|
|
12440
12453
|
*
|
|
@@ -12732,7 +12745,7 @@ declare class SCH_PrimitiveCircle implements ISCH_PrimitiveAPI {
|
|
|
12732
12745
|
* 删除圆
|
|
12733
12746
|
*
|
|
12734
12747
|
* @beta
|
|
12735
|
-
* @param primitiveIds - 圆的图元 ID
|
|
12748
|
+
* @param primitiveIds - 圆的图元 ID ��圆图元对象
|
|
12736
12749
|
* @returns 删除操作是否成功
|
|
12737
12750
|
*/
|
|
12738
12751
|
delete(primitiveIds: string | ISCH_PrimitiveCircle | Array<string> | Array<ISCH_PrimitiveCircle>): Promise<boolean>;
|
|
@@ -14745,7 +14758,7 @@ declare class SYS_ShortcutKey {
|
|
|
14745
14758
|
* @param callbackFn - 回调函数
|
|
14746
14759
|
* @returns 注册操作是否成功
|
|
14747
14760
|
*/
|
|
14748
|
-
registerShortcutKey(shortcutKey: TSYS_ShortcutKeys, title: string, callbackFn: (shortcutKey: TSYS_ShortcutKeys) => void | Promise<void>, documentType
|
|
14761
|
+
registerShortcutKey(shortcutKey: TSYS_ShortcutKeys, title: string, callbackFn: (shortcutKey: TSYS_ShortcutKeys) => void | Promise<void>, documentType?: Array<ESYS_ShortcutKeyEffectiveEditorDocumentType>, scene?: Array<ESYS_ShortcutKeyEffectiveEditorScene>): Promise<boolean>;
|
|
14749
14762
|
/**
|
|
14750
14763
|
* 反注册快捷键
|
|
14751
14764
|
*
|