@steedos-widgets/amis-lib 6.10.1-beta.52 → 6.10.1-beta.53

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.
@@ -5,7 +5,7 @@ export function getAttachments(instance: any): Promise<{
5
5
  bodyClassName: string;
6
6
  title: ({
7
7
  type: string;
8
- tpl: string;
8
+ tpl: any;
9
9
  title?: undefined;
10
10
  body?: undefined;
11
11
  id?: undefined;
@@ -64,7 +64,7 @@ export function getAttachments(instance: any): Promise<{
64
64
  position: string;
65
65
  closeButton: boolean;
66
66
  showIcon: boolean;
67
- msg: string;
67
+ msg: any;
68
68
  };
69
69
  actionType: string;
70
70
  })[];
@@ -106,7 +106,7 @@ export function getAttachments(instance: any): Promise<{
106
106
  }>;
107
107
  export function getAttachmentUploadInput(instance: any): Promise<{
108
108
  type: string;
109
- tpl: string;
109
+ tpl: any;
110
110
  title?: undefined;
111
111
  body?: undefined;
112
112
  id?: undefined;
@@ -165,7 +165,7 @@ export function getAttachmentUploadInput(instance: any): Promise<{
165
165
  position: string;
166
166
  closeButton: boolean;
167
167
  showIcon: boolean;
168
- msg: string;
168
+ msg: any;
169
169
  };
170
170
  actionType: string;
171
171
  })[];
@@ -59,7 +59,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
59
59
  bodyClassName: string;
60
60
  title: ({
61
61
  type: string;
62
- tpl: string;
62
+ tpl: any;
63
63
  title?: undefined;
64
64
  body?: undefined;
65
65
  id?: undefined;
@@ -118,7 +118,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
118
118
  position: string;
119
119
  closeButton: boolean;
120
120
  showIcon: boolean;
121
- msg: string;
121
+ msg: any;
122
122
  };
123
123
  actionType: string;
124
124
  })[];
@@ -221,6 +221,12 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
221
221
  closeOnOutside: boolean;
222
222
  size: string;
223
223
  title: string;
224
+ /**
225
+ * TODO 先将申请单上的字段转化为 steedos field 类型, 只读、编辑 使用 steedos field tpl
226
+ * @param {*} field
227
+ * @param {*} label
228
+ * @returns
229
+ */
224
230
  className: string;
225
231
  headerClassName: string;
226
232
  bodyClassName: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@steedos-widgets/amis-lib",
3
3
  "private": false,
4
- "version": "6.10.1-beta.52",
4
+ "version": "6.10.1-beta.53",
5
5
  "unpkg": "./dist/index.umd.js",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.esm.js",
@@ -61,5 +61,5 @@
61
61
  "lodash": "^4.17.21",
62
62
  "react-i18next": "12.3.1"
63
63
  },
64
- "gitHead": "01b95f4f23898382585824f3daf11ff3851283d1"
64
+ "gitHead": "d397b27be0f7cdae97dc126b9b53f2b9fa8147d2"
65
65
  }