@lark-project/js-sdk 2.0.16-alpha.4 → 2.0.16-alpha.6
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/dist/es/index.js +1 -1
- package/dist/lib/index.js +1 -1
- package/dist/types/index.d.ts +7 -3
- package/package.json +1 -1
package/dist/es/index.js
CHANGED
package/dist/lib/index.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -461,18 +461,18 @@ interface ButtonModalOpenOptions<Context> {
|
|
|
461
461
|
*/
|
|
462
462
|
title?: string;
|
|
463
463
|
/**
|
|
464
|
-
*
|
|
464
|
+
* 初始宽度
|
|
465
465
|
* 默认: 448
|
|
466
466
|
*/
|
|
467
467
|
width?: number;
|
|
468
468
|
/**
|
|
469
|
-
*
|
|
469
|
+
* 初始高度
|
|
470
470
|
* 默认: 400
|
|
471
471
|
*/
|
|
472
472
|
height?: number;
|
|
473
473
|
/**
|
|
474
474
|
* 传入 ButtonModal 内的上下文数据
|
|
475
|
-
* 注:传入的数据在
|
|
475
|
+
* 注:传入的数据在 ButtonModal 内是通过 sdk.Context.load().getCustomContext() 来获取的
|
|
476
476
|
*/
|
|
477
477
|
context?: Context;
|
|
478
478
|
/**
|
|
@@ -1530,6 +1530,10 @@ interface RichTextEditorOptions {
|
|
|
1530
1530
|
/**
|
|
1531
1531
|
* 额外的上下文
|
|
1532
1532
|
*/
|
|
1533
|
+
/**
|
|
1534
|
+
* 进入编辑时是否自动获取焦点
|
|
1535
|
+
*/
|
|
1536
|
+
autoFocus?: boolean;
|
|
1533
1537
|
context: {
|
|
1534
1538
|
/**
|
|
1535
1539
|
* 空间 id
|