@jlceda/pro-api-types 0.1.134 → 0.1.135

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 +26 -60
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -348,7 +348,7 @@ declare class DMT_Folder {
348
348
  * @public
349
349
  * @param teamUuid - 团队 UUID
350
350
  * @param folderUuid - 文件夹 UUID
351
- * @returns 操作是否成功
351
+ * @returns 操作��否成功
352
352
  */
353
353
  deleteFolder(teamUuid: string, folderUuid: string): Promise<boolean>;
354
354
  }
@@ -733,10 +733,10 @@ declare class DMT_Schematic {
733
733
  */
734
734
  declare class DMT_SelectControl {
735
735
  /**
736
- * 获取当前文档的属性
736
+ * 获取��前文档的属性
737
737
  *
738
738
  * @beta
739
- * @remarks 仅在存在打开的工程后生效,将会获取当前打开且拥有最后输入焦点的文档的文档类型、UUID、所属工程的 UUID
739
+ * @remarks 仅在存在打���的工程后生效,将会获取当前打开且拥有最后输入焦点的文档的文档类型、UUID、所属工程的 UUID
740
740
  * @returns 文档类型、UUID、所属工程的 UUID 组成的对象,如若为 `undefined` 则获取失败
741
741
  */
742
742
  getCurrentDocumentInfo(): Promise<IDMT_EditorDocumentItem | undefined>;
@@ -1507,23 +1507,23 @@ declare enum EPCB_PrimitiveRegionRuleType {
1507
1507
  */
1508
1508
  declare enum EPCB_PrimitiveStringAlignMode {
1509
1509
  /** 左上 */
1510
- LEFT_TOP = "LEFT_TOP",
1511
- /** 中上 */
1512
- CENTER_TOP = "CENTER_TOP",
1513
- /** 右上 */
1514
- RIGHT_TOP = "RIGHT_TOP",
1510
+ LEFT_TOP = 1,
1515
1511
  /** 左中 */
1516
- LEFT_MIDDLE = "LEFT_MIDDLE",
1517
- /** 中心 */
1518
- CENTER = "CENTER_MIDDLE",
1519
- /** 右中 */
1520
- RIGHT_MIDDLE = "RIGHT_MIDDLE",
1512
+ LEFT_MIDDLE = 2,
1521
1513
  /** 左下 */
1522
- LEFT_BOTTOM = "LEFT_BOTTOM",
1514
+ LEFT_BOTTOM = 3,
1515
+ /** 中上 */
1516
+ CENTER_TOP = 4,
1517
+ /** 中心 */
1518
+ CENTER = 5,
1523
1519
  /** 中下 */
1524
- CENTER_BOTTOM = "CENTER_BOTTOM",
1520
+ CENTER_BOTTOM = 6,
1521
+ /** 右上 */
1522
+ RIGHT_TOP = 7,
1523
+ /** 右中 */
1524
+ RIGHT_MIDDLE = 8,
1525
1525
  /** 右下 */
1526
- RIGHT_BOTTOM = "RIGHT_BOTTOM"
1526
+ RIGHT_BOTTOM = 9
1527
1527
  }
1528
1528
 
1529
1529
  /**
@@ -3509,7 +3509,7 @@ declare class IPCB_PrimitiveComponent implements IPCB_Primitive {
3509
3509
  */
3510
3510
  setState_SupplierId(supplierId: string | undefined): IPCB_PrimitiveComponent;
3511
3511
  /**
3512
- * 设置属性状态:其它参数
3512
+ * 设置属性状态:其���参数
3513
3513
  *
3514
3514
  * @beta
3515
3515
  * @param otherProperty - 其它参数
@@ -3802,7 +3802,7 @@ declare class IPCB_PrimitiveFill implements IPCB_Primitive {
3802
3802
  private complexPolygon;
3803
3803
  /** 网络名称 */
3804
3804
  private net?;
3805
- /** 填充��式 */
3805
+ /** 填充模式 */
3806
3806
  private fillMode?;
3807
3807
  /** 线宽 */
3808
3808
  private lineWidth?;
@@ -4785,7 +4785,7 @@ declare class IPCB_PrimitivePad implements IPCB_Primitive {
4785
4785
  */
4786
4786
  getState_HoleOffsetY(): number;
4787
4787
  /**
4788
- * 获取属性状态:孔相对于焊盘的旋转角度
4788
+ * 获取属性状态:孔��对于焊盘的旋转角度
4789
4789
  *
4790
4790
  * @public
4791
4791
  * @returns 孔相对于焊盘的旋转角度
@@ -5375,7 +5375,7 @@ declare class IPCB_PrimitivePour implements IPCB_Primitive {
5375
5375
  */
5376
5376
  setState_ComplexPolygon(complexPolygon: IPCB_Polygon): IPCB_PrimitivePour;
5377
5377
  /**
5378
- * 设置属性状态:覆铜填充方法
5378
+ * 设置属��状态:覆铜填充方法
5379
5379
  *
5380
5380
  * @beta
5381
5381
  * @param pourFillMethod - 覆铜填充方法
@@ -5797,10 +5797,6 @@ declare class IPCB_PrimitiveString implements IPCB_Primitive {
5797
5797
  private fontSize;
5798
5798
  /** 线宽 */
5799
5799
  private lineWidth;
5800
- /** 是否加粗 */
5801
- private bold;
5802
- /** 是否斜体 */
5803
- private italic;
5804
5800
  /** 对齐模式 */
5805
5801
  private alignMode;
5806
5802
  /** 旋转角度 */
@@ -5813,7 +5809,7 @@ declare class IPCB_PrimitiveString implements IPCB_Primitive {
5813
5809
  private mirror;
5814
5810
  /** 是否锁定 */
5815
5811
  private primitiveLock;
5816
- constructor(layer: TPCB_LayersOfImage, x: number, y: number, text: string, fontFamily?: string, fontSize?: number, lineWidth?: number, bold?: boolean, italic?: boolean, alignMode?: EPCB_PrimitiveStringAlignMode, rotation?: number, reverse?: boolean, expansion?: number, mirror?: boolean, primitiveLock?: boolean, primitiveId?: string);
5812
+ constructor(layer: TPCB_LayersOfImage, x: number, y: number, text: string, fontFamily?: string, fontSize?: number, lineWidth?: number, alignMode?: EPCB_PrimitiveStringAlignMode, rotation?: number, reverse?: boolean, expansion?: number, mirror?: boolean, primitiveLock?: boolean, primitiveId?: string);
5817
5813
  /* Excluded from this release type: create */
5818
5814
  /**
5819
5815
  * 获取属性状态:图元类型
@@ -5878,20 +5874,6 @@ declare class IPCB_PrimitiveString implements IPCB_Primitive {
5878
5874
  * @returns 线宽
5879
5875
  */
5880
5876
  getState_LineWidth(): number;
5881
- /**
5882
- * 获取属性状态:是否加粗
5883
- *
5884
- * @public
5885
- * @returns 是否加粗
5886
- */
5887
- getState_Bold(): boolean;
5888
- /**
5889
- * 获取属性状态:是否斜体
5890
- *
5891
- * @public
5892
- * @returns 是否斜体
5893
- */
5894
- getState_Italic(): boolean;
5895
5877
  /**
5896
5878
  * 获取属性状态:对齐模式
5897
5879
  *
@@ -5990,22 +5972,6 @@ declare class IPCB_PrimitiveString implements IPCB_Primitive {
5990
5972
  * @returns 文本图元对象
5991
5973
  */
5992
5974
  setState_LineWidth(lineWidth: number): IPCB_PrimitiveString;
5993
- /**
5994
- * 设置属性状态:是否加粗
5995
- *
5996
- * @beta
5997
- * @param bold - 是否加粗
5998
- * @returns 文本图元对象
5999
- */
6000
- setState_Bold(bold: boolean): IPCB_PrimitiveString;
6001
- /**
6002
- * 设置属性状态:是否斜体
6003
- *
6004
- * @beta
6005
- * @param italic - 是否斜体
6006
- * @returns 文本图元对象
6007
- */
6008
- setState_Italic(italic: boolean): IPCB_PrimitiveString;
6009
5975
  /**
6010
5976
  * 设置属性状态:对齐模式
6011
5977
  *
@@ -8265,7 +8231,7 @@ declare class ISCH_PrimitiveRectangle implements ISCH_Primitive {
8265
8231
  */
8266
8232
  setState_CornerRadius(cornerRadius: number): ISCH_PrimitiveRectangle;
8267
8233
  /**
8268
- * 设���属性状态:旋转角度
8234
+ * 设置属性状态:旋转角度
8269
8235
  *
8270
8236
  * @beta
8271
8237
  * @param rotation - 旋转角度
@@ -10071,7 +10037,7 @@ declare class PCB_Drc {
10071
10037
  * @example 有三种不同的用法,确保画布上已有对应的焊盘。 分别是 一,游离焊盘-游离焊盘;二,器件焊盘 - 器件焊盘;三,器件焊盘 - 游离焊盘
10072
10038
  * await eda.pcb_Drc.createPadPairGroup('test',[['e0','e1']]) // 游离焊盘-游离焊盘
10073
10039
  * await eda.pcb_Drc.createPadPairGroup('test',[['R1:1','R1:2'],['R2:1','R2:2']]) // 器件焊盘 - 器件焊盘
10074
- * await eda.pcb_Drc.createPadPairGroup('test',[['R1:1','e0'],['R1:2','e1']]) // 器件���盘 - 游离焊盘
10040
+ * await eda.pcb_Drc.createPadPairGroup('test',[['R1:1','e0'],['R1:2','e1']]) // 器件焊盘 - 游离焊盘
10075
10041
  */
10076
10042
  createPadPairGroup(padPairGroupName: string, padPairs: Array<[string, string]>): Promise<boolean>;
10077
10043
  /**
@@ -12836,7 +12802,7 @@ declare class SCH_PrimitiveComponent3 implements ISCH_PrimitiveAPI {
12836
12802
  uuid: string;
12837
12803
  } | ILIB_DeviceItem | ILIB_DeviceSearchItem): Promise<boolean>;
12838
12804
  /**
12839
- * 设置在扩展 API 中 BI ��络端口关联的器件 UUID
12805
+ * 设置在扩展 API 中 BI 网络端口关联的器件 UUID
12840
12806
  *
12841
12807
  * @beta
12842
12808
  * @param component - 关联库器件
@@ -14403,7 +14369,7 @@ declare class SYS_Timer {
14403
14369
  */
14404
14370
  setIntervalTimer(id: string, timeout: number, callFn: (...args: any) => void, ...args: any): boolean;
14405
14371
  /**
14406
- * 清除指定循���定时器
14372
+ * 清除指定循环定时器
14407
14373
  *
14408
14374
  * @public
14409
14375
  * @param id - 定时器 ID
@@ -14711,7 +14677,7 @@ declare type TPCB_LayersOfPad = EPCB_LayerId.TOP | EPCB_LayerId.BOTTOM | EPCB_La
14711
14677
  declare type TPCB_LayersOfRegion = TPCB_LayersOfCopper | EPCB_LayerId.MULTI;
14712
14678
 
14713
14679
  /**
14714
- * 内层允许设置的图层类型
14680
+ * ��层允许设置的图层类型
14715
14681
  *
14716
14682
  * @public
14717
14683
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jlceda/pro-api-types",
3
- "version": "0.1.134",
3
+ "version": "0.1.135",
4
4
  "description": "嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义",
5
5
  "typings": "index.d.ts",
6
6
  "keywords": [