@lark-project/js-sdk 2.0.5 → 2.0.6-alpha.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 CHANGED
@@ -614,7 +614,7 @@ var SDKClient = _SDKClient;
614
614
  /**
615
615
  * SDK 版本号
616
616
  */
617
- SDKClient.version = "2.0.5";
617
+ SDKClient.version = "2.0.6-alpha.0";
618
618
 
619
619
  // src/types/biz.ts
620
620
  var AttributeType = /* @__PURE__ */ ((AttributeType2) => {
package/dist/lib/index.js CHANGED
@@ -676,7 +676,7 @@ var SDKClient = _SDKClient;
676
676
  /**
677
677
  * SDK 版本号
678
678
  */
679
- SDKClient.version = "2.0.5";
679
+ SDKClient.version = "2.0.6-alpha.0";
680
680
 
681
681
  // src/types/biz.ts
682
682
  var AttributeType = /* @__PURE__ */ ((AttributeType2) => {
@@ -1171,6 +1171,11 @@ declare abstract class Modal extends BaseModel {
1171
1171
  }>;
1172
1172
  }
1173
1173
 
1174
+ interface IRichTextEditorImageUploadComplete {
1175
+ code: number;
1176
+ errMsg: string;
1177
+ responseData: any;
1178
+ }
1174
1179
  /**
1175
1180
  * RichTextEditor 配置
1176
1181
  */
@@ -1208,6 +1213,12 @@ interface RichTextEditorOptions {
1208
1213
  * token 会通过 request header 的 x-plugin-custom-token 提供
1209
1214
  */
1210
1215
  token?: string;
1216
+ /**
1217
+ * 上传完成回调
1218
+ * @param info
1219
+ * @returns
1220
+ */
1221
+ onUploadComplete?: (info: IRichTextEditorImageUploadComplete) => void;
1211
1222
  };
1212
1223
  }
1213
1224
  /**
@@ -1752,4 +1763,4 @@ declare class NotSupportedError extends CustomError {
1752
1763
  * @packageDocumentation
1753
1764
  */
1754
1765
 
1755
- export { ActionSheet, ActionSheetOptions, AttributeType, BizLine, BriefField, BriefNode, BriefSpace, BriefTemplate, BriefView, BriefWorkItem, BriefWorkObject, Button, ButtonFeatureContext, ButtonScene, Clipboard, ColorScheme, Configuration, ConfigurationFeatureContext, ContainerModal, Context, Control, ControlFeatureContext, CreateButtonFeatureContext, Field, FieldType, FlowMode, IMPL_KEY, IPluginCustomBuildConfig, 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, Shared, Space, Storage, Tab, TabFeatureContext, Toast, ToastOptions, User, Utils, View, ViewFeatureContext, WorkItem, WorkItemButtonFeatureContext, WorkItemCreateFormPreset, WorkItemFinder, WorkItemFinderOptions, WorkObject, SDKClient as default, unwatch };
1766
+ export { ActionSheet, ActionSheetOptions, AttributeType, BizLine, BriefField, BriefNode, BriefSpace, BriefTemplate, BriefView, BriefWorkItem, BriefWorkObject, Button, ButtonFeatureContext, ButtonScene, Clipboard, ColorScheme, Configuration, ConfigurationFeatureContext, ContainerModal, Context, Control, ControlFeatureContext, CreateButtonFeatureContext, 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, Shared, Space, Storage, Tab, TabFeatureContext, Toast, ToastOptions, User, Utils, View, ViewFeatureContext, WorkItem, WorkItemButtonFeatureContext, WorkItemCreateFormPreset, WorkItemFinder, WorkItemFinderOptions, WorkObject, SDKClient as default, unwatch };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-project/js-sdk",
3
- "version": "2.0.5",
3
+ "version": "2.0.6-alpha.0",
4
4
  "runtimeMinVersions": {
5
5
  "web": "2.1.0",
6
6
  "mobile": "1.1.0"