@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.
@@ -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
- componentId?: undefined;
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;
@@ -14,6 +14,9 @@ export function getSchema(uiSchema: any, ctx: any): Promise<{
14
14
  data: {
15
15
  $master: string;
16
16
  "&": string;
17
+ objectName: string;
18
+ context: string;
19
+ listViewId: string;
17
20
  };
18
21
  title: string;
19
22
  bodyClassName: 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;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@steedos-widgets/amis-lib",
3
3
  "private": false,
4
- "version": "0.0.14",
4
+ "version": "0.0.15",
5
5
  "unpkg": "./dist/index.umd.js",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.esm.js",