@steedos-widgets/amis-lib 1.2.8 → 1.2.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.
Files changed (25) hide show
  1. package/dist/cjs/tsconfig.tsbuildinfo +1 -1
  2. package/dist/index.cjs.js +1228 -753
  3. package/dist/index.cjs.js.map +1 -1
  4. package/dist/index.esm.js +1229 -755
  5. package/dist/index.esm.js.map +1 -1
  6. package/dist/index.umd.js +1228 -753
  7. package/dist/index.umd.js.map +1 -1
  8. package/dist/types/lib/buttons.d.ts +44 -1
  9. package/dist/types/lib/converter/amis/fields/index.d.ts +1 -0
  10. package/dist/types/lib/converter/amis/fields_filter.d.ts +3 -1
  11. package/dist/types/lib/converter/amis/header.d.ts +80 -5
  12. package/dist/types/lib/converter/amis/index.d.ts +1 -0
  13. package/dist/types/lib/converter/amis/toolbar.d.ts +3 -1
  14. package/dist/types/lib/converter/amis/toolbars/export_excel.d.ts +32 -0
  15. package/dist/types/lib/converter/amis/toolbars/setting_listview/columns.d.ts +83 -0
  16. package/dist/types/lib/converter/amis/toolbars/setting_listview/copy.d.ts +112 -0
  17. package/dist/types/lib/converter/amis/toolbars/setting_listview/delete.d.ts +43 -0
  18. package/dist/types/lib/converter/amis/toolbars/setting_listview/filters.d.ts +68 -0
  19. package/dist/types/lib/converter/amis/toolbars/setting_listview/new.d.ts +116 -0
  20. package/dist/types/lib/converter/amis/toolbars/setting_listview/rename.d.ts +47 -0
  21. package/dist/types/lib/converter/amis/toolbars/setting_listview/share.d.ts +34 -0
  22. package/dist/types/lib/converter/amis/toolbars/setting_listview/sort.d.ts +69 -0
  23. package/dist/types/lib/converter/amis/toolbars/setting_listview.d.ts +509 -0
  24. package/dist/types/lib/objects.d.ts +36 -2
  25. package/package.json +2 -2
@@ -0,0 +1,116 @@
1
+ export function getNewListviewButtonSchema(): {
2
+ type: string;
3
+ label: string;
4
+ onEvent: {
5
+ click: {
6
+ weight: number;
7
+ actions: {
8
+ dialog: {
9
+ type: string;
10
+ title: string;
11
+ data: {
12
+ "&": string;
13
+ all: string;
14
+ list_view: string;
15
+ appId: string;
16
+ global: string;
17
+ targetObjectName: string;
18
+ };
19
+ body: {
20
+ type: string;
21
+ label: string;
22
+ objectApiName: string;
23
+ recordId: string;
24
+ mode: string;
25
+ defaultData: {
26
+ "&": string;
27
+ name: string;
28
+ label: string;
29
+ filters: string;
30
+ shared: boolean;
31
+ };
32
+ fieldsExtend: {
33
+ label: {
34
+ is_wide: boolean;
35
+ };
36
+ name: {
37
+ amis: {
38
+ hidden: boolean;
39
+ };
40
+ };
41
+ object_name: {
42
+ amis: {
43
+ hidden: boolean;
44
+ };
45
+ };
46
+ filter_scope: {
47
+ amis: {
48
+ hidden: boolean;
49
+ };
50
+ };
51
+ columns: {
52
+ amis: {
53
+ hidden: boolean;
54
+ };
55
+ };
56
+ filter_fields: {
57
+ amis: {
58
+ hidden: boolean;
59
+ };
60
+ };
61
+ scrolling_mode: {
62
+ amis: {
63
+ hidden: boolean;
64
+ };
65
+ };
66
+ sort: {
67
+ amis: {
68
+ hidden: boolean;
69
+ };
70
+ };
71
+ show_count: {
72
+ amis: {
73
+ hidden: boolean;
74
+ };
75
+ };
76
+ type: {
77
+ amis: {
78
+ hidden: boolean;
79
+ };
80
+ };
81
+ shared: {
82
+ amis: {
83
+ visibleOn: string;
84
+ };
85
+ };
86
+ };
87
+ fields: string[];
88
+ onEvent: {
89
+ submitSucc: {
90
+ weight: number;
91
+ actions: {
92
+ args: {
93
+ url: string;
94
+ blank: boolean;
95
+ };
96
+ actionType: string;
97
+ }[];
98
+ };
99
+ };
100
+ messages: {
101
+ success: string;
102
+ failed: string;
103
+ };
104
+ }[];
105
+ showCloseButton: boolean;
106
+ showErrorMsg: boolean;
107
+ showLoading: boolean;
108
+ closeOnEsc: boolean;
109
+ dataMapSwitch: boolean;
110
+ size: string;
111
+ };
112
+ actionType: string;
113
+ }[];
114
+ };
115
+ };
116
+ };
@@ -0,0 +1,47 @@
1
+ export function getRenameListviewButtonSchema(): {
2
+ type: string;
3
+ label: string;
4
+ disabledOn: string;
5
+ onEvent: {
6
+ click: {
7
+ weight: number;
8
+ actions: {
9
+ dialog: {
10
+ type: string;
11
+ title: string;
12
+ data: {
13
+ targetObjectName: string;
14
+ recordId: string;
15
+ appId: string;
16
+ };
17
+ body: {
18
+ type: string;
19
+ label: string;
20
+ objectApiName: string;
21
+ recordId: string;
22
+ mode: string;
23
+ fields: string[];
24
+ fieldsExtend: string;
25
+ onEvent: {
26
+ submitSucc: {
27
+ weight: number;
28
+ actions: {
29
+ args: {
30
+ url: string;
31
+ blank: boolean;
32
+ };
33
+ actionType: string;
34
+ }[];
35
+ };
36
+ };
37
+ }[];
38
+ showCloseButton: boolean;
39
+ showErrorMsg: boolean;
40
+ showLoading: boolean;
41
+ size: string;
42
+ };
43
+ actionType: string;
44
+ }[];
45
+ };
46
+ };
47
+ };
@@ -0,0 +1,34 @@
1
+ export function getSetListviewShareButtonSchema(): {
2
+ type: string;
3
+ label: string;
4
+ disabledOn: string;
5
+ onEvent: {
6
+ click: {
7
+ weight: number;
8
+ actions: {
9
+ dialog: {
10
+ type: string;
11
+ title: string;
12
+ data: {
13
+ recordId: string;
14
+ };
15
+ body: {
16
+ type: string;
17
+ label: string;
18
+ objectApiName: string;
19
+ recordId: string;
20
+ mode: string;
21
+ fields: string[];
22
+ }[];
23
+ showCloseButton: boolean;
24
+ showErrorMsg: boolean;
25
+ showLoading: boolean;
26
+ closeOnEsc: boolean;
27
+ dataMapSwitch: boolean;
28
+ size: string;
29
+ };
30
+ actionType: string;
31
+ }[];
32
+ };
33
+ };
34
+ };
@@ -0,0 +1,69 @@
1
+ export function getSetListviewSortButtonSchema(): {
2
+ type: string;
3
+ label: string;
4
+ disabledOn: string;
5
+ onEvent: {
6
+ click: {
7
+ weight: number;
8
+ actions: {
9
+ dialog: {
10
+ type: string;
11
+ title: string;
12
+ data: {
13
+ "&": string;
14
+ targetObjectName: string;
15
+ recordId: string;
16
+ listName: string;
17
+ appId: string;
18
+ };
19
+ body: {
20
+ type: string;
21
+ label: string;
22
+ objectApiName: string;
23
+ recordId: string;
24
+ className: string;
25
+ id: string;
26
+ mode: string;
27
+ fields: string[];
28
+ onEvent: {
29
+ submitSucc: {
30
+ weight: number;
31
+ actions: {
32
+ args: {
33
+ url: string;
34
+ blank: boolean;
35
+ };
36
+ actionType: string;
37
+ }[];
38
+ };
39
+ };
40
+ fieldsExtend: {
41
+ sort: {
42
+ amis: {
43
+ type: string;
44
+ sortable: boolean;
45
+ searchable: boolean;
46
+ source: {
47
+ method: string;
48
+ url: string;
49
+ headers: {
50
+ Authorization: string;
51
+ };
52
+ };
53
+ };
54
+ };
55
+ };
56
+ initApiAdaptor: string;
57
+ apiRequestAdaptor: string;
58
+ }[];
59
+ showCloseButton: boolean;
60
+ showErrorMsg: boolean;
61
+ showLoading: boolean;
62
+ id: string;
63
+ size: string;
64
+ };
65
+ actionType: string;
66
+ }[];
67
+ };
68
+ };
69
+ };