@lark-project/js-sdk 2.0.14 → 2.0.16-dev.0
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 +9 -1
- package/package.json +1 -1
package/dist/es/index.js
CHANGED
package/dist/lib/index.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -441,7 +441,7 @@ interface BatchButtonFeatureContext {
|
|
|
441
441
|
selectedWorkItems: Array<{
|
|
442
442
|
spaceId: string;
|
|
443
443
|
workObjectId: string;
|
|
444
|
-
|
|
444
|
+
selectedWorkItemIds: number[];
|
|
445
445
|
}>;
|
|
446
446
|
}
|
|
447
447
|
/**
|
|
@@ -1429,6 +1429,10 @@ interface ModalOpenOptions<Context> {
|
|
|
1429
1429
|
* @param params 弹窗内调用的 sdk.containerModal.submit 的方法时传入的自定义参数
|
|
1430
1430
|
*/
|
|
1431
1431
|
onSubmit?: (params: unknown) => void;
|
|
1432
|
+
/**
|
|
1433
|
+
* 弹窗被关闭后触发的回调
|
|
1434
|
+
*/
|
|
1435
|
+
afterClose?: () => void;
|
|
1432
1436
|
}
|
|
1433
1437
|
/**
|
|
1434
1438
|
* @public
|
|
@@ -1494,6 +1498,10 @@ interface RichTextEditorOptions {
|
|
|
1494
1498
|
/**
|
|
1495
1499
|
* 额外的上下文
|
|
1496
1500
|
*/
|
|
1501
|
+
/**
|
|
1502
|
+
* 进入编辑时是否自动获取焦点
|
|
1503
|
+
*/
|
|
1504
|
+
autoFocus?: boolean;
|
|
1497
1505
|
context: {
|
|
1498
1506
|
/**
|
|
1499
1507
|
* 空间 id
|