@steedos-widgets/amis-lib 6.10.23 → 6.10.25
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 +206 -57
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +206 -57
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +214 -203
- package/dist/index.umd.js.map +1 -1
- package/dist/types/lib/converter/amis/calendar.d.ts +7 -1
- package/dist/types/workflow/approve.d.ts +2 -2
- package/dist/types/workflow/flow.d.ts +2 -2
- package/package.json +2 -2
|
@@ -37,6 +37,13 @@ export function getCalendarRecordSaveApi(object: any, calendarOptions: any): {
|
|
|
37
37
|
Authorization: string;
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
|
+
export function getCalendarResourcesApi(objectSchema: any, calendarOptions: any): {
|
|
41
|
+
url?: undefined;
|
|
42
|
+
adaptor?: undefined;
|
|
43
|
+
} | {
|
|
44
|
+
url: string;
|
|
45
|
+
adaptor: (payload: any, response: any, api: any, context: any) => any;
|
|
46
|
+
};
|
|
40
47
|
/**
|
|
41
48
|
* 列表视图Calendar amisSchema
|
|
42
49
|
* @param {*} objectSchema 对象UISchema
|
|
@@ -46,6 +53,5 @@ export function getObjectCalendar(objectSchema: any, calendarOptions: any, optio
|
|
|
46
53
|
export namespace DEFAULT_CALENDAR_OPTIONS {
|
|
47
54
|
let startDateExpr: string;
|
|
48
55
|
let endDateExpr: string;
|
|
49
|
-
let allDayExpr: string;
|
|
50
56
|
let textExpr: string;
|
|
51
57
|
}
|
|
@@ -130,6 +130,7 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
130
130
|
type: string;
|
|
131
131
|
label: string;
|
|
132
132
|
name: string;
|
|
133
|
+
id: string;
|
|
133
134
|
hiddenOn: string;
|
|
134
135
|
required: boolean;
|
|
135
136
|
onEvent: {
|
|
@@ -139,7 +140,6 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
139
140
|
};
|
|
140
141
|
};
|
|
141
142
|
multiple?: undefined;
|
|
142
|
-
id?: undefined;
|
|
143
143
|
source?: undefined;
|
|
144
144
|
labelField?: undefined;
|
|
145
145
|
valueField?: undefined;
|
|
@@ -150,6 +150,7 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
150
150
|
type: string;
|
|
151
151
|
label: string;
|
|
152
152
|
name: string;
|
|
153
|
+
id: string;
|
|
153
154
|
hiddenOn: string;
|
|
154
155
|
required: boolean;
|
|
155
156
|
multiple: boolean;
|
|
@@ -159,7 +160,6 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
159
160
|
actions: any[];
|
|
160
161
|
};
|
|
161
162
|
};
|
|
162
|
-
id?: undefined;
|
|
163
163
|
source?: undefined;
|
|
164
164
|
labelField?: undefined;
|
|
165
165
|
valueField?: undefined;
|
|
@@ -342,6 +342,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
342
342
|
type: string;
|
|
343
343
|
label: string;
|
|
344
344
|
name: string;
|
|
345
|
+
id: string;
|
|
345
346
|
hiddenOn: string;
|
|
346
347
|
required: boolean;
|
|
347
348
|
onEvent: {
|
|
@@ -351,7 +352,6 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
351
352
|
};
|
|
352
353
|
};
|
|
353
354
|
multiple?: undefined;
|
|
354
|
-
id?: undefined;
|
|
355
355
|
source?: undefined;
|
|
356
356
|
labelField?: undefined;
|
|
357
357
|
valueField?: undefined;
|
|
@@ -362,6 +362,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
362
362
|
type: string;
|
|
363
363
|
label: string;
|
|
364
364
|
name: string;
|
|
365
|
+
id: string;
|
|
365
366
|
hiddenOn: string;
|
|
366
367
|
required: boolean;
|
|
367
368
|
multiple: boolean;
|
|
@@ -371,7 +372,6 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
371
372
|
actions: any[];
|
|
372
373
|
};
|
|
373
374
|
};
|
|
374
|
-
id?: undefined;
|
|
375
375
|
source?: undefined;
|
|
376
376
|
labelField?: undefined;
|
|
377
377
|
valueField?: undefined;
|
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.25",
|
|
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": "0652b002b88b02662de1f64ef6d4bf93ffcf1ca7"
|
|
64
64
|
}
|