@steedos-widgets/amis-object 0.0.14 → 0.0.16
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/AmisObjectForm.d.ts +5 -5
- package/dist/amis/AmisObjectTable.d.ts +1 -0
- package/dist/amis/AmisRecordDetailHeader.d.ts +2 -13
- package/dist/amis/AmisRecordDetailRelatedLists.d.ts +19 -0
- package/dist/amis/index.d.ts +1 -0
- package/dist/amis-object.cjs.css +17 -0
- package/dist/amis-object.cjs.js +113 -61
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +17 -0
- package/dist/amis-object.esm.js +114 -63
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +17 -0
- package/dist/amis-object.umd.js +113 -61
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets.json +5 -5
- package/dist/meta.js +217 -118
- package/dist/metas/AmisRecordDetailRelatedLists.d.ts +2 -0
- package/package.json +2 -2
|
@@ -91,13 +91,13 @@ export declare const AmisObjectForm: (props: any) => Promise<{
|
|
|
91
91
|
fetchInited: {
|
|
92
92
|
weight: number;
|
|
93
93
|
actions: {
|
|
94
|
-
componentId: string;
|
|
95
94
|
actionType: string;
|
|
95
|
+
eventName: string;
|
|
96
96
|
args: {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
eventName: string;
|
|
98
|
+
};
|
|
99
|
+
data: {
|
|
100
|
+
record: string;
|
|
101
101
|
};
|
|
102
102
|
}[];
|
|
103
103
|
};
|
|
@@ -86,18 +86,7 @@ export declare const AmisRecordDetailHeader: (props: any) => Promise<{
|
|
|
86
86
|
bodyClassName: string;
|
|
87
87
|
}[];
|
|
88
88
|
messages: {};
|
|
89
|
-
api: {
|
|
90
|
-
method: string;
|
|
91
|
-
url: string;
|
|
92
|
-
headers: {
|
|
93
|
-
Authorization: string;
|
|
94
|
-
};
|
|
95
|
-
data: {
|
|
96
|
-
query: string;
|
|
97
|
-
};
|
|
98
|
-
sendOn: string;
|
|
99
|
-
requestAdaptor: string;
|
|
100
|
-
adaptor: string;
|
|
101
|
-
};
|
|
102
89
|
}[];
|
|
90
|
+
} & {
|
|
91
|
+
onEvent: any;
|
|
103
92
|
}>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const AmisRecordDetailRelatedLists: (props: any) => Promise<{
|
|
2
|
+
type: string;
|
|
3
|
+
body: string;
|
|
4
|
+
level: string;
|
|
5
|
+
showIcon: boolean;
|
|
6
|
+
className: string;
|
|
7
|
+
} | {
|
|
8
|
+
type: string;
|
|
9
|
+
body: {
|
|
10
|
+
type: string;
|
|
11
|
+
objectApiName: any;
|
|
12
|
+
recordId: any;
|
|
13
|
+
relatedObjectApiName: any;
|
|
14
|
+
foreign_key: any;
|
|
15
|
+
}[];
|
|
16
|
+
level?: undefined;
|
|
17
|
+
showIcon?: undefined;
|
|
18
|
+
className?: undefined;
|
|
19
|
+
}>;
|
package/dist/amis/index.d.ts
CHANGED
|
@@ -5,5 +5,6 @@ export * from './AmisObjectListview';
|
|
|
5
5
|
export * from './AmisObjectTable';
|
|
6
6
|
export * from './AmisRecordDetailHeader';
|
|
7
7
|
export * from './AmisRecordDetailRelatedList';
|
|
8
|
+
export * from './AmisRecordDetailRelatedLists';
|
|
8
9
|
export * from './AmisSelectUser';
|
|
9
10
|
export * from './AmisProvider';
|
package/dist/amis-object.cjs.css
CHANGED
|
@@ -6,6 +6,23 @@
|
|
|
6
6
|
.antd-Page video {
|
|
7
7
|
vertical-align: unset;
|
|
8
8
|
}
|
|
9
|
+
.ant-dropdown-menu {
|
|
10
|
+
border: 1px solid #e5e5e5;
|
|
11
|
+
border-radius: 0.25rem;
|
|
12
|
+
padding: 0.25rem 0;
|
|
13
|
+
box-shadow: 0 2px 3px 0 rgb(0 0 0%);
|
|
14
|
+
}
|
|
15
|
+
.ant-dropdown-menu-item .antd-Button.antd-Button--default {
|
|
16
|
+
border: none;
|
|
17
|
+
width: 100%;
|
|
18
|
+
text-align: left;
|
|
19
|
+
background: transparent;
|
|
20
|
+
background-color: transparent;
|
|
21
|
+
}
|
|
22
|
+
.ant-dropdown-menu-item .antd-Button--default:not(:disabled):not(.is-disabled):hover {
|
|
23
|
+
background: transparent;
|
|
24
|
+
background-color: transparent;
|
|
25
|
+
}
|
|
9
26
|
|
|
10
27
|
@media (min-width: 767px) {
|
|
11
28
|
.steedos-amis-form .antd-Collapse .antd-Form--normal,
|