@steedos-widgets/amis-object 1.0.7 → 1.0.9
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/AmisAppLauncher.d.ts +10 -16
- package/dist/amis/AmisAppMenu.d.ts +5 -2
- package/dist/amis/AmisGlobalHeader.d.ts +142 -51
- package/dist/amis/AmisRecordDetail.d.ts +15 -2
- package/dist/amis/AmisRecordDetailHeader.d.ts +47 -65
- package/dist/amis-object.cjs.css +128 -58
- package/dist/amis-object.cjs.js +1 -1
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +128 -58
- package/dist/amis-object.esm.js +1 -1
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +128 -58
- package/dist/amis-object.umd.js +1 -1
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets-dev.json +25 -6
- package/dist/assets.json +24 -5
- package/dist/components/SteedosBadge.d.ts +2 -0
- package/dist/components/SteedosBadgeRibbon.d.ts +2 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/meta.js +514 -251
- package/dist/metas/SteedosBadge.d.ts +2 -0
- package/dist/metas/SteedosBadgeRibbon.d.ts +2 -0
- package/package.json +3 -3
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
export declare const AmisAppLauncher: (props: any) => Promise<{
|
|
2
2
|
type: string;
|
|
3
|
-
body:
|
|
3
|
+
body: {
|
|
4
4
|
type: string;
|
|
5
5
|
actionType: string;
|
|
6
6
|
className: string;
|
|
7
|
-
body: {
|
|
7
|
+
body: ({
|
|
8
8
|
type: string;
|
|
9
9
|
className: string;
|
|
10
10
|
tpl: string;
|
|
11
|
-
|
|
12
|
-
}
|
|
11
|
+
hiddenOn?: undefined;
|
|
12
|
+
} | {
|
|
13
|
+
type: string;
|
|
14
|
+
className: string;
|
|
15
|
+
tpl: string;
|
|
16
|
+
hiddenOn: string;
|
|
17
|
+
})[];
|
|
13
18
|
dialog: {
|
|
14
19
|
size: string;
|
|
15
20
|
title: {
|
|
@@ -75,18 +80,7 @@ export declare const AmisAppLauncher: (props: any) => Promise<{
|
|
|
75
80
|
}[];
|
|
76
81
|
};
|
|
77
82
|
id: string;
|
|
78
|
-
|
|
79
|
-
hiddenOn?: undefined;
|
|
80
|
-
} | {
|
|
81
|
-
type: string;
|
|
82
|
-
className: string;
|
|
83
|
-
tpl: string;
|
|
84
|
-
hiddenOn: string;
|
|
85
|
-
actionType?: undefined;
|
|
86
|
-
body?: undefined;
|
|
87
|
-
dialog?: undefined;
|
|
88
|
-
id?: undefined;
|
|
89
|
-
})[];
|
|
83
|
+
}[];
|
|
90
84
|
api: {
|
|
91
85
|
method: string;
|
|
92
86
|
url: string;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import './AmisAppMenu.less';
|
|
1
2
|
export declare const AmisAppMenu: (props: any) => Promise<{
|
|
2
3
|
type: string;
|
|
4
|
+
className: any;
|
|
3
5
|
stacked: any;
|
|
4
6
|
overflow: any;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
+
indentSize: any;
|
|
8
|
+
links: any;
|
|
7
9
|
source: {
|
|
8
10
|
method: string;
|
|
9
11
|
url: string;
|
|
@@ -11,5 +13,6 @@ export declare const AmisAppMenu: (props: any) => Promise<{
|
|
|
11
13
|
headers: {
|
|
12
14
|
Authorization: string;
|
|
13
15
|
};
|
|
16
|
+
sendOn: string;
|
|
14
17
|
};
|
|
15
18
|
}>;
|
|
@@ -37,21 +37,119 @@ export declare const AmisGlobalHeader: (props: any) => Promise<{
|
|
|
37
37
|
trigger: string[];
|
|
38
38
|
body: {
|
|
39
39
|
type: string;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
body: {
|
|
41
|
+
type: string;
|
|
42
|
+
body: {
|
|
43
|
+
type: string;
|
|
44
|
+
category: string;
|
|
45
|
+
name: string;
|
|
46
|
+
colorVariant: string;
|
|
47
|
+
className: string;
|
|
48
|
+
}[];
|
|
49
|
+
count: string;
|
|
50
|
+
}[];
|
|
43
51
|
id: string;
|
|
44
|
-
|
|
52
|
+
messages: {};
|
|
53
|
+
api: {
|
|
54
|
+
method: string;
|
|
55
|
+
url: string;
|
|
56
|
+
data: {
|
|
57
|
+
"&": string;
|
|
58
|
+
context: string;
|
|
59
|
+
userId: string;
|
|
60
|
+
};
|
|
61
|
+
dataType: string;
|
|
62
|
+
requestAdaptor: string;
|
|
63
|
+
headers: {
|
|
64
|
+
Authorization: string;
|
|
65
|
+
};
|
|
66
|
+
adaptor: string;
|
|
67
|
+
};
|
|
68
|
+
interval: number;
|
|
69
|
+
silentPolling: boolean;
|
|
45
70
|
}[];
|
|
46
71
|
overlay: {
|
|
47
72
|
type: string;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
73
|
+
body: ({
|
|
74
|
+
type: string;
|
|
75
|
+
body: {
|
|
76
|
+
type: string;
|
|
77
|
+
tpl: string;
|
|
78
|
+
inline: boolean;
|
|
79
|
+
id: string;
|
|
80
|
+
}[];
|
|
81
|
+
className: string;
|
|
82
|
+
id: string;
|
|
83
|
+
size: string;
|
|
84
|
+
name?: undefined;
|
|
85
|
+
items?: undefined;
|
|
86
|
+
label?: undefined;
|
|
87
|
+
block?: undefined;
|
|
88
|
+
onEvent?: undefined;
|
|
89
|
+
} | {
|
|
90
|
+
type: string;
|
|
91
|
+
className: string;
|
|
92
|
+
name: string;
|
|
93
|
+
items: {
|
|
94
|
+
type: string;
|
|
95
|
+
tpl: string;
|
|
96
|
+
id: string;
|
|
97
|
+
};
|
|
98
|
+
id: string;
|
|
99
|
+
body?: undefined;
|
|
100
|
+
size?: undefined;
|
|
101
|
+
label?: undefined;
|
|
102
|
+
block?: undefined;
|
|
103
|
+
onEvent?: undefined;
|
|
104
|
+
} | {
|
|
105
|
+
type: string;
|
|
106
|
+
label: string;
|
|
107
|
+
id: string;
|
|
108
|
+
block: boolean;
|
|
109
|
+
size: string;
|
|
110
|
+
onEvent: {
|
|
111
|
+
click: {
|
|
112
|
+
actions: {
|
|
113
|
+
componentId: string;
|
|
114
|
+
args: {
|
|
115
|
+
api: {
|
|
116
|
+
url: string;
|
|
117
|
+
method: string;
|
|
118
|
+
headers: {
|
|
119
|
+
Authorization: string;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
messages: {
|
|
123
|
+
success: string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
actionType: string;
|
|
127
|
+
}[];
|
|
128
|
+
weight: number;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
body?: undefined;
|
|
132
|
+
className?: undefined;
|
|
133
|
+
name?: undefined;
|
|
134
|
+
items?: undefined;
|
|
135
|
+
})[];
|
|
54
136
|
id: string;
|
|
137
|
+
messages: {};
|
|
138
|
+
api: {
|
|
139
|
+
method: string;
|
|
140
|
+
url: string;
|
|
141
|
+
data: {
|
|
142
|
+
"&": string;
|
|
143
|
+
context: string;
|
|
144
|
+
userId: string;
|
|
145
|
+
};
|
|
146
|
+
dataType: string;
|
|
147
|
+
requestAdaptor: string;
|
|
148
|
+
headers: {
|
|
149
|
+
Authorization: string;
|
|
150
|
+
};
|
|
151
|
+
adaptor: string;
|
|
152
|
+
};
|
|
55
153
|
}[];
|
|
56
154
|
id: string;
|
|
57
155
|
className: string;
|
|
@@ -78,36 +176,39 @@ export declare const AmisGlobalHeader: (props: any) => Promise<{
|
|
|
78
176
|
className: string;
|
|
79
177
|
body: ({
|
|
80
178
|
type: string;
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
id: string;
|
|
84
|
-
style: {
|
|
85
|
-
background: string;
|
|
86
|
-
color: string;
|
|
87
|
-
};
|
|
88
|
-
className?: undefined;
|
|
89
|
-
tpl?: undefined;
|
|
90
|
-
inline?: undefined;
|
|
91
|
-
label?: undefined;
|
|
92
|
-
onEvent?: undefined;
|
|
93
|
-
block?: undefined;
|
|
94
|
-
level?: undefined;
|
|
95
|
-
} | {
|
|
96
|
-
type: string;
|
|
179
|
+
valign: string;
|
|
180
|
+
align: string;
|
|
97
181
|
className: string;
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
182
|
+
columns: ({
|
|
183
|
+
columnClassName: string;
|
|
184
|
+
md: number;
|
|
185
|
+
body: {
|
|
186
|
+
type: string;
|
|
187
|
+
src: any;
|
|
188
|
+
icon: string;
|
|
189
|
+
id: string;
|
|
190
|
+
style: {
|
|
191
|
+
background: string;
|
|
192
|
+
color: string;
|
|
193
|
+
};
|
|
194
|
+
}[];
|
|
195
|
+
} | {
|
|
196
|
+
columnClassName: string;
|
|
197
|
+
md: number;
|
|
198
|
+
body: {
|
|
199
|
+
type: string;
|
|
200
|
+
className: string;
|
|
201
|
+
tpl: string;
|
|
202
|
+
inline: boolean;
|
|
203
|
+
}[];
|
|
204
|
+
})[];
|
|
104
205
|
label?: undefined;
|
|
105
206
|
onEvent?: undefined;
|
|
106
|
-
block?: undefined;
|
|
107
207
|
level?: undefined;
|
|
108
208
|
} | {
|
|
109
209
|
type: string;
|
|
110
210
|
label: string;
|
|
211
|
+
className: string;
|
|
111
212
|
onEvent: {
|
|
112
213
|
click: {
|
|
113
214
|
actions: {
|
|
@@ -119,18 +220,14 @@ export declare const AmisGlobalHeader: (props: any) => Promise<{
|
|
|
119
220
|
}[];
|
|
120
221
|
};
|
|
121
222
|
};
|
|
122
|
-
id: string;
|
|
123
|
-
block: boolean;
|
|
124
223
|
level: string;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
className?: undefined;
|
|
129
|
-
tpl?: undefined;
|
|
130
|
-
inline?: undefined;
|
|
224
|
+
valign?: undefined;
|
|
225
|
+
align?: undefined;
|
|
226
|
+
columns?: undefined;
|
|
131
227
|
} | {
|
|
132
228
|
type: string;
|
|
133
229
|
label: string;
|
|
230
|
+
className: string;
|
|
134
231
|
onEvent: {
|
|
135
232
|
click: {
|
|
136
233
|
actions: {
|
|
@@ -141,20 +238,14 @@ export declare const AmisGlobalHeader: (props: any) => Promise<{
|
|
|
141
238
|
}[];
|
|
142
239
|
};
|
|
143
240
|
};
|
|
144
|
-
id: string;
|
|
145
|
-
block: boolean;
|
|
146
241
|
level: string;
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
className?: undefined;
|
|
151
|
-
tpl?: undefined;
|
|
152
|
-
inline?: undefined;
|
|
242
|
+
valign?: undefined;
|
|
243
|
+
align?: undefined;
|
|
244
|
+
columns?: undefined;
|
|
153
245
|
})[];
|
|
154
|
-
id: string;
|
|
155
246
|
}[];
|
|
156
|
-
id: string;
|
|
157
247
|
className: string;
|
|
248
|
+
id?: undefined;
|
|
158
249
|
onEvent?: undefined;
|
|
159
250
|
label?: undefined;
|
|
160
251
|
open?: undefined;
|
|
@@ -8,19 +8,32 @@ export declare const AmisRecordDetail: (props: any) => Promise<{
|
|
|
8
8
|
id: string;
|
|
9
9
|
onEvent: {
|
|
10
10
|
recordLoaded: {
|
|
11
|
-
actions: {
|
|
11
|
+
actions: ({
|
|
12
12
|
actionType: string;
|
|
13
13
|
data: {
|
|
14
14
|
name: string;
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
args?: undefined;
|
|
17
|
+
} | {
|
|
18
|
+
actionType: string;
|
|
19
|
+
args: {
|
|
20
|
+
value: {
|
|
21
|
+
record: string;
|
|
22
|
+
recordLoaded: boolean;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
data?: undefined;
|
|
26
|
+
})[];
|
|
17
27
|
};
|
|
18
28
|
};
|
|
29
|
+
className?: undefined;
|
|
19
30
|
tabs?: undefined;
|
|
20
31
|
} | {
|
|
21
32
|
type: string;
|
|
33
|
+
className: string;
|
|
22
34
|
tabs: {
|
|
23
35
|
title: string;
|
|
36
|
+
className: string;
|
|
24
37
|
body: {
|
|
25
38
|
type: string;
|
|
26
39
|
label: string;
|
|
@@ -15,80 +15,62 @@ export declare const AmisRecordDetailHeader: (props: any) => Promise<{
|
|
|
15
15
|
};
|
|
16
16
|
body: {
|
|
17
17
|
type: string;
|
|
18
|
+
data: {
|
|
19
|
+
"&": string;
|
|
20
|
+
record: string;
|
|
21
|
+
recordLoaded: string;
|
|
22
|
+
};
|
|
18
23
|
body: {
|
|
19
24
|
type: string;
|
|
20
|
-
|
|
21
|
-
body:
|
|
22
|
-
header: {
|
|
25
|
+
className: string;
|
|
26
|
+
body: {
|
|
23
27
|
type: string;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
body: {
|
|
31
|
-
type: string;
|
|
32
|
-
className: string;
|
|
33
|
-
tpl: string;
|
|
34
|
-
};
|
|
35
|
-
md: string;
|
|
28
|
+
columns: ({
|
|
29
|
+
body: {
|
|
30
|
+
type: string;
|
|
31
|
+
columns: ({
|
|
32
|
+
body: {
|
|
33
|
+
type: string;
|
|
36
34
|
className: string;
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
style: {
|
|
45
|
-
fontFamily: string;
|
|
46
|
-
fontSize: number;
|
|
47
|
-
fontWeight?: undefined;
|
|
48
|
-
textAlign?: undefined;
|
|
49
|
-
};
|
|
50
|
-
className: string;
|
|
51
|
-
} | {
|
|
52
|
-
type: string;
|
|
53
|
-
tpl: string;
|
|
54
|
-
inline: boolean;
|
|
55
|
-
wrapperComponent: string;
|
|
56
|
-
style: {
|
|
57
|
-
fontFamily: string;
|
|
58
|
-
fontSize: number;
|
|
59
|
-
fontWeight: string;
|
|
60
|
-
textAlign: string;
|
|
61
|
-
};
|
|
62
|
-
className: string;
|
|
63
|
-
})[];
|
|
64
|
-
md?: undefined;
|
|
65
|
-
className?: undefined;
|
|
66
|
-
columnClassName?: undefined;
|
|
67
|
-
})[];
|
|
68
|
-
}[];
|
|
69
|
-
md: string;
|
|
70
|
-
} | {
|
|
71
|
-
body: {
|
|
72
|
-
type: string;
|
|
73
|
-
items: {
|
|
35
|
+
tpl: string;
|
|
36
|
+
};
|
|
37
|
+
md: string;
|
|
38
|
+
className: string;
|
|
39
|
+
columnClassName: string;
|
|
40
|
+
} | {
|
|
41
|
+
body: {
|
|
74
42
|
type: string;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
43
|
+
tpl: string;
|
|
44
|
+
inline: boolean;
|
|
45
|
+
wrapperComponent: string;
|
|
78
46
|
className: string;
|
|
79
47
|
}[];
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
48
|
+
columnClassName: string;
|
|
49
|
+
md?: undefined;
|
|
50
|
+
className?: undefined;
|
|
51
|
+
})[];
|
|
52
|
+
className: string;
|
|
53
|
+
}[];
|
|
54
|
+
md: string;
|
|
55
|
+
} | {
|
|
56
|
+
body: {
|
|
57
|
+
type: string;
|
|
58
|
+
items: {
|
|
59
|
+
type: string;
|
|
60
|
+
name: any;
|
|
61
|
+
objectName: any;
|
|
62
|
+
visibleOn: any;
|
|
63
|
+
className: string;
|
|
64
|
+
}[];
|
|
65
|
+
};
|
|
66
|
+
md: string;
|
|
67
|
+
})[];
|
|
68
|
+
className: string;
|
|
69
|
+
}[];
|
|
70
|
+
size: string;
|
|
90
71
|
}[];
|
|
91
72
|
messages: {};
|
|
73
|
+
hiddenOn: string;
|
|
92
74
|
}[];
|
|
93
75
|
} & {
|
|
94
76
|
onEvent: any;
|