@steedos-widgets/amis-lib 0.0.11 → 0.0.12

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.
@@ -25,6 +25,8 @@ export function getObjectFieldsFilterFormSchema(objectSchema: any, fields: any,
25
25
  mode: string;
26
26
  wrapWithPanel: boolean;
27
27
  className: string;
28
+ persistData: string;
29
+ persistDataKeys: any[];
28
30
  body: ({
29
31
  name: any;
30
32
  label: any;
@@ -48,6 +50,9 @@ export function getObjectFieldsFilterFormSchema(objectSchema: any, fields: any,
48
50
  export function getObjectFieldsFilterBarSchema(objectSchema: any, fields: any, ctx: any): Promise<{
49
51
  type: string;
50
52
  id: string;
53
+ dataProvider: {
54
+ inited: string;
55
+ };
51
56
  body: {
52
57
  type: string;
53
58
  body: {
@@ -62,6 +67,8 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, fields: any, c
62
67
  mode: string;
63
68
  wrapWithPanel: boolean;
64
69
  className: string;
70
+ persistData: string;
71
+ persistDataKeys: any[];
65
72
  body: ({
66
73
  name: any;
67
74
  label: any;
@@ -102,21 +109,112 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, fields: any, c
102
109
  }[];
103
110
  };
104
111
  };
105
- className?: undefined;
112
+ id?: undefined;
106
113
  level?: undefined;
107
114
  } | {
108
115
  type: string;
109
116
  label: string;
110
- className: string;
111
- level: string;
112
117
  onEvent: {
113
118
  click: {
114
119
  actions: {
115
120
  actionType: string;
116
- script: string;
121
+ dialog: {
122
+ type: string;
123
+ size: string;
124
+ title: string;
125
+ body: {
126
+ type: string;
127
+ title: string;
128
+ body: {
129
+ label: string;
130
+ type: string;
131
+ name: string;
132
+ id: string;
133
+ source: {
134
+ method: string;
135
+ url: string;
136
+ dataType: string;
137
+ headers: {
138
+ Authorization: string;
139
+ };
140
+ data: any;
141
+ requestAdaptor: string;
142
+ adaptor: string;
143
+ };
144
+ options: any[];
145
+ required: boolean;
146
+ placeholder: string;
147
+ className: string;
148
+ checkAll: boolean;
149
+ searchable: boolean;
150
+ sortable: boolean;
151
+ joinValues: boolean;
152
+ extractValue: boolean;
153
+ multiple: boolean;
154
+ }[];
155
+ id: string;
156
+ mode: string;
157
+ persistData: boolean;
158
+ promptPageLeave: boolean;
159
+ name: string;
160
+ debug: boolean;
161
+ actions: any[];
162
+ panelClassName: string;
163
+ bodyClassName: string;
164
+ className: string;
165
+ }[];
166
+ id: string;
167
+ actions: ({
168
+ type: string;
169
+ label: string;
170
+ onEvent: {
171
+ click: {
172
+ actions: {
173
+ componentId: string;
174
+ args: {};
175
+ actionType: string;
176
+ }[];
177
+ };
178
+ };
179
+ id: string;
180
+ level?: undefined;
181
+ } | {
182
+ type: string;
183
+ label: string;
184
+ onEvent: {
185
+ click: {
186
+ actions: ({
187
+ actionType: string;
188
+ script: string;
189
+ componentId?: undefined;
190
+ args?: undefined;
191
+ } | {
192
+ componentId: string;
193
+ args: {};
194
+ actionType: string;
195
+ script?: undefined;
196
+ })[];
197
+ };
198
+ };
199
+ id: string;
200
+ level: string;
201
+ })[];
202
+ closeOnEsc: boolean;
203
+ closeOnOutside: boolean;
204
+ showCloseButton: boolean;
205
+ data: {
206
+ "&": string;
207
+ objectName: string;
208
+ listName: string;
209
+ context: string;
210
+ fields: string;
211
+ };
212
+ };
117
213
  }[];
118
214
  };
119
215
  };
216
+ id: string;
217
+ level: string;
120
218
  icon?: undefined;
121
219
  visibleOn?: undefined;
122
220
  })[];
@@ -360,6 +360,8 @@ export function getSearchableFieldsFilterSchema(objectSchema: any, fields: any,
360
360
  mode: string;
361
361
  wrapWithPanel: boolean;
362
362
  className: string;
363
+ persistData: string;
364
+ persistDataKeys: any[];
363
365
  body: ({
364
366
  name: any;
365
367
  label: any;
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.11",
4
+ "version": "0.0.12",
5
5
  "unpkg": "./dist/index.umd.js",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.esm.js",