@steedos-widgets/amis-lib 6.10.26 → 6.10.28
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 +114 -32
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +114 -32
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +22 -30
- package/dist/index.umd.js.map +1 -1
- package/dist/types/lib/objects.d.ts +20 -2
- package/dist/types/workflow/approve.d.ts +14 -0
- package/dist/types/workflow/flow.d.ts +14 -0
- package/package.json +2 -2
|
@@ -63,13 +63,22 @@ export function getViewSchema(objectName: any, recordId: any, ctx: any): Promise
|
|
|
63
63
|
}>;
|
|
64
64
|
export function getListSchema(appName: any, objectName: any, listViewName: any, ctx?: {}): Promise<{
|
|
65
65
|
uiSchema?: undefined;
|
|
66
|
+
amisSchema?: undefined;
|
|
66
67
|
isCustomAmisSchema?: undefined;
|
|
68
|
+
isCalendar?: undefined;
|
|
69
|
+
} | {
|
|
70
|
+
uiSchema: any;
|
|
67
71
|
amisSchema?: undefined;
|
|
72
|
+
isCustomAmisSchema?: undefined;
|
|
68
73
|
isCalendar?: undefined;
|
|
69
74
|
} | {
|
|
70
75
|
uiSchema: any;
|
|
76
|
+
amisSchema: {
|
|
77
|
+
type: string;
|
|
78
|
+
body: string;
|
|
79
|
+
level: string;
|
|
80
|
+
};
|
|
71
81
|
isCustomAmisSchema?: undefined;
|
|
72
|
-
amisSchema?: undefined;
|
|
73
82
|
isCalendar?: undefined;
|
|
74
83
|
} | {
|
|
75
84
|
uiSchema: any;
|
|
@@ -368,13 +377,22 @@ export function getObjectRelated({ appName, masterObjectName, objectName, relate
|
|
|
368
377
|
foreign_key: any;
|
|
369
378
|
schema: {
|
|
370
379
|
uiSchema?: undefined;
|
|
380
|
+
amisSchema?: undefined;
|
|
371
381
|
isCustomAmisSchema?: undefined;
|
|
382
|
+
isCalendar?: undefined;
|
|
383
|
+
} | {
|
|
384
|
+
uiSchema: any;
|
|
372
385
|
amisSchema?: undefined;
|
|
386
|
+
isCustomAmisSchema?: undefined;
|
|
373
387
|
isCalendar?: undefined;
|
|
374
388
|
} | {
|
|
375
389
|
uiSchema: any;
|
|
390
|
+
amisSchema: {
|
|
391
|
+
type: string;
|
|
392
|
+
body: string;
|
|
393
|
+
level: string;
|
|
394
|
+
};
|
|
376
395
|
isCustomAmisSchema?: undefined;
|
|
377
|
-
amisSchema?: undefined;
|
|
378
396
|
isCalendar?: undefined;
|
|
379
397
|
} | {
|
|
380
398
|
uiSchema: any;
|
|
@@ -221,6 +221,7 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
221
221
|
placeholder?: undefined;
|
|
222
222
|
requiredOn?: undefined;
|
|
223
223
|
value?: undefined;
|
|
224
|
+
onEvent?: undefined;
|
|
224
225
|
} | {
|
|
225
226
|
type: string;
|
|
226
227
|
label: boolean;
|
|
@@ -231,6 +232,19 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
231
232
|
placeholder: string;
|
|
232
233
|
requiredOn: string;
|
|
233
234
|
value: any;
|
|
235
|
+
onEvent: {
|
|
236
|
+
blur: {
|
|
237
|
+
actions: {
|
|
238
|
+
componentId: string;
|
|
239
|
+
actionType: string;
|
|
240
|
+
args: {
|
|
241
|
+
value: {
|
|
242
|
+
instance_my_approve_description: string;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
}[];
|
|
246
|
+
};
|
|
247
|
+
};
|
|
234
248
|
})[];
|
|
235
249
|
onEvent: {
|
|
236
250
|
approve_judge_change: {
|
|
@@ -433,6 +433,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
433
433
|
placeholder?: undefined;
|
|
434
434
|
requiredOn?: undefined;
|
|
435
435
|
value?: undefined;
|
|
436
|
+
onEvent?: undefined;
|
|
436
437
|
} | {
|
|
437
438
|
type: string;
|
|
438
439
|
label: boolean;
|
|
@@ -443,6 +444,19 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
443
444
|
placeholder: string;
|
|
444
445
|
requiredOn: string;
|
|
445
446
|
value: any;
|
|
447
|
+
onEvent: {
|
|
448
|
+
blur: {
|
|
449
|
+
actions: {
|
|
450
|
+
componentId: string;
|
|
451
|
+
actionType: string;
|
|
452
|
+
args: {
|
|
453
|
+
value: {
|
|
454
|
+
instance_my_approve_description: string;
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
}[];
|
|
458
|
+
};
|
|
459
|
+
};
|
|
446
460
|
})[];
|
|
447
461
|
onEvent: {
|
|
448
462
|
approve_judge_change: {
|
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.
|
|
4
|
+
"version": "6.10.28",
|
|
5
5
|
"unpkg": "./dist/index.umd.js",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.esm.js",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"i18next": "24.2.2",
|
|
61
61
|
"lodash": "^4.17.21"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "2ec556a4c11f49947fb644b0ff9d7e899f910c5a"
|
|
64
64
|
}
|