@steedos-widgets/amis-object 3.6.1 → 3.6.2-beta.10

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.
@@ -78,37 +78,7 @@ export declare const AmisGlobalHeader: (props: any) => Promise<{
78
78
  label: string;
79
79
  className: string;
80
80
  logoutScript: string;
81
- customButtons: ({
82
- type: string;
83
- className: string;
84
- visibleOn: string;
85
- onEvent: {
86
- click: {
87
- actions: {
88
- actionType: string;
89
- script: string;
90
- }[];
91
- };
92
- };
93
- body: {
94
- type: string;
95
- category: string;
96
- name: string;
97
- colorVariant: string;
98
- id: string;
99
- className: string;
100
- }[];
101
- showAppName?: undefined;
102
- appId?: undefined;
103
- } | {
104
- type: string;
105
- showAppName: boolean;
106
- appId: string;
107
- visibleOn: string;
108
- className?: undefined;
109
- onEvent?: undefined;
110
- body?: undefined;
111
- })[];
81
+ customButtons: any;
112
82
  onEvent?: undefined;
113
83
  body?: undefined;
114
84
  })[];
@@ -13,6 +13,7 @@ export declare const AmisInputTable: (props: any) => Promise<{
13
13
  showTableAddBtn: boolean;
14
14
  showFooterAddBtn: boolean;
15
15
  className: any;
16
+ pipeOut: (value: any, data: any) => any;
16
17
  }[];
17
18
  className: any;
18
19
  id: string;
@@ -3,6 +3,7 @@ export declare const AmisRecordDetail: (props: any) => Promise<{
3
3
  body: ({
4
4
  type: string;
5
5
  className: string;
6
+ contentClassName: string;
6
7
  tabs: {
7
8
  title: string;
8
9
  className: string;
@@ -11,22 +12,19 @@ export declare const AmisRecordDetail: (props: any) => Promise<{
11
12
  label: string;
12
13
  objectApiName: string;
13
14
  recordId: string;
14
- id: string;
15
15
  appId: any;
16
16
  }[];
17
- id: string;
18
17
  }[];
19
- id: string;
20
18
  } | {
21
19
  type: string;
22
20
  label: string;
23
21
  objectApiName: string;
24
22
  recordId: string;
25
23
  id: string;
24
+ showButtons: any;
25
+ showBackButton: any;
26
26
  })[];
27
- data: {
28
- "_master.objectName": string;
29
- "_master.recordId": string;
30
- };
27
+ objectApiName: string;
28
+ recordId: string;
31
29
  onEvent: any;
32
30
  }>;
@@ -3,13 +3,6 @@ export declare const AmisRecordDetailHeader: (props: any) => Promise<{
3
3
  type: string;
4
4
  id: string;
5
5
  name: string;
6
- data: {
7
- objectName: any;
8
- _id: any;
9
- recordPermissions: any;
10
- uiSchema: any;
11
- record: string;
12
- };
13
6
  body: {
14
7
  type: string;
15
8
  className: string;
@@ -49,14 +42,10 @@ export declare const AmisRecordDetailHeader: (props: any) => Promise<{
49
42
  className: string;
50
43
  }[];
51
44
  }[];
52
- className?: undefined;
53
- tpl?: undefined;
54
45
  } | {
55
46
  type: string;
56
47
  className: string;
57
48
  tpl: string;
58
- onEvent?: undefined;
59
- body?: undefined;
60
49
  })[];
61
50
  md: string;
62
51
  className: string;
@@ -80,51 +69,7 @@ export declare const AmisRecordDetailHeader: (props: any) => Promise<{
80
69
  } | {
81
70
  body: {
82
71
  type: string;
83
- items: {
84
- type: string;
85
- name: any;
86
- objectName: any;
87
- visibleOn: any;
88
- className: string;
89
- }[] | {
90
- type: string;
91
- icon: string;
92
- visibleOn: string;
93
- onEvent: {
94
- click: {
95
- actions: {
96
- actionType: string;
97
- drawer: {
98
- type: string;
99
- title: string;
100
- id: string;
101
- body: {
102
- type: string;
103
- id: string;
104
- vertical: boolean;
105
- tiled: boolean;
106
- buttons: {
107
- type: string;
108
- name: any;
109
- objectName: any;
110
- visibleOn: any;
111
- }[];
112
- btnLevel: string;
113
- className: string;
114
- btnClassName: string;
115
- size: string;
116
- }[];
117
- position: string;
118
- closeOnOutside: boolean;
119
- resizable: boolean;
120
- className: string;
121
- bodyClassName: string;
122
- actions: any[];
123
- };
124
- }[];
125
- };
126
- };
127
- };
72
+ items: any[];
128
73
  };
129
74
  md: string;
130
75
  columnClassName?: undefined;
@@ -0,0 +1,31 @@
1
+ import './AmisRecordDetailMini.less';
2
+ export declare const AmisRecordDetailMini: (props: any) => Promise<{
3
+ type: string;
4
+ wrapWithPanel: boolean;
5
+ actions: any[];
6
+ initApi: {
7
+ method: string;
8
+ url: string;
9
+ cache: number;
10
+ requestAdaptor: string;
11
+ adaptor: string;
12
+ data: {
13
+ query: string;
14
+ };
15
+ headers: {
16
+ Authorization: string;
17
+ };
18
+ };
19
+ body: {
20
+ type: string;
21
+ className: string;
22
+ body: {
23
+ type: string;
24
+ showButtons: boolean;
25
+ showBackButton: boolean;
26
+ objectApiName: string;
27
+ recordId: string;
28
+ }[];
29
+ hiddenOn: string;
30
+ };
31
+ }>;
@@ -1,10 +1,46 @@
1
1
  export declare const AmisRecordService: (props: any) => Promise<{
2
2
  type: string;
3
- body: any[];
4
- data: {
5
- "_master.objectName": string;
6
- "_master.recordId": string;
3
+ className: string;
4
+ onEvent: {
5
+ [x: string]: {
6
+ actions: ({
7
+ actionType: string;
8
+ componentId: string;
9
+ expression: string;
10
+ script?: undefined;
11
+ } | {
12
+ actionType: string;
13
+ script: string;
14
+ expression: string;
15
+ componentId?: undefined;
16
+ })[];
17
+ };
18
+ };
19
+ body: {
20
+ type: string;
21
+ id: string;
22
+ className: string;
23
+ api: {
24
+ method: string;
25
+ url: string;
26
+ cache: number;
27
+ requestAdaptor: string;
28
+ adaptor: string;
29
+ data: {
30
+ query: string;
31
+ };
32
+ headers: {
33
+ Authorization: string;
34
+ };
35
+ };
36
+ body: {
37
+ type: string;
38
+ className: string;
39
+ body: any;
40
+ hiddenOn: string;
41
+ };
42
+ data: any;
43
+ style: any;
44
+ onEvent: any;
7
45
  };
8
- style: any;
9
- onEvent: any;
10
46
  }>;
@@ -19,3 +19,4 @@ export * from './AmisSteedosField';
19
19
  export * from './AmisSelectFlow';
20
20
  export * from './AmisInstanceDetail';
21
21
  export * from './AmisInputTable';
22
+ export * from './AmisRecordDetailMini';