@steedos-widgets/amis-object 6.3.0 → 6.3.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.
- package/dist/amis/AmisAppLauncher.d.ts +268 -3
- package/dist/amis-object.cjs.css +12 -21
- package/dist/amis-object.cjs.js +186 -120
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +12 -21
- package/dist/amis-object.esm.js +186 -120
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +12 -21
- package/dist/amis-object.umd.js +17 -15
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets.json +21 -21
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const AmisAppLauncher: (props: any) => Promise<{
|
|
2
2
|
type: string;
|
|
3
3
|
className: any;
|
|
4
|
-
body: {
|
|
4
|
+
body: ({
|
|
5
5
|
type: string;
|
|
6
6
|
actionType: string;
|
|
7
7
|
className: string;
|
|
@@ -14,10 +14,275 @@ export declare const AmisAppLauncher: (props: any) => Promise<{
|
|
|
14
14
|
className: string;
|
|
15
15
|
};
|
|
16
16
|
actions: any[];
|
|
17
|
-
body: {
|
|
17
|
+
body: {
|
|
18
|
+
type: string;
|
|
19
|
+
className: string;
|
|
20
|
+
affixFooter: boolean;
|
|
21
|
+
body: ({
|
|
22
|
+
type: string;
|
|
23
|
+
source: string;
|
|
24
|
+
items: {
|
|
25
|
+
type: string;
|
|
26
|
+
level: string;
|
|
27
|
+
body: {
|
|
28
|
+
type: string;
|
|
29
|
+
tpl: string;
|
|
30
|
+
badge: {
|
|
31
|
+
mode: string;
|
|
32
|
+
text: string;
|
|
33
|
+
visibleOn: string;
|
|
34
|
+
overflowCount: number;
|
|
35
|
+
style: {
|
|
36
|
+
right: string;
|
|
37
|
+
"margin-right": string;
|
|
38
|
+
height: string;
|
|
39
|
+
"border-radius": string;
|
|
40
|
+
"font-size": string;
|
|
41
|
+
"line-height": string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
}[];
|
|
45
|
+
onEvent: {
|
|
46
|
+
click: {
|
|
47
|
+
actions: ({
|
|
48
|
+
actionType: string;
|
|
49
|
+
args?: undefined;
|
|
50
|
+
expression?: undefined;
|
|
51
|
+
script?: undefined;
|
|
52
|
+
} | {
|
|
53
|
+
actionType: string;
|
|
54
|
+
args: {
|
|
55
|
+
link: string;
|
|
56
|
+
};
|
|
57
|
+
expression: string;
|
|
58
|
+
script?: undefined;
|
|
59
|
+
} | {
|
|
60
|
+
actionType: string;
|
|
61
|
+
script: string;
|
|
62
|
+
expression: string;
|
|
63
|
+
args?: undefined;
|
|
64
|
+
})[];
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
visibleOn: string;
|
|
68
|
+
className: string;
|
|
69
|
+
style: {
|
|
70
|
+
display: string;
|
|
71
|
+
"justify-content": string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
className: string;
|
|
75
|
+
id: string;
|
|
76
|
+
level?: undefined;
|
|
77
|
+
label?: undefined;
|
|
78
|
+
actionType?: undefined;
|
|
79
|
+
dialog?: undefined;
|
|
80
|
+
} | {
|
|
81
|
+
type: string;
|
|
82
|
+
className: string;
|
|
83
|
+
source?: undefined;
|
|
84
|
+
items?: undefined;
|
|
85
|
+
id?: undefined;
|
|
86
|
+
level?: undefined;
|
|
87
|
+
label?: undefined;
|
|
88
|
+
actionType?: undefined;
|
|
89
|
+
dialog?: undefined;
|
|
90
|
+
} | {
|
|
91
|
+
type: string;
|
|
92
|
+
level: string;
|
|
93
|
+
label: string;
|
|
94
|
+
className: string;
|
|
95
|
+
actionType: string;
|
|
96
|
+
dialog: {
|
|
97
|
+
size: string;
|
|
98
|
+
title: {
|
|
99
|
+
type: string;
|
|
100
|
+
tpl: string;
|
|
101
|
+
className: string;
|
|
102
|
+
};
|
|
103
|
+
actions: any[];
|
|
104
|
+
body: {}[];
|
|
105
|
+
};
|
|
106
|
+
source?: undefined;
|
|
107
|
+
items?: undefined;
|
|
108
|
+
id?: undefined;
|
|
109
|
+
})[];
|
|
110
|
+
clearValueOnHidden: boolean;
|
|
111
|
+
visible: boolean;
|
|
112
|
+
messages: {};
|
|
113
|
+
api: {
|
|
114
|
+
method: string;
|
|
115
|
+
cache: string;
|
|
116
|
+
url: string;
|
|
117
|
+
headers: {
|
|
118
|
+
Authorization: string;
|
|
119
|
+
};
|
|
120
|
+
adaptor: string;
|
|
121
|
+
messages: {};
|
|
122
|
+
};
|
|
123
|
+
onEvent: {
|
|
124
|
+
"@data.changed.steedos_keyvalues": {
|
|
125
|
+
actions: {
|
|
126
|
+
actionType: string;
|
|
127
|
+
}[];
|
|
128
|
+
};
|
|
129
|
+
fetchInited: {
|
|
130
|
+
actions: {
|
|
131
|
+
actionType: string;
|
|
132
|
+
args: {
|
|
133
|
+
eventName: string;
|
|
134
|
+
};
|
|
135
|
+
data: {
|
|
136
|
+
apps: string;
|
|
137
|
+
};
|
|
138
|
+
}[];
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
id: string;
|
|
142
|
+
}[];
|
|
18
143
|
};
|
|
19
144
|
id: string;
|
|
20
|
-
|
|
145
|
+
placement?: undefined;
|
|
146
|
+
trigger?: undefined;
|
|
147
|
+
overlay?: undefined;
|
|
148
|
+
open?: undefined;
|
|
149
|
+
} | {
|
|
150
|
+
type: string;
|
|
151
|
+
placement: string;
|
|
152
|
+
trigger: string[];
|
|
153
|
+
body: any[];
|
|
154
|
+
overlay: {
|
|
155
|
+
type: string;
|
|
156
|
+
className: string;
|
|
157
|
+
affixFooter: boolean;
|
|
158
|
+
body: ({
|
|
159
|
+
type: string;
|
|
160
|
+
source: string;
|
|
161
|
+
items: {
|
|
162
|
+
type: string;
|
|
163
|
+
level: string;
|
|
164
|
+
body: {
|
|
165
|
+
type: string;
|
|
166
|
+
tpl: string;
|
|
167
|
+
badge: {
|
|
168
|
+
mode: string;
|
|
169
|
+
text: string;
|
|
170
|
+
visibleOn: string;
|
|
171
|
+
overflowCount: number;
|
|
172
|
+
style: {
|
|
173
|
+
right: string;
|
|
174
|
+
"margin-right": string;
|
|
175
|
+
height: string;
|
|
176
|
+
"border-radius": string;
|
|
177
|
+
"font-size": string;
|
|
178
|
+
"line-height": string;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
}[];
|
|
182
|
+
onEvent: {
|
|
183
|
+
click: {
|
|
184
|
+
actions: ({
|
|
185
|
+
actionType: string;
|
|
186
|
+
args?: undefined;
|
|
187
|
+
expression?: undefined;
|
|
188
|
+
script?: undefined;
|
|
189
|
+
} | {
|
|
190
|
+
actionType: string;
|
|
191
|
+
args: {
|
|
192
|
+
link: string;
|
|
193
|
+
};
|
|
194
|
+
expression: string;
|
|
195
|
+
script?: undefined;
|
|
196
|
+
} | {
|
|
197
|
+
actionType: string;
|
|
198
|
+
script: string;
|
|
199
|
+
expression: string;
|
|
200
|
+
args?: undefined;
|
|
201
|
+
})[];
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
visibleOn: string;
|
|
205
|
+
className: string;
|
|
206
|
+
style: {
|
|
207
|
+
display: string;
|
|
208
|
+
"justify-content": string;
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
className: string;
|
|
212
|
+
id: string;
|
|
213
|
+
level?: undefined;
|
|
214
|
+
label?: undefined;
|
|
215
|
+
actionType?: undefined;
|
|
216
|
+
dialog?: undefined;
|
|
217
|
+
} | {
|
|
218
|
+
type: string;
|
|
219
|
+
className: string;
|
|
220
|
+
source?: undefined;
|
|
221
|
+
items?: undefined;
|
|
222
|
+
id?: undefined;
|
|
223
|
+
level?: undefined;
|
|
224
|
+
label?: undefined;
|
|
225
|
+
actionType?: undefined;
|
|
226
|
+
dialog?: undefined;
|
|
227
|
+
} | {
|
|
228
|
+
type: string;
|
|
229
|
+
level: string;
|
|
230
|
+
label: string;
|
|
231
|
+
className: string;
|
|
232
|
+
actionType: string;
|
|
233
|
+
dialog: {
|
|
234
|
+
size: string;
|
|
235
|
+
title: {
|
|
236
|
+
type: string;
|
|
237
|
+
tpl: string;
|
|
238
|
+
className: string;
|
|
239
|
+
};
|
|
240
|
+
actions: any[];
|
|
241
|
+
body: {}[];
|
|
242
|
+
};
|
|
243
|
+
source?: undefined;
|
|
244
|
+
items?: undefined;
|
|
245
|
+
id?: undefined;
|
|
246
|
+
})[];
|
|
247
|
+
clearValueOnHidden: boolean;
|
|
248
|
+
visible: boolean;
|
|
249
|
+
messages: {};
|
|
250
|
+
api: {
|
|
251
|
+
method: string;
|
|
252
|
+
cache: string;
|
|
253
|
+
url: string;
|
|
254
|
+
headers: {
|
|
255
|
+
Authorization: string;
|
|
256
|
+
};
|
|
257
|
+
adaptor: string;
|
|
258
|
+
messages: {};
|
|
259
|
+
};
|
|
260
|
+
onEvent: {
|
|
261
|
+
"@data.changed.steedos_keyvalues": {
|
|
262
|
+
actions: {
|
|
263
|
+
actionType: string;
|
|
264
|
+
}[];
|
|
265
|
+
};
|
|
266
|
+
fetchInited: {
|
|
267
|
+
actions: {
|
|
268
|
+
actionType: string;
|
|
269
|
+
args: {
|
|
270
|
+
eventName: string;
|
|
271
|
+
};
|
|
272
|
+
data: {
|
|
273
|
+
apps: string;
|
|
274
|
+
};
|
|
275
|
+
}[];
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
id: string;
|
|
279
|
+
}[];
|
|
280
|
+
className: string;
|
|
281
|
+
open: boolean;
|
|
282
|
+
actionType?: undefined;
|
|
283
|
+
dialog?: undefined;
|
|
284
|
+
id?: undefined;
|
|
285
|
+
})[];
|
|
21
286
|
id: string;
|
|
22
287
|
messages: {};
|
|
23
288
|
onEvent: {
|
package/dist/amis-object.cjs.css
CHANGED
|
@@ -982,6 +982,9 @@ fieldset.antd-Collapse > legend{
|
|
|
982
982
|
border-top-width: 1px;
|
|
983
983
|
border-bottom-width: 1px
|
|
984
984
|
}
|
|
985
|
+
.\!border-b-0 {
|
|
986
|
+
border-bottom-width: 0px !important
|
|
987
|
+
}
|
|
985
988
|
.border-b {
|
|
986
989
|
border-bottom-width: 1px
|
|
987
990
|
}
|
|
@@ -1370,8 +1373,8 @@ fieldset.antd-Collapse > legend{
|
|
|
1370
1373
|
}
|
|
1371
1374
|
}
|
|
1372
1375
|
@media (min-width: 1024px) {
|
|
1373
|
-
.lg\:z
|
|
1374
|
-
z-index:
|
|
1376
|
+
.lg\:z-\[1000\] {
|
|
1377
|
+
z-index: 1000
|
|
1375
1378
|
}
|
|
1376
1379
|
.lg\:order-first {
|
|
1377
1380
|
order: -9999
|
|
@@ -1971,9 +1974,6 @@ body.steedos {
|
|
|
1971
1974
|
.steedos-object-form .steedos-markdown .antd-Tabs-pane.is-active {
|
|
1972
1975
|
display: block;
|
|
1973
1976
|
}
|
|
1974
|
-
.steedos-amis-form .antd-Form-item:last-child {
|
|
1975
|
-
margin-bottom: auto;
|
|
1976
|
-
}
|
|
1977
1977
|
.antd-Select-popover .antd-Select-menu .antd-Select-option .antd-Checkbox--checkbox {
|
|
1978
1978
|
white-space: nowrap;
|
|
1979
1979
|
}
|
|
@@ -2200,23 +2200,20 @@ body.steedos {
|
|
|
2200
2200
|
|
|
2201
2201
|
@media (min-width: 767px) {
|
|
2202
2202
|
/* 列表快速编辑功能样式 */
|
|
2203
|
+
td.steedos-table-file-field div {
|
|
2204
|
+
display: inline;
|
|
2205
|
+
}
|
|
2203
2206
|
/* amis3.2版本快速编辑单元格样式:start */
|
|
2204
2207
|
body.amis-3-2 .steedos-object-table tbody td.antd-Field--quickEditable > div {
|
|
2205
2208
|
display: flex;
|
|
2206
2209
|
align-items: center;
|
|
2207
2210
|
justify-content: space-between;
|
|
2208
2211
|
}
|
|
2209
|
-
body.amis-3-2 .steedos-object-table tbody td.antd-Field--quickEditable > div .antd-Field-quickEditBtn {
|
|
2210
|
-
padding-right: 13px;
|
|
2211
|
-
}
|
|
2212
2212
|
body.amis-3-2 .steedos-object-table tbody td.antd-Field--quickEditable > div .antd-Field-quickEditBtn svg {
|
|
2213
|
-
|
|
2214
|
-
}
|
|
2215
|
-
body.amis-3-2 .steedos-object-table tbody td.antd-Field--quickEditable:hover div .antd-Field-quickEditBtn {
|
|
2216
|
-
padding-right: 0;
|
|
2213
|
+
visibility: hidden;
|
|
2217
2214
|
}
|
|
2218
2215
|
body.amis-3-2 .steedos-object-table tbody td.antd-Field--quickEditable:hover div .antd-Field-quickEditBtn svg {
|
|
2219
|
-
|
|
2216
|
+
visibility: visible;
|
|
2220
2217
|
}
|
|
2221
2218
|
/* amis3.2版本快速编辑单元格样式:end */
|
|
2222
2219
|
.steedos-object-table thead tr th:nth-last-child(2),
|
|
@@ -2229,17 +2226,11 @@ body.steedos {
|
|
|
2229
2226
|
width: 0.5px !important;
|
|
2230
2227
|
min-width: 0.5px !important;
|
|
2231
2228
|
}
|
|
2232
|
-
.steedos-object-table tbody td.antd-Field--quickEditable .antd-Field-quickEditBtn {
|
|
2233
|
-
padding-right: 13px;
|
|
2234
|
-
}
|
|
2235
2229
|
.steedos-object-table tbody td.antd-Field--quickEditable .antd-Field-quickEditBtn svg {
|
|
2236
|
-
|
|
2237
|
-
}
|
|
2238
|
-
.steedos-object-table tbody td.antd-Field--quickEditable:hover .antd-Field-quickEditBtn {
|
|
2239
|
-
padding-right: 0;
|
|
2230
|
+
visibility: hidden;
|
|
2240
2231
|
}
|
|
2241
2232
|
.steedos-object-table tbody td.antd-Field--quickEditable:hover .antd-Field-quickEditBtn svg {
|
|
2242
|
-
|
|
2233
|
+
visibility: visible;
|
|
2243
2234
|
}
|
|
2244
2235
|
.steedos-object-table .date-min-w {
|
|
2245
2236
|
min-width: 9em;
|