@steedos-widgets/amis-lib 0.0.12 → 0.0.13
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/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/index.cjs.js +40 -33
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +40 -33
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +63 -56
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +63 -56
- package/dist/types/lib/converter/amis/header.d.ts +0 -13
- package/dist/types/lib/converter/amis/index.d.ts +6 -5
- package/dist/types/lib/objects.d.ts +7 -18
- package/dist/types/lib/objectsRelated.d.ts +1 -0
- package/dist/types/lib/page_init.d.ts +10 -0
- package/package.json +1 -1
|
@@ -218,19 +218,6 @@ export function getObjectRecordDetailHeader(objectSchema: any, recordId: any): P
|
|
|
218
218
|
bodyClassName: string;
|
|
219
219
|
}[];
|
|
220
220
|
messages: {};
|
|
221
|
-
api: {
|
|
222
|
-
method: string;
|
|
223
|
-
url: string;
|
|
224
|
-
headers: {
|
|
225
|
-
Authorization: string;
|
|
226
|
-
};
|
|
227
|
-
data: {
|
|
228
|
-
query: string;
|
|
229
|
-
};
|
|
230
|
-
sendOn: string;
|
|
231
|
-
requestAdaptor: string;
|
|
232
|
-
adaptor: string;
|
|
233
|
-
};
|
|
234
221
|
}[];
|
|
235
222
|
}>;
|
|
236
223
|
/**
|
|
@@ -13,6 +13,7 @@ export function getObjectList(objectSchema: any, fields: any, options: any): Pro
|
|
|
13
13
|
_id: any;
|
|
14
14
|
recordPermissions: any;
|
|
15
15
|
uiSchema: any;
|
|
16
|
+
loaded: boolean;
|
|
16
17
|
};
|
|
17
18
|
body: {};
|
|
18
19
|
}>;
|
|
@@ -110,13 +111,13 @@ export function getObjectDetail(objectSchema: any, recordId: any, ctx: any): Pro
|
|
|
110
111
|
fetchInited: {
|
|
111
112
|
weight: number;
|
|
112
113
|
actions: {
|
|
113
|
-
componentId: string;
|
|
114
114
|
actionType: string;
|
|
115
|
+
eventName: string;
|
|
115
116
|
args: {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
eventName: string;
|
|
118
|
+
};
|
|
119
|
+
data: {
|
|
120
|
+
record: string;
|
|
120
121
|
};
|
|
121
122
|
}[];
|
|
122
123
|
};
|
|
@@ -101,13 +101,13 @@ export function getViewSchema(objectName: any, recordId: any, ctx: any): Promise
|
|
|
101
101
|
fetchInited: {
|
|
102
102
|
weight: number;
|
|
103
103
|
actions: {
|
|
104
|
-
componentId: string;
|
|
105
104
|
actionType: string;
|
|
105
|
+
eventName: string;
|
|
106
106
|
args: {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
107
|
+
eventName: string;
|
|
108
|
+
};
|
|
109
|
+
data: {
|
|
110
|
+
record: string;
|
|
111
111
|
};
|
|
112
112
|
}[];
|
|
113
113
|
};
|
|
@@ -152,6 +152,7 @@ export function getTableSchema(appName: any, objectName: any, columns: any, ctx?
|
|
|
152
152
|
_id: any;
|
|
153
153
|
recordPermissions: any;
|
|
154
154
|
uiSchema: any;
|
|
155
|
+
loaded: boolean;
|
|
155
156
|
};
|
|
156
157
|
body: {};
|
|
157
158
|
};
|
|
@@ -246,19 +247,6 @@ export function getRecordDetailHeaderSchema(objectName: any, recordId: any): Pro
|
|
|
246
247
|
bodyClassName: string;
|
|
247
248
|
}[];
|
|
248
249
|
messages: {};
|
|
249
|
-
api: {
|
|
250
|
-
method: string;
|
|
251
|
-
url: string;
|
|
252
|
-
headers: {
|
|
253
|
-
Authorization: string;
|
|
254
|
-
};
|
|
255
|
-
data: {
|
|
256
|
-
query: string;
|
|
257
|
-
};
|
|
258
|
-
sendOn: string;
|
|
259
|
-
requestAdaptor: string;
|
|
260
|
-
adaptor: string;
|
|
261
|
-
};
|
|
262
250
|
}[];
|
|
263
251
|
};
|
|
264
252
|
}>;
|
|
@@ -287,6 +275,7 @@ export function getObjectRelatedList(appName: any, objectName: any, recordId: an
|
|
|
287
275
|
_id: any;
|
|
288
276
|
recordPermissions: any;
|
|
289
277
|
uiSchema: any;
|
|
278
|
+
loaded: boolean;
|
|
290
279
|
};
|
|
291
280
|
body: {};
|
|
292
281
|
};
|
|
@@ -166,6 +166,16 @@ export function getRecordPageInitSchema(objectApiName: any): Promise<{
|
|
|
166
166
|
label: string;
|
|
167
167
|
objectApiName: string;
|
|
168
168
|
recordId: string;
|
|
169
|
+
onEvent: {
|
|
170
|
+
recordLoaded: {
|
|
171
|
+
actions: {
|
|
172
|
+
actionType: string;
|
|
173
|
+
data: {
|
|
174
|
+
name: string;
|
|
175
|
+
};
|
|
176
|
+
}[];
|
|
177
|
+
};
|
|
178
|
+
};
|
|
169
179
|
}[];
|
|
170
180
|
}>;
|
|
171
181
|
export function getListviewInitSchema(objectApiName: any, listViewName: any, ctx: any): Promise<{
|