@lark-project/js-sdk 2.1.0 → 2.1.1-dev.1
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 +6 -1
- package/dist/lib/index.js +7 -1
- package/dist/types/index.d.ts +20 -1
- package/package.json +1 -1
package/dist/es/index.js
CHANGED
|
@@ -683,7 +683,7 @@ var SDKClient = _SDKClient;
|
|
|
683
683
|
/**
|
|
684
684
|
* SDK 版本号
|
|
685
685
|
*/
|
|
686
|
-
SDKClient.version = "2.1.
|
|
686
|
+
SDKClient.version = "2.1.1-dev.1";
|
|
687
687
|
|
|
688
688
|
// src/types/biz.ts
|
|
689
689
|
var AttributeType = /* @__PURE__ */ ((AttributeType2) => {
|
|
@@ -730,6 +730,10 @@ var NodeStatus = /* @__PURE__ */ ((NodeStatus2) => {
|
|
|
730
730
|
NodeStatus2[NodeStatus2["passed"] = 3] = "passed";
|
|
731
731
|
return NodeStatus2;
|
|
732
732
|
})(NodeStatus || {});
|
|
733
|
+
var EventType = /* @__PURE__ */ ((EventType2) => {
|
|
734
|
+
EventType2["clickOutside"] = "clickOutside";
|
|
735
|
+
return EventType2;
|
|
736
|
+
})(EventType || {});
|
|
733
737
|
|
|
734
738
|
// src/types/features.ts
|
|
735
739
|
var ButtonScene = /* @__PURE__ */ ((ButtonScene2) => {
|
|
@@ -883,6 +887,7 @@ export {
|
|
|
883
887
|
CustomComponent,
|
|
884
888
|
CustomComponentType,
|
|
885
889
|
CustomField,
|
|
890
|
+
EventType,
|
|
886
891
|
Field,
|
|
887
892
|
FieldType,
|
|
888
893
|
FlowMode,
|
package/dist/lib/index.js
CHANGED
|
@@ -62,6 +62,7 @@ __export(src_exports, {
|
|
|
62
62
|
CustomComponent: () => CustomComponent,
|
|
63
63
|
CustomComponentType: () => CustomComponentType,
|
|
64
64
|
CustomField: () => CustomField,
|
|
65
|
+
EventType: () => EventType,
|
|
65
66
|
Field: () => Field,
|
|
66
67
|
FieldType: () => FieldType,
|
|
67
68
|
FlowMode: () => FlowMode,
|
|
@@ -752,7 +753,7 @@ var SDKClient = _SDKClient;
|
|
|
752
753
|
/**
|
|
753
754
|
* SDK 版本号
|
|
754
755
|
*/
|
|
755
|
-
SDKClient.version = "2.1.
|
|
756
|
+
SDKClient.version = "2.1.1-dev.1";
|
|
756
757
|
|
|
757
758
|
// src/types/biz.ts
|
|
758
759
|
var AttributeType = /* @__PURE__ */ ((AttributeType2) => {
|
|
@@ -799,6 +800,10 @@ var NodeStatus = /* @__PURE__ */ ((NodeStatus2) => {
|
|
|
799
800
|
NodeStatus2[NodeStatus2["passed"] = 3] = "passed";
|
|
800
801
|
return NodeStatus2;
|
|
801
802
|
})(NodeStatus || {});
|
|
803
|
+
var EventType = /* @__PURE__ */ ((EventType2) => {
|
|
804
|
+
EventType2["clickOutside"] = "clickOutside";
|
|
805
|
+
return EventType2;
|
|
806
|
+
})(EventType || {});
|
|
802
807
|
|
|
803
808
|
// src/types/features.ts
|
|
804
809
|
var ButtonScene = /* @__PURE__ */ ((ButtonScene2) => {
|
|
@@ -953,6 +958,7 @@ var src_default = SDKClient;
|
|
|
953
958
|
CustomComponent,
|
|
954
959
|
CustomComponentType,
|
|
955
960
|
CustomField,
|
|
961
|
+
EventType,
|
|
956
962
|
Field,
|
|
957
963
|
FieldType,
|
|
958
964
|
FlowMode,
|
package/dist/types/index.d.ts
CHANGED
|
@@ -313,6 +313,25 @@ type Language = 'zh_CN' | 'en_US' | 'ja_JP';
|
|
|
313
313
|
* 颜色方案
|
|
314
314
|
*/
|
|
315
315
|
type ColorScheme = 'light' | 'dark';
|
|
316
|
+
/**
|
|
317
|
+
* @public
|
|
318
|
+
* 监听事件类型
|
|
319
|
+
*/
|
|
320
|
+
declare enum EventType {
|
|
321
|
+
/**
|
|
322
|
+
* 外部点击事件
|
|
323
|
+
*/
|
|
324
|
+
clickOutside = "clickOutside"
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* @public
|
|
328
|
+
* 事件 payload 映射
|
|
329
|
+
*/
|
|
330
|
+
interface EventPayloadMap {
|
|
331
|
+
[EventType.clickOutside]: {
|
|
332
|
+
timestamp: number;
|
|
333
|
+
};
|
|
334
|
+
}
|
|
316
335
|
|
|
317
336
|
/**
|
|
318
337
|
* 集成构成
|
|
@@ -2470,4 +2489,4 @@ declare class NotSupportedError extends CustomError {
|
|
|
2470
2489
|
* @packageDocumentation
|
|
2471
2490
|
*/
|
|
2472
2491
|
|
|
2473
|
-
export { ActionSheet, ActionSheetOptions, AttributeType, BatchButtonFeatureContext, BizLine, BriefField, BriefNode, BriefSpace, BriefTemplate, BriefView, BriefWorkItem, BriefWorkObject, BuilderComponent, Button, ButtonFeatureContext, ButtonScene, Clipboard, ColorScheme, ComponentScheduleIdentity, ComponentScheduleScene, Configuration, ConfigurationFeatureContext, ContainerModal, ContainerModalConfigureOptions, Context, Control, ControlFeatureContext, CreateButtonFeatureContext, CustomComponent, CustomComponentFeatureContext, CustomComponentProps, CustomComponentType, CustomField, CustomFieldConfig, CustomFieldFeatureContext, CustomFieldProps, CustomFieldValidateMsg, CustomFieldValueType, ExCompoundFieldValueType, Field, FieldType, FieldValue, FlowMode, I18nTitleConfig, IMPL_KEY, IPluginCustomBuildConfig, IRichTextEditorImageUploadComplete, IntegrationFeatureContext, Intercept, InterceptEvent, InterceptFeatureContext, InternalError, InvalidParamsError, Language, LiteAppCompLayoutConfig, LiteAppCompPropBriefConfig, LiteAppCompPropFullConfig, LiteAppCompPropSelectConfig, LiteAppCompPropValueType, LiteAppComponentConfig, LiteAppComponentFeatureContext, LiteAppComponentPreset, LiteAppComponentProps, LiteAppPropBoolean, LiteAppPropDateRange, LiteAppPropDateWithTime, LiteAppPropField, LiteAppPropLayout, LiteAppPropMultiSelect, LiteAppPropNumber, LiteAppPropSelect, LiteAppPropTemplateType, LiteAppPropText, LiteAppPropView, LiteAppPropWorkItemInstance, LiteAppPropWorkItemListAfterFilter, LiteAppPropWorkItemListAfterSort, LiteAppPropWorkItemType, MEEGO_BIZ_HUB, Modal, ModalConfirmOptions, ModalOpenOptions, Navigation, NoAuthError, NodeStatus, NotFoundError, NotSupportedError, Off, OutOfLimitError, Page, PageFeatureContext, RichTextEditor, RichTextEditorContent, RichTextEditorOptions, Role, RoleOwners, SDKClient, SDKClientOptions, ScheduleCompValidateMsg, ScheduleCompValueType, ScheduleUnitButtonFeatureContext, Script, ScriptFeatureContext, Shared, Space, Storage, SubFieldType, Tab, TabFeatureContext, Toast, ToastOptions, User, UserInfo, Utils, View, ViewFeatureContext, WbsStatus, WorkItem, WorkItemButtonFeatureContext, WorkItemCreateFormPreset, WorkItemFinder, WorkItemFinderOptions, WorkObject, SDKClient as default, unwatch };
|
|
2492
|
+
export { ActionSheet, ActionSheetOptions, AttributeType, BatchButtonFeatureContext, BizLine, BriefField, BriefNode, BriefSpace, BriefTemplate, BriefView, BriefWorkItem, BriefWorkObject, BuilderComponent, Button, ButtonFeatureContext, ButtonScene, Clipboard, ColorScheme, ComponentScheduleIdentity, ComponentScheduleScene, Configuration, ConfigurationFeatureContext, ContainerModal, ContainerModalConfigureOptions, Context, Control, ControlFeatureContext, CreateButtonFeatureContext, CustomComponent, CustomComponentFeatureContext, CustomComponentProps, CustomComponentType, CustomField, CustomFieldConfig, CustomFieldFeatureContext, CustomFieldProps, CustomFieldValidateMsg, CustomFieldValueType, EventPayloadMap, EventType, ExCompoundFieldValueType, Field, FieldType, FieldValue, FlowMode, I18nTitleConfig, IMPL_KEY, IPluginCustomBuildConfig, IRichTextEditorImageUploadComplete, IntegrationFeatureContext, Intercept, InterceptEvent, InterceptFeatureContext, InternalError, InvalidParamsError, Language, LiteAppCompLayoutConfig, LiteAppCompPropBriefConfig, LiteAppCompPropFullConfig, LiteAppCompPropSelectConfig, LiteAppCompPropValueType, LiteAppComponentConfig, LiteAppComponentFeatureContext, LiteAppComponentPreset, LiteAppComponentProps, LiteAppPropBoolean, LiteAppPropDateRange, LiteAppPropDateWithTime, LiteAppPropField, LiteAppPropLayout, LiteAppPropMultiSelect, LiteAppPropNumber, LiteAppPropSelect, LiteAppPropTemplateType, LiteAppPropText, LiteAppPropView, LiteAppPropWorkItemInstance, LiteAppPropWorkItemListAfterFilter, LiteAppPropWorkItemListAfterSort, LiteAppPropWorkItemType, MEEGO_BIZ_HUB, Modal, ModalConfirmOptions, ModalOpenOptions, Navigation, NoAuthError, NodeStatus, NotFoundError, NotSupportedError, Off, OutOfLimitError, Page, PageFeatureContext, RichTextEditor, RichTextEditorContent, RichTextEditorOptions, Role, RoleOwners, SDKClient, SDKClientOptions, ScheduleCompValidateMsg, ScheduleCompValueType, ScheduleUnitButtonFeatureContext, Script, ScriptFeatureContext, Shared, Space, Storage, SubFieldType, Tab, TabFeatureContext, Toast, ToastOptions, User, UserInfo, Utils, View, ViewFeatureContext, WbsStatus, WorkItem, WorkItemButtonFeatureContext, WorkItemCreateFormPreset, WorkItemFinder, WorkItemFinderOptions, WorkObject, SDKClient as default, unwatch };
|