@lark-project/js-sdk 2.0.7 → 2.0.8-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 +28 -2
- package/package.json +1 -1
package/dist/es/index.js
CHANGED
package/dist/lib/index.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -379,10 +379,36 @@ interface CreateButtonFeatureContext {
|
|
|
379
379
|
*/
|
|
380
380
|
viewId?: string;
|
|
381
381
|
}
|
|
382
|
+
/**
|
|
383
|
+
* 视图批量按钮上下文
|
|
384
|
+
* 适用场景:普通视图、工作项主页视图、工作台视图组件
|
|
385
|
+
*/
|
|
386
|
+
interface BatchButtonFeatureContext {
|
|
387
|
+
/**
|
|
388
|
+
* 视图所属空间标识
|
|
389
|
+
*/
|
|
390
|
+
spaceId: string;
|
|
391
|
+
/**
|
|
392
|
+
* 视图所属工作项类型标识
|
|
393
|
+
*/
|
|
394
|
+
workObjectId: string;
|
|
395
|
+
/**
|
|
396
|
+
* 视图标识
|
|
397
|
+
*/
|
|
398
|
+
viewId?: string;
|
|
399
|
+
/**
|
|
400
|
+
* 勾选的工作项实例
|
|
401
|
+
*/
|
|
402
|
+
selectedWorkItems: Array<{
|
|
403
|
+
spaceId: string;
|
|
404
|
+
workObjectId: string;
|
|
405
|
+
workItemIds: number[];
|
|
406
|
+
}>;
|
|
407
|
+
}
|
|
382
408
|
/**
|
|
383
409
|
* 按钮构成
|
|
384
410
|
*/
|
|
385
|
-
type ButtonFeatureContext = WorkItemButtonFeatureContext | CreateButtonFeatureContext;
|
|
411
|
+
type ButtonFeatureContext = WorkItemButtonFeatureContext | CreateButtonFeatureContext | BatchButtonFeatureContext;
|
|
386
412
|
/**
|
|
387
413
|
* 内嵌页面构成
|
|
388
414
|
* 一个单独的导航入口+内嵌页面
|
|
@@ -1957,4 +1983,4 @@ declare class NotSupportedError extends CustomError {
|
|
|
1957
1983
|
* @packageDocumentation
|
|
1958
1984
|
*/
|
|
1959
1985
|
|
|
1960
|
-
export { ActionSheet, ActionSheetOptions, AttributeType, BizLine, BriefField, BriefNode, BriefSpace, BriefTemplate, BriefView, BriefWorkItem, BriefWorkObject, Button, ButtonFeatureContext, ButtonScene, Clipboard, ColorScheme, ComponentScheduleIdentity, ComponentScheduleScene, Configuration, ConfigurationFeatureContext, ContainerModal, Context, Control, ControlFeatureContext, CreateButtonFeatureContext, CustomComponent, CustomComponentFeatureContext, CustomComponentProps, CustomComponentType, Field, FieldType, FlowMode, IMPL_KEY, IPluginCustomBuildConfig, IRichTextEditorImageUploadComplete, IntegrationFeatureContext, Intercept, InterceptEvent, InterceptFeatureContext, InternalError, InvalidParamsError, Language, MEEGO_BIZ_HUB, Modal, ModalConfirmOptions, ModalOpenOptions, Navigation, NoAuthError, NodeStatus, NotFoundError, NotSupportedError, Off, OutOfLimitError, Page, PageFeatureContext, RichTextEditor, RichTextEditorContent, RichTextEditorOptions, Role, RoleOwners, SDKClient, SDKClientOptions, ScheduleCompValidateMsg, ScheduleCompValueType, Shared, Space, Storage, Tab, TabFeatureContext, Toast, ToastOptions, User, UserInfo, Utils, View, ViewFeatureContext, WbsStatus, WorkItem, WorkItemButtonFeatureContext, WorkItemCreateFormPreset, WorkItemFinder, WorkItemFinderOptions, WorkObject, SDKClient as default, unwatch };
|
|
1986
|
+
export { ActionSheet, ActionSheetOptions, AttributeType, BatchButtonFeatureContext, BizLine, BriefField, BriefNode, BriefSpace, BriefTemplate, BriefView, BriefWorkItem, BriefWorkObject, Button, ButtonFeatureContext, ButtonScene, Clipboard, ColorScheme, ComponentScheduleIdentity, ComponentScheduleScene, Configuration, ConfigurationFeatureContext, ContainerModal, Context, Control, ControlFeatureContext, CreateButtonFeatureContext, CustomComponent, CustomComponentFeatureContext, CustomComponentProps, CustomComponentType, Field, FieldType, FlowMode, IMPL_KEY, IPluginCustomBuildConfig, IRichTextEditorImageUploadComplete, IntegrationFeatureContext, Intercept, InterceptEvent, InterceptFeatureContext, InternalError, InvalidParamsError, Language, MEEGO_BIZ_HUB, Modal, ModalConfirmOptions, ModalOpenOptions, Navigation, NoAuthError, NodeStatus, NotFoundError, NotSupportedError, Off, OutOfLimitError, Page, PageFeatureContext, RichTextEditor, RichTextEditorContent, RichTextEditorOptions, Role, RoleOwners, SDKClient, SDKClientOptions, ScheduleCompValidateMsg, ScheduleCompValueType, Shared, Space, Storage, Tab, TabFeatureContext, Toast, ToastOptions, User, UserInfo, Utils, View, ViewFeatureContext, WbsStatus, WorkItem, WorkItemButtonFeatureContext, WorkItemCreateFormPreset, WorkItemFinder, WorkItemFinderOptions, WorkObject, SDKClient as default, unwatch };
|