@lark-project/js-sdk 2.0.16-dev.builder.1 → 2.0.16-dev.builder.3
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 +11 -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
|
@@ -803,6 +803,14 @@ interface BuilderComponentFeatureContext {
|
|
|
803
803
|
* builder 组件当前所属空间标识
|
|
804
804
|
*/
|
|
805
805
|
spaceId: string;
|
|
806
|
+
/**
|
|
807
|
+
* builder 组件当前所属轻应用标识
|
|
808
|
+
*/
|
|
809
|
+
appId: string;
|
|
810
|
+
/**
|
|
811
|
+
* builder 组件当前所属轻应用下页面标识
|
|
812
|
+
*/
|
|
813
|
+
pageId: string;
|
|
806
814
|
}
|
|
807
815
|
/**
|
|
808
816
|
* builder 组件属性值类型
|
|
@@ -852,6 +860,7 @@ type BuilderPropField = {
|
|
|
852
860
|
fieldClass: 'field' | 'role';
|
|
853
861
|
fieldKey: string;
|
|
854
862
|
roleId: string;
|
|
863
|
+
display?: boolean;
|
|
855
864
|
};
|
|
856
865
|
type BuilderPropWorkItemTypeWithField = BuilderPropWorkItemType & {
|
|
857
866
|
fieldList: BuilderPropField[];
|
|
@@ -901,6 +910,7 @@ type BuilderCompLayoutConfig =
|
|
|
901
910
|
{
|
|
902
911
|
mode: 0;
|
|
903
912
|
staticHeight: number;
|
|
913
|
+
staticWidth: number;
|
|
904
914
|
}
|
|
905
915
|
/** 栅格模式 */
|
|
906
916
|
| {
|
|
@@ -2188,7 +2198,7 @@ declare abstract class BuilderComponent extends BaseModel {
|
|
|
2188
2198
|
* - layout
|
|
2189
2199
|
* 暂时不支持指定多组预设值/指定预设id(统一走 default),未来视诉求开放
|
|
2190
2200
|
*/
|
|
2191
|
-
abstract getPreset: (propKeys?: string[]) => Promise<BuilderComponentPreset>;
|
|
2201
|
+
abstract getPreset: (propKeys?: string | string[]) => Promise<BuilderComponentPreset>;
|
|
2192
2202
|
}
|
|
2193
2203
|
|
|
2194
2204
|
/**
|