@steedos-widgets/amis-object 1.2.0-beta.0 → 1.2.0-beta.2
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/amis/AmisObjectListview.d.ts +9 -1
- package/dist/amis/AmisObjectTable.d.ts +0 -3
- package/dist/amis/AmisRecordDetail.d.ts +0 -21
- package/dist/amis/AmisRecordDetailHeader.d.ts +2 -11
- package/dist/amis/AmisRecordDetailRelatedList.d.ts +1 -53
- package/dist/amis/AmisRecordDetailRelatedLists.d.ts +0 -1
- package/dist/amis-object.cjs.css +5 -2
- package/dist/amis-object.cjs.js +302 -279
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +5 -2
- package/dist/amis-object.esm.js +302 -279
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +5 -2
- package/dist/amis-object.umd.js +302 -279
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets.json +13 -13
- package/dist/meta.js +11 -4
- package/package.json +3 -3
|
@@ -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:
|
|
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
|
}>;
|
|
@@ -23,27 +23,6 @@ export declare const AmisRecordDetail: (props: any) => Promise<{
|
|
|
23
23
|
objectApiName: string;
|
|
24
24
|
recordId: string;
|
|
25
25
|
id: string;
|
|
26
|
-
onEvent: {
|
|
27
|
-
recordLoaded: {
|
|
28
|
-
actions: ({
|
|
29
|
-
actionType: string;
|
|
30
|
-
data: {
|
|
31
|
-
name: string;
|
|
32
|
-
record: string;
|
|
33
|
-
recordLoaded: boolean;
|
|
34
|
-
};
|
|
35
|
-
componentId?: undefined;
|
|
36
|
-
} | {
|
|
37
|
-
actionType: string;
|
|
38
|
-
componentId: string;
|
|
39
|
-
data: {
|
|
40
|
-
name: string;
|
|
41
|
-
record: string;
|
|
42
|
-
recordLoaded: boolean;
|
|
43
|
-
};
|
|
44
|
-
})[];
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
26
|
})[];
|
|
48
27
|
data: {
|
|
49
28
|
"_master.objectName": string;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
export declare const AmisRecordDetailHeader: (props: any) => Promise<{
|
|
2
2
|
type: string;
|
|
3
|
-
|
|
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
|
-
|
|
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>;
|
package/dist/amis-object.cjs.css
CHANGED
|
@@ -304,8 +304,8 @@ body {
|
|
|
304
304
|
.top-0 {
|
|
305
305
|
top: 0px
|
|
306
306
|
}
|
|
307
|
-
.z-
|
|
308
|
-
z-index:
|
|
307
|
+
.z-10 {
|
|
308
|
+
z-index: 10
|
|
309
309
|
}
|
|
310
310
|
.col-span-2 {
|
|
311
311
|
grid-column: span 2 / span 2
|
|
@@ -847,6 +847,9 @@ body {
|
|
|
847
847
|
.sm\:p-0 {
|
|
848
848
|
padding: 0px
|
|
849
849
|
}
|
|
850
|
+
.sm\:p-3 {
|
|
851
|
+
padding: 0.75rem
|
|
852
|
+
}
|
|
850
853
|
.sm\:shadow {
|
|
851
854
|
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
852
855
|
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|