@jlceda/pro-api-types 0.1.153 → 0.1.155

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 +49 -13
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -731,7 +731,7 @@ declare class DMT_Schematic {
731
731
  * 文档树 / 选择控制类
732
732
  *
733
733
  * @public
734
- * @remarks 在文档树内进行选择���点的查询、控制
734
+ * @remarks 在文档树内进行选择焦点的���询、控制
735
735
  */
736
736
  declare class DMT_SelectControl {
737
737
  /**
@@ -1916,6 +1916,18 @@ declare enum ESYS_ShortcutKeyEffectiveEditorScene {
1916
1916
  LOCAL = 6
1917
1917
  }
1918
1918
 
1919
+ /**
1920
+ * 主题
1921
+ *
1922
+ * @public
1923
+ */
1924
+ declare enum ESYS_Theme {
1925
+ /** 浅色 */
1926
+ LIGHT = "light",
1927
+ /** 深色 */
1928
+ DARK = "dark"
1929
+ }
1930
+
1919
1931
  /**
1920
1932
  * 吐司消息类型
1921
1933
  *
@@ -2142,7 +2154,7 @@ declare interface IDMT_IndicatorMarkerShape {
2142
2154
  */
2143
2155
  bottom?: number;
2144
2156
  /**
2145
- * 矩形:左 X
2157
+ * 矩形:��� X
2146
2158
  */
2147
2159
  left?: number;
2148
2160
  /**
@@ -2804,6 +2816,7 @@ declare class IPCB_ComplexPolygon {
2804
2816
  * @returns 复杂多边形数据
2805
2817
  */
2806
2818
  getSourceStrictComplex(): Array<TPCB_PolygonSourceArray>;
2819
+ /* Excluded from this release type: getCenter */
2807
2820
  /* Excluded from this release type: validateSource */
2808
2821
  }
2809
2822
 
@@ -2841,7 +2854,7 @@ declare interface IPCB_EqualLengthNetGroupItem {
2841
2854
  }
2842
2855
 
2843
2856
  /**
2844
- * 图层属性
2857
+ * 图���属性
2845
2858
  *
2846
2859
  * @public
2847
2860
  */
@@ -3494,7 +3507,7 @@ declare class IPCB_PrimitiveAttribute implements IPCB_Primitive {
3494
3507
  */
3495
3508
  setState_LineWidth(lineWidth: number): IPCB_PrimitiveAttribute;
3496
3509
  /**
3497
- * 设置属性状态:对齐模式
3510
+ * 设置属性状���:对齐模式
3498
3511
  *
3499
3512
  * @beta
3500
3513
  * @param alignMode - 对齐模式
@@ -4320,7 +4333,7 @@ declare class IPCB_PrimitiveFill implements IPCB_Primitive {
4320
4333
  */
4321
4334
  done(): Promise<IPCB_PrimitiveFill>;
4322
4335
  /**
4323
- * 转换到:折线图元(默认是线条)
4336
+ * 转换到:折线图元
4324
4337
  *
4325
4338
  * @beta
4326
4339
  * @returns 折线图元对象
@@ -4774,7 +4787,7 @@ declare class IPCB_PrimitiveLine implements IPCB_Primitive {
4774
4787
  *
4775
4788
  * @beta
4776
4789
  * @param includeVias - 是否包含导线两端的过孔
4777
- * @returns 整段导线内的所有直线、圆弧线,以及两端连接的过孔(如果有)
4790
+ * @returns 整段���线内的所有直线、圆弧线,以及两端连接的过孔(如果有)
4778
4791
  */
4779
4792
  getEntireTrack(includeVias: true): Promise<Array<IPCB_PrimitiveLine | IPCB_PrimitiveArc | IPCB_PrimitiveVia>>;
4780
4793
  }
@@ -5361,7 +5374,7 @@ declare class IPCB_PrimitivePad implements IPCB_Primitive {
5361
5374
  */
5362
5375
  setState_PrimitiveLock(primitiveLock: boolean): IPCB_PrimitivePad;
5363
5376
  /**
5364
- * 将图元转换为���步图元
5377
+ * 将图元转换为异步图元
5365
5378
  *
5366
5379
  * @public
5367
5380
  * @returns 焊盘图元对象
@@ -8577,7 +8590,7 @@ declare class ISCH_PrimitiveRectangle implements ISCH_Primitive {
8577
8590
  */
8578
8591
  setState_Height(height: number): ISCH_PrimitiveRectangle;
8579
8592
  /**
8580
- * 设置属性状态:圆角半径
8593
+ * 设置属性状态���圆角半径
8581
8594
  *
8582
8595
  * @beta
8583
8596
  * @param cornerRadius - 圆角半径
@@ -9198,7 +9211,7 @@ declare class LIB_3DModel {
9198
9211
  * @beta
9199
9212
  * @param key - 搜索关键字
9200
9213
  * @param libraryUuid - 库 UUID,默认为系统库,可以使用 {@link LIB_LibrariesList} 内的接口获取
9201
- * @param classification - 分类,默认为全部
9214
+ * @param classification - 分类,默认��全部
9202
9215
  * @param itemsOfPage - 一页搜索结果的数量
9203
9216
  * @param page - 页数
9204
9217
  * @returns 搜索到的 3D 模型属性列表
@@ -12365,7 +12378,7 @@ declare class PNL_Document {
12365
12378
  }
12366
12379
 
12367
12380
  /**
12368
- * 原理图 & 符号 / 文档操作类
12381
+ * ���理图 & 符号 / 文档操作类
12369
12382
  *
12370
12383
  * @public
12371
12384
  * @remarks 对设计文档总体进行的操作
@@ -13918,7 +13931,7 @@ declare class SYS_Dialog {
13918
13931
  * @param value - 输入框默认值
13919
13932
  * @param otherProperty - 其它参数,可参考 {@link https://developer.mozilla.org/docs/Web/HTML/Element/input#attributes | The HTML Input element}
13920
13933
  * @param callbackFn - 回调函数
13921
- * @returns 用户输入的值,始终为 `string` 类型��除非用户点击了 **取消** 按钮
13934
+ * @returns 用户输入的值,始终为 `string` 类型,除非用户点击了 **取消** 按钮
13922
13935
  */
13923
13936
  showInputDialog(beforeContent?: string, afterContent?: string, title?: string, type?: 'color' | 'date' | 'datetime-local' | 'email' | 'mouth' | 'number' | 'password' | 'tel' | 'text' | 'time' | 'url' | 'week', value?: string | number, otherProperty?: {
13924
13937
  max?: number;
@@ -14622,8 +14635,23 @@ declare class SYS_Message {
14622
14635
  * @param buttonCallbackFn - 回调函数内容,字符串形式,会被自动解析并执行
14623
14636
  */
14624
14637
  showToastMessage(message: string, messageType?: ESYS_ToastMessageType, timer?: number, bottomPanel?: ESYS_BottomPanelTab, buttonTitle?: string, buttonCallbackFn?: string): void;
14625
- /* Excluded from this release type: showFollowMouseTip */
14626
- /* Excluded from this release type: removeFollowMouseTip */
14638
+ /**
14639
+ * 展示跟随鼠标的提示
14640
+ *
14641
+ * @beta
14642
+ * @remarks 同一时间只能展示一条提示,如果展示新的提示,则之前的提示将被自动移除
14643
+ * @param tip - 提示内容
14644
+ * @param msTimeout - 展示时间,以毫秒(ms)为单位,如若不传入则持续展示,直到调用 {@link SYS_Message.removeFollowMouseTip | removeFollowMouseTip} 或被其它提示覆盖
14645
+ */
14646
+ showFollowMouseTip(tip: string, msTimeout?: number): Promise<void>;
14647
+ /**
14648
+ * 移除跟随鼠标的提示
14649
+ *
14650
+ * @beta
14651
+ * @remarks 移除当前或指定的跟随鼠标的提示
14652
+ * @param tip - 提示内容,如若传入,则仅当当前提示为指定内容时才移除
14653
+ */
14654
+ removeFollowMouseTip(tip?: string): Promise<void>;
14627
14655
  }
14628
14656
 
14629
14657
  /**
@@ -15124,6 +15152,14 @@ declare class SYS_Window {
15124
15152
  */
15125
15153
  removeEventListener(removableObject: ISYS_WindowEventListenerRemovableObject): void;
15126
15154
  /* Excluded from this release type: openUI */
15155
+ /**
15156
+ * 获取当前主题
15157
+ *
15158
+ * @public
15159
+ * @remarks 获取当前 EDA 主题,**浅色** 或 **深色**
15160
+ * @returns 当前主题
15161
+ */
15162
+ getCurrentTheme(): Promise<ESYS_Theme>;
15127
15163
  }
15128
15164
 
15129
15165
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jlceda/pro-api-types",
3
- "version": "0.1.153",
3
+ "version": "0.1.155",
4
4
  "description": "嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义",
5
5
  "typings": "index.d.ts",
6
6
  "keywords": [