@steedos-widgets/amis-object 1.1.7 → 1.2.0-beta.1

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.
@@ -9,7 +9,15 @@ export declare const AmisObjectListView: (props: any) => Promise<{
9
9
  type: string;
10
10
  body: any[];
11
11
  className: string;
12
- data: any;
12
+ data: {
13
+ listName: any;
14
+ uiSchema: any;
15
+ showDisplayAs: any;
16
+ displayAs: string;
17
+ recordPermissions: any;
18
+ _id: any;
19
+ $listviewId: any;
20
+ };
13
21
  level?: undefined;
14
22
  showIcon?: undefined;
15
23
  }>;
@@ -4,11 +4,8 @@ export declare const AmisObjectTable: (props: any) => Promise<{
4
4
  id: string;
5
5
  name: string;
6
6
  data: {
7
- objectName: any;
8
- _id: any;
9
7
  recordPermissions: any;
10
8
  uiSchema: any;
11
- loaded: boolean;
12
9
  };
13
10
  body: {};
14
11
  }>;
@@ -25,29 +25,18 @@ export declare const AmisRecordDetail: (props: any) => Promise<{
25
25
  id: string;
26
26
  onEvent: {
27
27
  recordLoaded: {
28
- actions: ({
28
+ actions: {
29
29
  actionType: string;
30
30
  data: {
31
31
  name: string;
32
32
  record: string;
33
+ _id: string;
34
+ recordId: string;
33
35
  recordLoaded: boolean;
34
36
  };
35
- componentId?: undefined;
36
- } | {
37
- actionType: string;
38
- componentId: string;
39
- data: {
40
- name: string;
41
- record: string;
42
- recordLoaded: boolean;
43
- };
44
- })[];
37
+ }[];
45
38
  };
46
39
  };
47
40
  })[];
48
- data: {
49
- "_master.objectName": string;
50
- "_master.recordId": string;
51
- };
52
41
  onEvent: any;
53
42
  }>;
@@ -1,9 +1,8 @@
1
1
  export declare const AmisRecordDetailHeader: (props: any) => Promise<{
2
2
  type: string;
3
- bodyClassName: string;
3
+ id: string;
4
4
  name: string;
5
5
  data: {
6
- "&": string;
7
6
  objectName: any;
8
7
  _id: any;
9
8
  recordPermissions: any;
@@ -12,14 +11,7 @@ export declare const AmisRecordDetailHeader: (props: any) => Promise<{
12
11
  };
13
12
  body: {
14
13
  type: string;
15
- id: string;
16
- data: {
17
- "&": string;
18
- objectName: any;
19
- _id: any;
20
- recordPermissions: string;
21
- uiSchema: any;
22
- };
14
+ className: string;
23
15
  body: {
24
16
  type: string;
25
17
  columns: ({
@@ -64,7 +56,6 @@ export declare const AmisRecordDetailHeader: (props: any) => Promise<{
64
56
  })[];
65
57
  className: string;
66
58
  }[];
67
- messages: {};
68
59
  hiddenOn: string;
69
60
  }[];
70
61
  className: string;
@@ -1,53 +1 @@
1
- export declare const AmisRecordDetailRelatedList: (props: any) => Promise<{
2
- type?: undefined;
3
- body?: undefined;
4
- level?: undefined;
5
- showIcon?: undefined;
6
- className?: undefined;
7
- id?: undefined;
8
- data?: undefined;
9
- } | {
10
- type: string;
11
- id: string;
12
- className: string;
13
- data: {
14
- "&": string;
15
- appId: string;
16
- app_id: string;
17
- masterObjectName: any;
18
- masterRecordId: string;
19
- relatedKey: any;
20
- objectName: any;
21
- listViewId: string;
22
- _isRelated: boolean;
23
- };
24
- body: {
25
- data: {
26
- "&": string;
27
- appId: string;
28
- app_id: string;
29
- relatedKey: any;
30
- objectName: string;
31
- recordId: string;
32
- defaultData: {
33
- [x: number]: any;
34
- };
35
- };
36
- type: string;
37
- objectApiName: any;
38
- columns: any;
39
- extraColumns: any;
40
- filters: any;
41
- filtersFunction: any;
42
- sort: string;
43
- ctx: any;
44
- }[];
45
- level?: undefined;
46
- showIcon?: undefined;
47
- } | {
48
- type: string;
49
- body: string;
50
- level: string;
51
- showIcon: boolean;
52
- className: string;
53
- }>;
1
+ export declare const AmisRecordDetailRelatedList: (props: any) => Promise<any>;
@@ -10,7 +10,6 @@ export declare const AmisRecordDetailRelatedLists: (props: any) => Promise<{
10
10
  body: {
11
11
  type: string;
12
12
  objectApiName: any;
13
- recordId: any;
14
13
  relatedObjectApiName: any;
15
14
  foreign_key: any;
16
15
  relatedKey: any;
@@ -198,6 +198,13 @@ body {
198
198
  width: -webkit-fill-available;
199
199
  }
200
200
 
201
+
202
+ /* 实现弹框中的crud中的inputTree高度满屏,目前选人控件的左侧树样式 */
203
+ .amis-scope .antd-Modal-body .antd-Crud .antd-Table .antd-Tree{
204
+ max-height: unset;
205
+ overflow: unset;
206
+ }
207
+
201
208
  .ant-dropdown-menu {
202
209
  border: 1px solid #e5e5e5;
203
210
  border-radius: 0.25rem;
@@ -840,6 +847,9 @@ body {
840
847
  .sm\:p-0 {
841
848
  padding: 0px
842
849
  }
850
+ .sm\:p-3 {
851
+ padding: 0.75rem
852
+ }
843
853
  .sm\:shadow {
844
854
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
845
855
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);