@jlceda/pro-api-types 0.1.65 → 0.1.67
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 +4 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -4413,7 +4413,7 @@ declare class LIB_Classification {
|
|
|
4413
4413
|
* @param libraryUuid - 库 UUID
|
|
4414
4414
|
* @param libraryType - 库类型
|
|
4415
4415
|
* @param primaryClassificationUuid - 一级分类 UUID
|
|
4416
|
-
* @param secondaryClassificationUuid - 二级分类 UUID
|
|
4416
|
+
* @param secondaryClassificationUuid - 二级分类 UUID,如若不指定,则只获取一级分类的信息
|
|
4417
4417
|
* @returns 两级分类的名称
|
|
4418
4418
|
*/
|
|
4419
4419
|
getNameByUuid(libraryUuid: string, libraryType: ELIB_LibraryType, primaryClassificationUuid: string, secondaryClassificationUuid?: string): Promise<{
|
|
@@ -7424,7 +7424,7 @@ declare class SCH_PrimitiveText implements ISCH_PrimitiveAPI {
|
|
|
7424
7424
|
* @param bold - 是否加粗
|
|
7425
7425
|
* @param italic - 是否斜体
|
|
7426
7426
|
* @param underLine - 是否加下划线
|
|
7427
|
-
* @param alignMode - 对齐模式,`0` 左顶,`1`
|
|
7427
|
+
* @param alignMode - 对齐模式,`0` 左顶,`1` 中顶,`2` 右顶,`3` 左中,`4` 中中,`5` 右中,`6` 左底,`7` 中底,`8` 右底
|
|
7428
7428
|
* @returns 文本图元对象
|
|
7429
7429
|
*/
|
|
7430
7430
|
create(x: number, y: number, content: string, rotation?: number, textColor?: string | null, fontName?: string | null, fontSize?: number | null, bold?: boolean, italic?: boolean, underLine?: boolean, alignMode?: number): ISCH_PrimitiveText | undefined;
|
|
@@ -8296,7 +8296,7 @@ declare class SYS_WebSocket {
|
|
|
8296
8296
|
* 注册 WebSocket 连接
|
|
8297
8297
|
*
|
|
8298
8298
|
* @public
|
|
8299
|
-
* @remarks
|
|
8299
|
+
* @remarks 可以用来执行前检测 WebSocket 连接是否正常,但需要注意 **不要尝试相同 ID 不同参数的连接**,这会造成混乱:如果存在指定 ID 且处于活跃状态中的 WebSocket 连接,那么其余参数的变更将不会被应用
|
|
8300
8300
|
* @param id - 自定义 WebSocket ID
|
|
8301
8301
|
* @param serviceUri - WebSocket 服务地址
|
|
8302
8302
|
* @param receiveMessageCallFn - 接收到消息时的回调函数
|
|
@@ -8481,7 +8481,7 @@ declare type TPCB_PolygonSourceArray = Array<'L' | 'ARC' | 'CARC' | 'C' | 'R' |
|
|
|
8481
8481
|
*
|
|
8482
8482
|
* @public
|
|
8483
8483
|
* @remarks
|
|
8484
|
-
* 尺寸标注坐标集存在以下三种 {@link EPCB_PrimitiveDimensionType |
|
|
8484
|
+
* 尺寸标注坐标集存在以下三种 {@link EPCB_PrimitiveDimensionType | 尺���标注类型}:
|
|
8485
8485
|
*
|
|
8486
8486
|
* ① 半径标注
|
|
8487
8487
|
*
|