@jlceda/pro-api-types 0.1.101 → 0.1.102
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
|
@@ -595,7 +595,7 @@ declare class DMT_Schematic {
|
|
|
595
595
|
*/
|
|
596
596
|
getCurrentSchematicInfo(): Promise<IDMT_SchematicItem | undefined>;
|
|
597
597
|
/**
|
|
598
|
-
*
|
|
598
|
+
* 获取当前原理图图页的详细属性
|
|
599
599
|
*
|
|
600
600
|
* @beta
|
|
601
601
|
* @remarks 将会获取当前打开且拥有最后输入焦点的原理图图页的详细属性
|
|
@@ -3079,7 +3079,7 @@ declare class IPCB_PrimitiveComponent implements IPCB_Primitive {
|
|
|
3079
3079
|
* @remarks
|
|
3080
3080
|
* 器件焊盘图元是一个特殊的图元,它指的是在 PCB 画布上关联到封装的焊盘
|
|
3081
3081
|
*
|
|
3082
|
-
* 你只能通过 {@link PCB_PrimitiveComponent.getAllPadsByPrimitiveId | 器件类的 getAllPinsByPrimitiveId 方法} 或 {@link IPCB_PrimitiveComponent.getAllPins | 器件图元的 getAllPads 方法}
|
|
3082
|
+
* 你只能通过 {@link PCB_PrimitiveComponent.getAllPadsByPrimitiveId | 器件类的 getAllPinsByPrimitiveId 方法} 或 {@link IPCB_PrimitiveComponent.getAllPins | 器件图元的 getAllPads 方法} 获取到器件焊盘��元
|
|
3083
3083
|
*/
|
|
3084
3084
|
declare class IPCB_PrimitiveComponentPad extends IPCB_PrimitivePad {
|
|
3085
3085
|
/** 图元类型 */
|
|
@@ -4476,7 +4476,7 @@ declare class IPCB_PrimitivePad implements IPCB_Primitive {
|
|
|
4476
4476
|
*
|
|
4477
4477
|
* @public
|
|
4478
4478
|
* @remarks
|
|
4479
|
-
* 当连接方式({@link IPCB_PrimitivePadHeatWelding.connectionMethod | connectionMethod})为直连({@link EPCB_PrimitivePadHeatWeldingConnectionMethod.DIRECT_CONNECTED | DIRECT_CONNECTED})、无连接({@link EPCB_PrimitivePadHeatWeldingConnectionMethod.NON_CONNECTED | NON_CONNECTED}
|
|
4479
|
+
* 当连接方式({@link IPCB_PrimitivePadHeatWelding.connectionMethod | connectionMethod})为直连({@link EPCB_PrimitivePadHeatWeldingConnectionMethod.DIRECT_CONNECTED | DIRECT_CONNECTED})、无连接({@link EPCB_PrimitivePadHeatWeldingConnectionMethod.NON_CONNECTED | NON_CONNECTED})时,发散间距、发散线宽、发散角度的设置将被忽略
|
|
4480
4480
|
*/
|
|
4481
4481
|
declare interface IPCB_PrimitivePadHeatWelding {
|
|
4482
4482
|
/** 连接方式 */
|
|
@@ -6601,7 +6601,7 @@ declare class LIB_Cbb {
|
|
|
6601
6601
|
* 在编辑器打开复用模块符号
|
|
6602
6602
|
*
|
|
6603
6603
|
* @beta
|
|
6604
|
-
* @param cbbUuid -
|
|
6604
|
+
* @param cbbUuid - 复用模块 UUID
|
|
6605
6605
|
* @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList} 内的接口获取
|
|
6606
6606
|
* @param splitScreenId - 分屏 ID,不填写则默认在最后输入焦点的分屏内打开,可以使用 {@link DMT_EditorControl} 内的接口获取
|
|
6607
6607
|
* @returns 标签页 ID,对应 {@link IDMT_EditorTabItem.tabId},可使用 {@link DMT_EditorControl.getSplitScreenIdByTabId} 获取到分屏 ID
|
|
@@ -6701,7 +6701,7 @@ declare class LIB_Classification {
|
|
|
6701
6701
|
*/
|
|
6702
6702
|
deleteByUuid(libraryUuid: string, classificationUuid: string): Promise<boolean>;
|
|
6703
6703
|
/**
|
|
6704
|
-
*
|
|
6704
|
+
* 删除指定索引的分类
|
|
6705
6705
|
*
|
|
6706
6706
|
* @beta
|
|
6707
6707
|
* @param classificationIndex - 分类索引
|
|
@@ -7273,7 +7273,7 @@ declare class PCB_Document {
|
|
|
7273
7273
|
* 即 `setCanvasOrigin(0, 0)`;
|
|
7274
7274
|
*
|
|
7275
7275
|
* 此处的单位为数据层面单位,在跨度上等同于画布层面的 mil
|
|
7276
|
-
* @param offsetX -
|
|
7276
|
+
* @param offsetX - 画布原点相对于数据原点的 X 坐标偏移
|
|
7277
7277
|
* @param offsetY - 画布原点相对于数据原点的 Y 坐标偏移
|
|
7278
7278
|
* @returns 操作是否成功
|
|
7279
7279
|
*/
|
|
@@ -8967,7 +8967,7 @@ declare class PCB_PrimitiveVia implements IPCB_PrimitiveAPI {
|
|
|
8967
8967
|
* PCB & 封装 / 选择控制类
|
|
8968
8968
|
*
|
|
8969
8969
|
* @public
|
|
8970
|
-
* @remarks
|
|
8970
|
+
* @remarks ��取或操作选择的元素
|
|
8971
8971
|
*/
|
|
8972
8972
|
declare class PCB_SelectControl {
|
|
8973
8973
|
/**
|
|
@@ -10704,7 +10704,7 @@ declare class SYS_PanelControl {
|
|
|
10704
10704
|
*/
|
|
10705
10705
|
closeBottomPanel(): void;
|
|
10706
10706
|
/**
|
|
10707
|
-
*
|
|
10707
|
+
* 切换底部面板锁定状态
|
|
10708
10708
|
*
|
|
10709
10709
|
* @public
|
|
10710
10710
|
* @param state - 是否锁定,如若不指定则反置当前状态
|
|
@@ -11255,7 +11255,7 @@ declare type TPCB_PolygonSourceArray = Array<'L' | 'ARC' | 'CARC' | 'C' | 'R' |
|
|
|
11255
11255
|
*
|
|
11256
11256
|
* - `{number}` `x1` - 圆、圆弧上的端点 X
|
|
11257
11257
|
*
|
|
11258
|
-
* - `{number}` `y1` -
|
|
11258
|
+
* - `{number}` `y1` - ��、圆弧上的端点 Y
|
|
11259
11259
|
*
|
|
11260
11260
|
* - `{number}` `x2` - 标注线尾部的端点 X
|
|
11261
11261
|
*
|