@steedos-widgets/amis-lib 6.10.1-beta.30 → 6.10.1-beta.32
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 +232 -49
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +232 -49
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +91 -45
- package/dist/index.umd.js.map +1 -1
- package/dist/types/lib/converter/amis/fields_filter.d.ts +4 -14
- package/dist/types/lib/converter/amis/header.d.ts +4 -14
- package/dist/types/lib/converter/amis/toolbar.d.ts +4 -14
- package/dist/types/schema/standard_delete.amis.d.ts +13 -0
- package/dist/types/schema/standard_new.amis.d.ts +1 -1
- package/dist/types/standard/button.d.ts +14 -1
- package/package.json +2 -2
|
@@ -72,6 +72,7 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
|
|
|
72
72
|
type: string;
|
|
73
73
|
body: ({
|
|
74
74
|
type: string;
|
|
75
|
+
level: string;
|
|
75
76
|
id: string;
|
|
76
77
|
label: string;
|
|
77
78
|
icon: string;
|
|
@@ -84,7 +85,6 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
|
|
|
84
85
|
};
|
|
85
86
|
};
|
|
86
87
|
name?: undefined;
|
|
87
|
-
level?: undefined;
|
|
88
88
|
} | {
|
|
89
89
|
type: string;
|
|
90
90
|
label: string;
|
|
@@ -97,9 +97,9 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
|
|
|
97
97
|
}[];
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
|
+
level?: undefined;
|
|
100
101
|
id?: undefined;
|
|
101
102
|
icon?: undefined;
|
|
102
|
-
level?: undefined;
|
|
103
103
|
} | {
|
|
104
104
|
type: string;
|
|
105
105
|
label: string;
|
|
@@ -154,7 +154,6 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
|
|
|
154
154
|
bodyClassName: string;
|
|
155
155
|
className: string;
|
|
156
156
|
}[];
|
|
157
|
-
id: string;
|
|
158
157
|
actions: ({
|
|
159
158
|
type: string;
|
|
160
159
|
label: string;
|
|
@@ -180,17 +179,8 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
|
|
|
180
179
|
componentId?: undefined;
|
|
181
180
|
args?: undefined;
|
|
182
181
|
} | {
|
|
183
|
-
actionType: string;
|
|
184
182
|
componentId: string;
|
|
185
|
-
args: {
|
|
186
|
-
__from_fields_filter_settings_confirm: boolean;
|
|
187
|
-
};
|
|
188
|
-
script?: undefined;
|
|
189
|
-
} | {
|
|
190
|
-
componentId: string;
|
|
191
|
-
args: {
|
|
192
|
-
__from_fields_filter_settings_confirm?: undefined;
|
|
193
|
-
};
|
|
183
|
+
args: {};
|
|
194
184
|
actionType: string;
|
|
195
185
|
script?: undefined;
|
|
196
186
|
})[];
|
|
@@ -216,8 +206,8 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
|
|
|
216
206
|
}[];
|
|
217
207
|
};
|
|
218
208
|
};
|
|
219
|
-
id: string;
|
|
220
209
|
level: string;
|
|
210
|
+
id?: undefined;
|
|
221
211
|
icon?: undefined;
|
|
222
212
|
name?: undefined;
|
|
223
213
|
})[];
|
|
@@ -267,6 +267,7 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
267
267
|
type: string;
|
|
268
268
|
body: ({
|
|
269
269
|
type: string;
|
|
270
|
+
level: string;
|
|
270
271
|
id: string;
|
|
271
272
|
label: string;
|
|
272
273
|
icon: string;
|
|
@@ -279,7 +280,6 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
279
280
|
};
|
|
280
281
|
};
|
|
281
282
|
name?: undefined;
|
|
282
|
-
level?: undefined;
|
|
283
283
|
} | {
|
|
284
284
|
type: string;
|
|
285
285
|
label: string;
|
|
@@ -292,9 +292,9 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
292
292
|
}[];
|
|
293
293
|
};
|
|
294
294
|
};
|
|
295
|
+
level?: undefined;
|
|
295
296
|
id?: undefined;
|
|
296
297
|
icon?: undefined;
|
|
297
|
-
level?: undefined;
|
|
298
298
|
} | {
|
|
299
299
|
type: string;
|
|
300
300
|
label: string;
|
|
@@ -349,7 +349,6 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
349
349
|
bodyClassName: string;
|
|
350
350
|
className: string;
|
|
351
351
|
}[];
|
|
352
|
-
id: string;
|
|
353
352
|
actions: ({
|
|
354
353
|
type: string;
|
|
355
354
|
label: string;
|
|
@@ -375,17 +374,8 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
375
374
|
componentId?: undefined;
|
|
376
375
|
args?: undefined;
|
|
377
376
|
} | {
|
|
378
|
-
actionType: string;
|
|
379
377
|
componentId: string;
|
|
380
|
-
args: {
|
|
381
|
-
__from_fields_filter_settings_confirm: boolean;
|
|
382
|
-
};
|
|
383
|
-
script?: undefined;
|
|
384
|
-
} | {
|
|
385
|
-
componentId: string;
|
|
386
|
-
args: {
|
|
387
|
-
__from_fields_filter_settings_confirm?: undefined;
|
|
388
|
-
};
|
|
378
|
+
args: {};
|
|
389
379
|
actionType: string;
|
|
390
380
|
script?: undefined;
|
|
391
381
|
})[];
|
|
@@ -411,8 +401,8 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
411
401
|
}[];
|
|
412
402
|
};
|
|
413
403
|
};
|
|
414
|
-
id: string;
|
|
415
404
|
level: string;
|
|
405
|
+
id?: undefined;
|
|
416
406
|
icon?: undefined;
|
|
417
407
|
name?: undefined;
|
|
418
408
|
})[];
|
|
@@ -66,6 +66,7 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
|
|
|
66
66
|
type: string;
|
|
67
67
|
body: ({
|
|
68
68
|
type: string;
|
|
69
|
+
level: string;
|
|
69
70
|
id: string;
|
|
70
71
|
label: string;
|
|
71
72
|
icon: string;
|
|
@@ -78,7 +79,6 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
|
|
|
78
79
|
};
|
|
79
80
|
};
|
|
80
81
|
name?: undefined;
|
|
81
|
-
level?: undefined;
|
|
82
82
|
} | {
|
|
83
83
|
type: string;
|
|
84
84
|
label: string;
|
|
@@ -91,9 +91,9 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
|
|
|
91
91
|
}[];
|
|
92
92
|
};
|
|
93
93
|
};
|
|
94
|
+
level?: undefined;
|
|
94
95
|
id?: undefined;
|
|
95
96
|
icon?: undefined;
|
|
96
|
-
level?: undefined;
|
|
97
97
|
} | {
|
|
98
98
|
type: string;
|
|
99
99
|
label: string;
|
|
@@ -148,7 +148,6 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
|
|
|
148
148
|
bodyClassName: string;
|
|
149
149
|
className: string;
|
|
150
150
|
}[];
|
|
151
|
-
id: string;
|
|
152
151
|
actions: ({
|
|
153
152
|
type: string;
|
|
154
153
|
label: string;
|
|
@@ -174,17 +173,8 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
|
|
|
174
173
|
componentId?: undefined;
|
|
175
174
|
args?: undefined;
|
|
176
175
|
} | {
|
|
177
|
-
actionType: string;
|
|
178
176
|
componentId: string;
|
|
179
|
-
args: {
|
|
180
|
-
__from_fields_filter_settings_confirm: boolean;
|
|
181
|
-
};
|
|
182
|
-
script?: undefined;
|
|
183
|
-
} | {
|
|
184
|
-
componentId: string;
|
|
185
|
-
args: {
|
|
186
|
-
__from_fields_filter_settings_confirm?: undefined;
|
|
187
|
-
};
|
|
177
|
+
args: {};
|
|
188
178
|
actionType: string;
|
|
189
179
|
script?: undefined;
|
|
190
180
|
})[];
|
|
@@ -210,8 +200,8 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
|
|
|
210
200
|
}[];
|
|
211
201
|
};
|
|
212
202
|
};
|
|
213
|
-
id: string;
|
|
214
203
|
level: string;
|
|
204
|
+
id?: undefined;
|
|
215
205
|
icon?: undefined;
|
|
216
206
|
name?: undefined;
|
|
217
207
|
})[];
|
|
@@ -54,6 +54,19 @@ export function getSchema(uiSchema: any): {
|
|
|
54
54
|
_inDrawer?: undefined;
|
|
55
55
|
};
|
|
56
56
|
expression: string;
|
|
57
|
+
} | {
|
|
58
|
+
actionType: string;
|
|
59
|
+
args: {
|
|
60
|
+
eventName: string;
|
|
61
|
+
api?: undefined;
|
|
62
|
+
};
|
|
63
|
+
data: {
|
|
64
|
+
objectName: string;
|
|
65
|
+
__deletedRecord?: undefined;
|
|
66
|
+
_inDrawer?: undefined;
|
|
67
|
+
_isRelated?: undefined;
|
|
68
|
+
};
|
|
69
|
+
expression: string;
|
|
57
70
|
})[];
|
|
58
71
|
};
|
|
59
72
|
};
|
|
@@ -5,9 +5,9 @@ export namespace StandardButtons {
|
|
|
5
5
|
type: string;
|
|
6
6
|
body: {
|
|
7
7
|
type: string;
|
|
8
|
+
level: string;
|
|
8
9
|
label: string;
|
|
9
10
|
id: string;
|
|
10
|
-
level: string;
|
|
11
11
|
onEvent: {
|
|
12
12
|
click: {
|
|
13
13
|
weight: number;
|
|
@@ -231,6 +231,19 @@ export namespace StandardButtons {
|
|
|
231
231
|
_inDrawer?: undefined;
|
|
232
232
|
};
|
|
233
233
|
expression: string;
|
|
234
|
+
} | {
|
|
235
|
+
actionType: string;
|
|
236
|
+
args: {
|
|
237
|
+
eventName: string;
|
|
238
|
+
api?: undefined;
|
|
239
|
+
};
|
|
240
|
+
data: {
|
|
241
|
+
objectName: string;
|
|
242
|
+
__deletedRecord?: undefined;
|
|
243
|
+
_inDrawer?: undefined;
|
|
244
|
+
_isRelated?: undefined;
|
|
245
|
+
};
|
|
246
|
+
expression: string;
|
|
234
247
|
})[];
|
|
235
248
|
};
|
|
236
249
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos-widgets/amis-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "6.10.1-beta.
|
|
4
|
+
"version": "6.10.1-beta.32",
|
|
5
5
|
"unpkg": "./dist/index.umd.js",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.esm.js",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"lodash": "^4.17.21",
|
|
62
62
|
"react-i18next": "12.3.1"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "8739cb0944cdd8e676466f6c585558b541946cc3"
|
|
65
65
|
}
|