@steedos-widgets/amis-lib 6.10.1-beta.32 → 6.10.1-beta.34

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.
@@ -53,7 +53,6 @@ export function getSetListviewFiltersButtonSchema(): {
53
53
  };
54
54
  };
55
55
  }[];
56
- className: string;
57
56
  showCloseButton: boolean;
58
57
  showErrorMsg: boolean;
59
58
  showLoading: boolean;
@@ -489,7 +489,6 @@ export function getSettingListviewToolbarButtonSchema(): {
489
489
  };
490
490
  };
491
491
  }[];
492
- className: string;
493
492
  showCloseButton: boolean;
494
493
  showErrorMsg: boolean;
495
494
  showLoading: boolean;
@@ -97,6 +97,7 @@ export function getListSchema(appName: any, objectName: any, listViewName: any,
97
97
  headerToolbarItems: any;
98
98
  filterVisible: any;
99
99
  rowClassNameExpr: any;
100
+ crud: any;
100
101
  crudDataFilter: any;
101
102
  onCrudDataFilter: any;
102
103
  };
@@ -401,6 +402,7 @@ export function getObjectRelated({ appName, masterObjectName, objectName, relate
401
402
  headerToolbarItems: any;
402
403
  filterVisible: any;
403
404
  rowClassNameExpr: any;
405
+ crud: any;
404
406
  crudDataFilter: any;
405
407
  onCrudDataFilter: any;
406
408
  };
@@ -38,6 +38,9 @@ export function getRecordDetailRelatedListSchema(objectName: any, recordId: any,
38
38
  relatedKey: any;
39
39
  listViewId: string;
40
40
  _isRelated: boolean;
41
+ record: {
42
+ recordPermissions: any;
43
+ };
41
44
  };
42
45
  body: {
43
46
  type: string;
@@ -10,7 +10,7 @@ export function getApprovalDrawerSchema(instance: any): Promise<{
10
10
  headerClassName: string;
11
11
  bodyClassName: string;
12
12
  footerClassName: string;
13
- drawerContainer: () => any;
13
+ drawerContainer: () => HTMLElement;
14
14
  body: {
15
15
  type: string;
16
16
  debug: boolean;
@@ -97,11 +97,7 @@ export function getAttachments(instance: any): Promise<{
97
97
  inline: boolean;
98
98
  tpl: string;
99
99
  }[];
100
- actions: {
101
- icon: string;
102
- type: string;
103
- id: string;
104
- }[];
100
+ actions: any[];
105
101
  id: string;
106
102
  };
107
103
  id: string;
@@ -3,6 +3,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
3
3
  name: string;
4
4
  className: string;
5
5
  bodyClassName: string;
6
+ headerClassName: string;
6
7
  title: {
7
8
  type: string;
8
9
  label: string;
@@ -25,6 +26,25 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
25
26
  "font-size": string;
26
27
  "font-weight": string;
27
28
  };
29
+ ".steedos-object-record-detail-header .antd-Grid-col--mdAuto": {
30
+ padding: string;
31
+ };
32
+ ".steedos-amis-instance-view .antd-Page-body": {
33
+ width: string;
34
+ };
35
+ ".antd-List-placeholder": {
36
+ display: string;
37
+ };
38
+ ".steedos-amis-instance-view .antd-Table-fixedTop:after": {
39
+ "box-shadow": string;
40
+ };
41
+ ".antd-List-items": {
42
+ border: string;
43
+ };
44
+ ".antd-ListItem": {
45
+ "border-top": string;
46
+ background: string;
47
+ };
28
48
  };
29
49
  body: ({
30
50
  type: string;
@@ -125,11 +145,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
125
145
  inline: boolean;
126
146
  tpl: string;
127
147
  }[];
128
- actions: {
129
- icon: string;
130
- type: string;
131
- id: string;
132
- }[];
148
+ actions: any[];
133
149
  id: string;
134
150
  };
135
151
  id: string;
@@ -149,11 +165,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
149
165
  inline: boolean;
150
166
  tpl: string;
151
167
  }[];
152
- actions: {
153
- icon: string;
154
- type: string;
155
- id: string;
156
- }[];
168
+ actions: any[];
157
169
  id: string;
158
170
  };
159
171
  id: string;
@@ -207,7 +219,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
207
219
  headerClassName: string;
208
220
  bodyClassName: string;
209
221
  footerClassName: string;
210
- drawerContainer: () => any;
222
+ drawerContainer: () => HTMLElement;
211
223
  body: {
212
224
  type: string;
213
225
  debug: boolean;
@@ -1,7 +1,4 @@
1
- export function getInstanceInfo({ instanceId, box }: {
2
- instanceId: any;
3
- box: any;
4
- }): Promise<{
1
+ export function getInstanceInfo(props: any): Promise<{
5
2
  box: any;
6
3
  _id: any;
7
4
  space: any;
@@ -13,11 +13,7 @@ export function getRelatedInstances(instance: any): Promise<{
13
13
  inline: boolean;
14
14
  tpl: string;
15
15
  }[];
16
- actions: {
17
- icon: string;
18
- type: string;
19
- id: string;
20
- }[];
16
+ actions: any[];
21
17
  id: string;
22
18
  };
23
19
  id: string;
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.1-beta.32",
4
+ "version": "6.10.1-beta.34",
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": "8739cb0944cdd8e676466f6c585558b541946cc3"
64
+ "gitHead": "d40bc79af79605e814273b3f695a821a7e9a2e1d"
65
65
  }