@steedos-widgets/amis-lib 0.0.14 → 0.0.15
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 +47 -15
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +51 -19
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +53 -21
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +53 -21
- package/dist/types/lib/converter/amis/fields_filter.d.ts +36 -2
- package/dist/types/lib/objects.d.ts +8 -0
- package/dist/types/lib/objectsRelated.d.ts +1 -1
- package/dist/types/schema/standard_new.amis.d.ts +3 -0
- package/dist/types/standard/button.d.ts +4 -0
- package/package.json +1 -1
|
@@ -45,6 +45,14 @@ export function getObjectFieldsFilterFormSchema(objectSchema: any, fields: any,
|
|
|
45
45
|
clearValueOnHidden: boolean;
|
|
46
46
|
fieldName: any;
|
|
47
47
|
})[];
|
|
48
|
+
onEvent: {
|
|
49
|
+
broadcastSearchableFieldsChange: {
|
|
50
|
+
actions: {
|
|
51
|
+
actionType: string;
|
|
52
|
+
script: string;
|
|
53
|
+
}[];
|
|
54
|
+
};
|
|
55
|
+
};
|
|
48
56
|
}>;
|
|
49
57
|
export function getObjectFieldsFilterBarSchema(objectSchema: any, fields: any, ctx: any): Promise<{
|
|
50
58
|
type: string;
|
|
@@ -89,6 +97,14 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, fields: any, c
|
|
|
89
97
|
clearValueOnHidden: boolean;
|
|
90
98
|
fieldName: any;
|
|
91
99
|
})[];
|
|
100
|
+
onEvent: {
|
|
101
|
+
broadcastSearchableFieldsChange: {
|
|
102
|
+
actions: {
|
|
103
|
+
actionType: string;
|
|
104
|
+
script: string;
|
|
105
|
+
}[];
|
|
106
|
+
};
|
|
107
|
+
};
|
|
92
108
|
}[];
|
|
93
109
|
size: string;
|
|
94
110
|
visibleOn: string;
|
|
@@ -187,13 +203,30 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, fields: any, c
|
|
|
187
203
|
actions: ({
|
|
188
204
|
actionType: string;
|
|
189
205
|
script: string;
|
|
190
|
-
|
|
206
|
+
eventName?: undefined;
|
|
191
207
|
args?: undefined;
|
|
208
|
+
data?: undefined;
|
|
209
|
+
componentId?: undefined;
|
|
210
|
+
} | {
|
|
211
|
+
actionType: string;
|
|
212
|
+
eventName: string;
|
|
213
|
+
args: {
|
|
214
|
+
eventName: string;
|
|
215
|
+
};
|
|
216
|
+
data: {
|
|
217
|
+
fields: string;
|
|
218
|
+
};
|
|
219
|
+
script?: undefined;
|
|
220
|
+
componentId?: undefined;
|
|
192
221
|
} | {
|
|
193
222
|
componentId: string;
|
|
194
|
-
args: {
|
|
223
|
+
args: {
|
|
224
|
+
eventName?: undefined;
|
|
225
|
+
};
|
|
195
226
|
actionType: string;
|
|
196
227
|
script?: undefined;
|
|
228
|
+
eventName?: undefined;
|
|
229
|
+
data?: undefined;
|
|
197
230
|
})[];
|
|
198
231
|
};
|
|
199
232
|
};
|
|
@@ -235,3 +268,4 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, fields: any, c
|
|
|
235
268
|
visibleOn: string;
|
|
236
269
|
className: string;
|
|
237
270
|
}>;
|
|
271
|
+
export function resetLocalListViewPropsWithSearchableFields(listViewId: any, searchableFields: any): void;
|
|
@@ -377,5 +377,13 @@ export function getSearchableFieldsFilterSchema(objectSchema: any, fields: any,
|
|
|
377
377
|
clearValueOnHidden: boolean;
|
|
378
378
|
fieldName: any;
|
|
379
379
|
})[];
|
|
380
|
+
onEvent: {
|
|
381
|
+
broadcastSearchableFieldsChange: {
|
|
382
|
+
actions: {
|
|
383
|
+
actionType: string;
|
|
384
|
+
script: string;
|
|
385
|
+
}[];
|
|
386
|
+
};
|
|
387
|
+
};
|
|
380
388
|
}>;
|
|
381
389
|
export function setUISchemaFunction(fun: any): void;
|
|
@@ -51,7 +51,7 @@ export function getAmisObjectRelatedList(appName: any, objectName: any, recordId
|
|
|
51
51
|
isCustom?: undefined;
|
|
52
52
|
};
|
|
53
53
|
})[]>;
|
|
54
|
-
export function getRecordDetailRelatedListSchema(objectName: any, recordId: any, relatedObjectName: any, relatedKey: any, top: any): Promise<{
|
|
54
|
+
export function getRecordDetailRelatedListSchema(objectName: any, recordId: any, relatedObjectName: any, relatedKey: any, top: any, hiddenEmptyTable: any): Promise<{
|
|
55
55
|
uiSchema: any;
|
|
56
56
|
amisSchema: {
|
|
57
57
|
type: string;
|
|
@@ -17,6 +17,9 @@ export namespace StandardButtons {
|
|
|
17
17
|
data: {
|
|
18
18
|
$master: string;
|
|
19
19
|
"&": string;
|
|
20
|
+
objectName: string;
|
|
21
|
+
context: string;
|
|
22
|
+
listViewId: string;
|
|
20
23
|
};
|
|
21
24
|
title: string;
|
|
22
25
|
bodyClassName: string;
|
|
@@ -146,6 +149,7 @@ export namespace StandardButtons {
|
|
|
146
149
|
}>;
|
|
147
150
|
function getStandardDeleteMany(uiSchema: any, ctx: any): Promise<{
|
|
148
151
|
type: string;
|
|
152
|
+
todo: () => void;
|
|
149
153
|
}>;
|
|
150
154
|
function getStandardImportData(uiSchema: any, ctx: any): Promise<{
|
|
151
155
|
type: string;
|