@steedos-widgets/amis-lib 1.2.10 → 1.2.11

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.
@@ -66,9 +66,9 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
66
66
  type: string;
67
67
  body: ({
68
68
  type: string;
69
+ id: string;
69
70
  label: string;
70
71
  icon: string;
71
- visibleOn: string;
72
72
  onEvent: {
73
73
  click: {
74
74
  actions: {
@@ -78,13 +78,11 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
78
78
  };
79
79
  };
80
80
  name?: undefined;
81
- id?: undefined;
82
81
  level?: undefined;
83
82
  } | {
84
83
  type: string;
85
84
  label: string;
86
85
  name: string;
87
- visibleOn: string;
88
86
  onEvent: {
89
87
  click: {
90
88
  actions: {
@@ -93,8 +91,8 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
93
91
  }[];
94
92
  };
95
93
  };
96
- icon?: undefined;
97
94
  id?: undefined;
95
+ icon?: undefined;
98
96
  level?: undefined;
99
97
  } | {
100
98
  type: string;
@@ -175,6 +173,11 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
175
173
  script: string;
176
174
  componentId?: undefined;
177
175
  args?: undefined;
176
+ } | {
177
+ actionType: string;
178
+ componentId: string;
179
+ script?: undefined;
180
+ args?: undefined;
178
181
  } | {
179
182
  componentId: string;
180
183
  args: {};
@@ -206,7 +209,6 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
206
209
  id: string;
207
210
  level: string;
208
211
  icon?: undefined;
209
- visibleOn?: undefined;
210
212
  name?: undefined;
211
213
  })[];
212
214
  size: string;
@@ -201,9 +201,9 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
201
201
  type: string;
202
202
  body: ({
203
203
  type: string;
204
+ id: string;
204
205
  label: string;
205
206
  icon: string;
206
- visibleOn: string;
207
207
  onEvent: {
208
208
  click: {
209
209
  actions: {
@@ -213,13 +213,11 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
213
213
  };
214
214
  };
215
215
  name?: undefined;
216
- id?: undefined;
217
216
  level?: undefined;
218
217
  } | {
219
218
  type: string;
220
219
  label: string;
221
220
  name: string;
222
- visibleOn: string;
223
221
  onEvent: {
224
222
  click: {
225
223
  actions: {
@@ -228,8 +226,8 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
228
226
  }[];
229
227
  };
230
228
  };
231
- icon?: undefined;
232
229
  id?: undefined;
230
+ icon?: undefined;
233
231
  level?: undefined;
234
232
  } | {
235
233
  type: string;
@@ -310,6 +308,11 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
310
308
  script: string;
311
309
  componentId?: undefined;
312
310
  args?: undefined;
311
+ } | {
312
+ actionType: string;
313
+ componentId: string;
314
+ script?: undefined;
315
+ args?: undefined;
313
316
  } | {
314
317
  componentId: string;
315
318
  args: {};
@@ -341,7 +344,6 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
341
344
  id: string;
342
345
  level: string;
343
346
  icon?: undefined;
344
- visibleOn?: undefined;
345
347
  name?: undefined;
346
348
  })[];
347
349
  size: string;
@@ -557,6 +559,7 @@ export function getObjectRecordDetailHeader(objectSchema: any, recordId: any, op
557
559
  })[];
558
560
  className: string;
559
561
  }[];
562
+ columnClassName: string;
560
563
  md: string;
561
564
  } | {
562
565
  body: {
@@ -608,6 +611,7 @@ export function getObjectRecordDetailHeader(objectSchema: any, recordId: any, op
608
611
  };
609
612
  };
610
613
  md: string;
614
+ columnClassName?: undefined;
611
615
  })[];
612
616
  className: string;
613
617
  }[];
@@ -45,9 +45,9 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
45
45
  type: string;
46
46
  body: ({
47
47
  type: string;
48
+ id: string;
48
49
  label: string;
49
50
  icon: string;
50
- visibleOn: string;
51
51
  onEvent: {
52
52
  click: {
53
53
  actions: {
@@ -57,13 +57,11 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
57
57
  };
58
58
  };
59
59
  name?: undefined;
60
- id?: undefined;
61
60
  level?: undefined;
62
61
  } | {
63
62
  type: string;
64
63
  label: string;
65
64
  name: string;
66
- visibleOn: string;
67
65
  onEvent: {
68
66
  click: {
69
67
  actions: {
@@ -72,8 +70,8 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
72
70
  }[];
73
71
  };
74
72
  };
75
- icon?: undefined;
76
73
  id?: undefined;
74
+ icon?: undefined;
77
75
  level?: undefined;
78
76
  } | {
79
77
  type: string;
@@ -154,6 +152,11 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
154
152
  script: string;
155
153
  componentId?: undefined;
156
154
  args?: undefined;
155
+ } | {
156
+ actionType: string;
157
+ componentId: string;
158
+ script?: undefined;
159
+ args?: undefined;
157
160
  } | {
158
161
  componentId: string;
159
162
  args: {};
@@ -185,7 +188,6 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
185
188
  id: string;
186
189
  level: string;
187
190
  icon?: undefined;
188
- visibleOn?: undefined;
189
191
  name?: undefined;
190
192
  })[];
191
193
  size: string;
@@ -11,11 +11,11 @@ export function getSetListviewColumnsButtonSchema(): {
11
11
  type: string;
12
12
  title: string;
13
13
  data: {
14
- "&": string;
15
14
  targetObjectName: string;
16
15
  recordId: string;
17
16
  listName: string;
18
17
  appId: string;
18
+ context: string;
19
19
  };
20
20
  body: {
21
21
  type: string;
@@ -9,12 +9,12 @@ export function getCopyListviewButtonSchema(): {
9
9
  type: string;
10
10
  title: string;
11
11
  data: {
12
- "&": string;
13
12
  listName: string;
14
13
  targetObjectName: string;
15
14
  list_view: string;
16
15
  appId: string;
17
16
  global: string;
17
+ context: string;
18
18
  };
19
19
  body: {
20
20
  type: string;
@@ -14,6 +14,7 @@ export function getSetListviewFiltersButtonSchema(): {
14
14
  recordId: string;
15
15
  listName: string;
16
16
  appId: string;
17
+ context: string;
17
18
  };
18
19
  body: {
19
20
  type: string;
@@ -9,12 +9,12 @@ export function getNewListviewButtonSchema(): {
9
9
  type: string;
10
10
  title: string;
11
11
  data: {
12
- "&": string;
13
12
  all: string;
14
13
  list_view: string;
15
14
  appId: string;
16
15
  global: string;
17
16
  targetObjectName: string;
17
+ context: string;
18
18
  };
19
19
  body: {
20
20
  type: string;
@@ -13,6 +13,7 @@ export function getRenameListviewButtonSchema(): {
13
13
  targetObjectName: string;
14
14
  recordId: string;
15
15
  appId: string;
16
+ context: string;
16
17
  };
17
18
  body: {
18
19
  type: string;
@@ -11,6 +11,7 @@ export function getSetListviewShareButtonSchema(): {
11
11
  title: string;
12
12
  data: {
13
13
  recordId: string;
14
+ context: string;
14
15
  };
15
16
  body: {
16
17
  type: string;
@@ -10,11 +10,11 @@ export function getSetListviewSortButtonSchema(): {
10
10
  type: string;
11
11
  title: string;
12
12
  data: {
13
- "&": string;
14
13
  targetObjectName: string;
15
14
  recordId: string;
16
15
  listName: string;
17
16
  appId: string;
17
+ context: string;
18
18
  };
19
19
  body: {
20
20
  type: string;
@@ -18,12 +18,12 @@ export function getSettingListviewToolbarButtonSchema(): {
18
18
  type: string;
19
19
  title: string;
20
20
  data: {
21
- "&": string;
22
21
  all: string;
23
22
  list_view: string;
24
23
  appId: string;
25
24
  global: string;
26
25
  targetObjectName: string;
26
+ context: string;
27
27
  };
28
28
  body: {
29
29
  type: string;
@@ -133,12 +133,12 @@ export function getSettingListviewToolbarButtonSchema(): {
133
133
  type: string;
134
134
  title: string;
135
135
  data: {
136
- "&": string;
137
136
  listName: string;
138
137
  targetObjectName: string;
139
138
  list_view: string;
140
139
  appId: string;
141
140
  global: string;
141
+ context: string;
142
142
  };
143
143
  body: {
144
144
  type: string;
@@ -248,6 +248,7 @@ export function getSettingListviewToolbarButtonSchema(): {
248
248
  targetObjectName: string;
249
249
  recordId: string;
250
250
  appId: string;
251
+ context: string;
251
252
  };
252
253
  body: {
253
254
  type: string;
@@ -292,6 +293,7 @@ export function getSettingListviewToolbarButtonSchema(): {
292
293
  title: string;
293
294
  data: {
294
295
  recordId: string;
296
+ context: string;
295
297
  };
296
298
  body: {
297
299
  type: string;
@@ -325,11 +327,11 @@ export function getSettingListviewToolbarButtonSchema(): {
325
327
  type: string;
326
328
  title: string;
327
329
  data: {
328
- "&": string;
329
330
  targetObjectName: string;
330
331
  recordId: string;
331
332
  listName: string;
332
333
  appId: string;
334
+ context: string;
333
335
  };
334
336
  body: {
335
337
  type: string;
@@ -406,11 +408,11 @@ export function getSettingListviewToolbarButtonSchema(): {
406
408
  type: string;
407
409
  title: string;
408
410
  data: {
409
- "&": string;
410
411
  targetObjectName: string;
411
412
  recordId: string;
412
413
  listName: string;
413
414
  appId: string;
415
+ context: string;
414
416
  };
415
417
  body: {
416
418
  type: string;
@@ -277,6 +277,7 @@ export function getRecordDetailHeaderSchema(objectName: any, recordId: any, opti
277
277
  })[];
278
278
  className: string;
279
279
  }[];
280
+ columnClassName: string;
280
281
  md: string;
281
282
  } | {
282
283
  body: {
@@ -328,6 +329,7 @@ export function getRecordDetailHeaderSchema(objectName: any, recordId: any, opti
328
329
  };
329
330
  };
330
331
  md: string;
332
+ columnClassName?: undefined;
331
333
  })[];
332
334
  className: string;
333
335
  }[];
@@ -130,6 +130,7 @@ export function getSchema(uiSchema: any): {
130
130
  tpl?: undefined;
131
131
  className?: undefined;
132
132
  html?: undefined;
133
+ options?: undefined;
133
134
  } | {
134
135
  name: string;
135
136
  label: string;
@@ -139,10 +140,14 @@ export function getSchema(uiSchema: any): {
139
140
  html: any;
140
141
  width?: undefined;
141
142
  placeholder?: undefined;
143
+ options?: undefined;
142
144
  } | {
143
145
  name: string;
144
146
  label: string;
145
147
  type: string;
148
+ options: {
149
+ html: boolean;
150
+ };
146
151
  className: string;
147
152
  width?: undefined;
148
153
  placeholder?: undefined;
@@ -329,6 +329,7 @@ export namespace StandardButtons {
329
329
  tpl?: undefined;
330
330
  className?: undefined;
331
331
  html?: undefined;
332
+ options?: undefined;
332
333
  } | {
333
334
  name: string;
334
335
  label: string;
@@ -338,10 +339,14 @@ export namespace StandardButtons {
338
339
  html: any;
339
340
  width?: undefined;
340
341
  placeholder?: undefined;
342
+ options?: undefined;
341
343
  } | {
342
344
  name: string;
343
345
  label: string;
344
346
  type: string;
347
+ options: {
348
+ html: boolean;
349
+ };
345
350
  className: string;
346
351
  width?: undefined;
347
352
  placeholder?: undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@steedos-widgets/amis-lib",
3
3
  "private": false,
4
- "version": "1.2.10",
4
+ "version": "1.2.11",
5
5
  "unpkg": "./dist/index.umd.js",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.esm.js",
@@ -59,5 +59,5 @@
59
59
  "dependencies": {
60
60
  "lodash": "^4.17.21"
61
61
  },
62
- "gitHead": "9450e671a32e4f6b508f53ae5390fd914ec335da"
62
+ "gitHead": "8a63835b4b7f3bba4930be5671400a2695b479de"
63
63
  }