@lark-project/js-sdk 2.0.18-dev.0 → 2.0.18-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 CHANGED
@@ -689,7 +689,7 @@ var SDKClient = _SDKClient;
689
689
  /**
690
690
  * SDK 版本号
691
691
  */
692
- SDKClient.version = "2.0.18-dev.0";
692
+ SDKClient.version = "2.0.18-dev.1";
693
693
 
694
694
  // src/types/biz.ts
695
695
  var AttributeType = /* @__PURE__ */ ((AttributeType2) => {
@@ -872,6 +872,17 @@ var NotSupportedError = class extends CustomError {
872
872
  }
873
873
  };
874
874
 
875
+ // src/errors/SystemPermissionDeniedError.ts
876
+ var SystemPermissionDeniedError = class extends CustomError {
877
+ constructor(options) {
878
+ super({
879
+ message: "system permission denied",
880
+ originMessage: options.originMessage
881
+ });
882
+ this.name = "SystemPermissionDeniedError";
883
+ }
884
+ };
885
+
875
886
  // src/index.ts
876
887
  var src_default = SDKClient;
877
888
  export {
@@ -913,6 +924,7 @@ export {
913
924
  Shared,
914
925
  Space,
915
926
  Storage,
927
+ SystemPermissionDeniedError,
916
928
  Tab,
917
929
  Toast,
918
930
  Utils,
package/dist/lib/index.js CHANGED
@@ -86,6 +86,7 @@ __export(src_exports, {
86
86
  Shared: () => Shared,
87
87
  Space: () => Space,
88
88
  Storage: () => Storage,
89
+ SystemPermissionDeniedError: () => SystemPermissionDeniedError,
89
90
  Tab: () => Tab,
90
91
  Toast: () => Toast,
91
92
  Utils: () => Utils,
@@ -758,7 +759,7 @@ var SDKClient = _SDKClient;
758
759
  /**
759
760
  * SDK 版本号
760
761
  */
761
- SDKClient.version = "2.0.18-dev.0";
762
+ SDKClient.version = "2.0.18-dev.1";
762
763
 
763
764
  // src/types/biz.ts
764
765
  var AttributeType = /* @__PURE__ */ ((AttributeType2) => {
@@ -941,6 +942,17 @@ var NotSupportedError = class extends CustomError {
941
942
  }
942
943
  };
943
944
 
945
+ // src/errors/SystemPermissionDeniedError.ts
946
+ var SystemPermissionDeniedError = class extends CustomError {
947
+ constructor(options) {
948
+ super({
949
+ message: "system permission denied",
950
+ originMessage: options.originMessage
951
+ });
952
+ this.name = "SystemPermissionDeniedError";
953
+ }
954
+ };
955
+
944
956
  // src/index.ts
945
957
  var src_default = SDKClient;
946
958
  // Annotate the CommonJS export names for ESM import in node:
@@ -983,6 +995,7 @@ var src_default = SDKClient;
983
995
  Shared,
984
996
  Space,
985
997
  Storage,
998
+ SystemPermissionDeniedError,
986
999
  Tab,
987
1000
  Toast,
988
1001
  Utils,
@@ -717,6 +717,11 @@ interface CustomFieldFeatureContext {
717
717
  * 适用场景:详情页为节点流时,且当前拓展字段位于节点表单内,该字段才有数据
718
718
  */
719
719
  nodeId?: string;
720
+ /**
721
+ * 拓展字段所在的业务场景
722
+ * 仅移动端 >= 7.57 版本可用
723
+ */
724
+ bizScene?: 'workItemDetail' | 'createWorkItem' | 'nodeForm' | 'stateForm' | 'nodeDeliverable' | 'taskDeliverable';
720
725
  }
721
726
  type FieldNumberValue = number;
722
727
  type FieldMultiTextValue = string;
@@ -2480,4 +2485,4 @@ declare class NotSupportedError extends CustomError {
2480
2485
  * @packageDocumentation
2481
2486
  */
2482
2487
 
2483
- 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, Geolocation, GeolocationCoordinates, GeolocationPosition, 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, Shared, Space, Storage, SubFieldType, Tab, TabFeatureContext, Toast, ToastOptions, User, UserInfo, Utils, View, ViewFeatureContext, WbsStatus, WorkItem, WorkItemButtonFeatureContext, WorkItemCreateFormPreset, WorkItemFinder, WorkItemFinderOptions, WorkObject, SDKClient as default, unwatch };
2488
+ 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, Geolocation, GeolocationCoordinates, GeolocationPosition, 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, Shared, Space, Storage, SubFieldType, SystemPermissionDeniedError, Tab, TabFeatureContext, Toast, ToastOptions, User, UserInfo, Utils, View, ViewFeatureContext, WbsStatus, 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.18-dev.0",
3
+ "version": "2.0.18-dev.1",
4
4
  "runtimeMinVersions": {
5
5
  "web": "2.1.0",
6
6
  "mobile": "1.1.0"