@steedos-widgets/amis-lib 1.3.0-beta.7 → 1.3.0-beta.9
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 +103 -104
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +103 -104
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +19 -26
- package/dist/index.umd.js.map +1 -1
- package/dist/types/lib/converter/amis/toolbar.d.ts +4 -1
- package/dist/types/schema/standard_export_excel.amis.d.ts +8 -2
- package/dist/types/standard/button.d.ts +8 -2
- package/package.json +2 -2
|
@@ -6,7 +6,10 @@ export function getObjectHeaderToolbar(mainObject: any, fields: any, formFactor:
|
|
|
6
6
|
isLookup?: boolean;
|
|
7
7
|
keywordsSearchBoxName: any;
|
|
8
8
|
}): any[];
|
|
9
|
-
export function getObjectFooterToolbar(mainObject: any, formFactor: any, options: any): string[]
|
|
9
|
+
export function getObjectFooterToolbar(mainObject: any, formFactor: any, options: any): string[] | {
|
|
10
|
+
type: string;
|
|
11
|
+
maxButtons: number;
|
|
12
|
+
}[];
|
|
10
13
|
export function getObjectFilter(objectSchema: any, fields: any, options: any): Promise<{
|
|
11
14
|
title: string;
|
|
12
15
|
submitText: string;
|
|
@@ -5,10 +5,15 @@ export function getSchema(uiSchema: any, ctx: any): Promise<{
|
|
|
5
5
|
label: string;
|
|
6
6
|
id: string;
|
|
7
7
|
level: string;
|
|
8
|
+
disabledTip: string;
|
|
8
9
|
onEvent: {
|
|
9
10
|
click: {
|
|
10
11
|
weight: number;
|
|
11
|
-
actions: {
|
|
12
|
+
actions: ({
|
|
13
|
+
componentId: string;
|
|
14
|
+
actionType: string;
|
|
15
|
+
args?: undefined;
|
|
16
|
+
} | {
|
|
12
17
|
args: {
|
|
13
18
|
api: {
|
|
14
19
|
url: string;
|
|
@@ -25,7 +30,8 @@ export function getSchema(uiSchema: any, ctx: any): Promise<{
|
|
|
25
30
|
};
|
|
26
31
|
};
|
|
27
32
|
actionType: string;
|
|
28
|
-
|
|
33
|
+
componentId?: undefined;
|
|
34
|
+
})[];
|
|
29
35
|
};
|
|
30
36
|
};
|
|
31
37
|
}[];
|
|
@@ -530,10 +530,15 @@ export namespace StandardButtons {
|
|
|
530
530
|
label: string;
|
|
531
531
|
id: string;
|
|
532
532
|
level: string;
|
|
533
|
+
disabledTip: string;
|
|
533
534
|
onEvent: {
|
|
534
535
|
click: {
|
|
535
536
|
weight: number;
|
|
536
|
-
actions: {
|
|
537
|
+
actions: ({
|
|
538
|
+
componentId: string;
|
|
539
|
+
actionType: string;
|
|
540
|
+
args?: undefined;
|
|
541
|
+
} | {
|
|
537
542
|
args: {
|
|
538
543
|
api: {
|
|
539
544
|
url: string;
|
|
@@ -550,7 +555,8 @@ export namespace StandardButtons {
|
|
|
550
555
|
};
|
|
551
556
|
};
|
|
552
557
|
actionType: string;
|
|
553
|
-
|
|
558
|
+
componentId?: undefined;
|
|
559
|
+
})[];
|
|
554
560
|
};
|
|
555
561
|
};
|
|
556
562
|
}[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos-widgets/amis-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.3.0-beta.
|
|
4
|
+
"version": "1.3.0-beta.9",
|
|
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": "c6189092521f41e4172cb0cdc68941ddc439194f"
|
|
65
65
|
}
|