@steedos-widgets/amis-object 1.0.39 → 1.0.41
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 +23 -85
- package/dist/amis/AmisInstanceDetail.d.ts +37 -4
- package/dist/amis-object.cjs.css +50 -5
- package/dist/amis-object.cjs.js +1 -1
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +50 -5
- package/dist/amis-object.esm.js +1 -1
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +50 -5
- package/dist/amis-object.umd.js +1 -1
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets-dev.json +11 -11
- package/dist/assets.json +10 -10
- package/package.json +3 -3
|
@@ -9,12 +9,21 @@ export declare const AmisAppLauncher: (props: any) => Promise<{
|
|
|
9
9
|
type: string;
|
|
10
10
|
className: string;
|
|
11
11
|
tpl: string;
|
|
12
|
+
badge: {
|
|
13
|
+
visibleOn: string;
|
|
14
|
+
offset: number[];
|
|
15
|
+
style: {
|
|
16
|
+
width: string;
|
|
17
|
+
height: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
12
20
|
hiddenOn?: undefined;
|
|
13
21
|
} | {
|
|
14
22
|
type: string;
|
|
15
23
|
className: string;
|
|
16
24
|
tpl: string;
|
|
17
25
|
hiddenOn: string;
|
|
26
|
+
badge?: undefined;
|
|
18
27
|
})[];
|
|
19
28
|
dialog: {
|
|
20
29
|
size: string;
|
|
@@ -24,93 +33,22 @@ export declare const AmisAppLauncher: (props: any) => Promise<{
|
|
|
24
33
|
className: string;
|
|
25
34
|
};
|
|
26
35
|
actions: any[];
|
|
27
|
-
body: {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
name: string;
|
|
41
|
-
items: {
|
|
42
|
-
type: string;
|
|
43
|
-
level: string;
|
|
44
|
-
actionType: string;
|
|
45
|
-
link: string;
|
|
46
|
-
body: {
|
|
47
|
-
type: string;
|
|
48
|
-
tpl: string;
|
|
49
|
-
}[];
|
|
50
|
-
onEvent: {
|
|
51
|
-
click: {
|
|
52
|
-
actions: {
|
|
53
|
-
actionType: string;
|
|
54
|
-
}[];
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
inline: boolean;
|
|
58
|
-
style: {};
|
|
59
|
-
className: string;
|
|
60
|
-
};
|
|
61
|
-
className: string;
|
|
62
|
-
}[];
|
|
63
|
-
className?: undefined;
|
|
64
|
-
} | {
|
|
65
|
-
type: string;
|
|
66
|
-
key: string;
|
|
67
|
-
header: string;
|
|
68
|
-
body: {
|
|
69
|
-
type: string;
|
|
70
|
-
name: string;
|
|
71
|
-
items: {
|
|
72
|
-
type: string;
|
|
73
|
-
level: string;
|
|
74
|
-
actionType: string;
|
|
75
|
-
link: string;
|
|
76
|
-
body: {
|
|
77
|
-
type: string;
|
|
78
|
-
wrapperComponent: string;
|
|
79
|
-
className: string;
|
|
80
|
-
tpl: string;
|
|
81
|
-
}[];
|
|
82
|
-
onEvent: {
|
|
83
|
-
click: {
|
|
84
|
-
actions: {
|
|
85
|
-
actionType: string;
|
|
86
|
-
}[];
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
inline: boolean;
|
|
90
|
-
style: {};
|
|
91
|
-
className: string;
|
|
92
|
-
};
|
|
93
|
-
className: string;
|
|
94
|
-
}[];
|
|
95
|
-
className: string;
|
|
96
|
-
})[];
|
|
97
|
-
}[];
|
|
98
|
-
className: string;
|
|
99
|
-
visibleOn: string;
|
|
100
|
-
clearValueOnHidden: boolean;
|
|
101
|
-
visible: boolean;
|
|
102
|
-
messages: {};
|
|
103
|
-
api: {
|
|
104
|
-
method: string;
|
|
105
|
-
url: string;
|
|
106
|
-
data: any;
|
|
107
|
-
headers: {
|
|
108
|
-
Authorization: string;
|
|
36
|
+
body: {}[];
|
|
37
|
+
};
|
|
38
|
+
id: string;
|
|
39
|
+
}[];
|
|
40
|
+
id: string;
|
|
41
|
+
messages: {};
|
|
42
|
+
onEvent: {
|
|
43
|
+
"@data.changed.steedos_keyvalues": {
|
|
44
|
+
actions: {
|
|
45
|
+
actionType: string;
|
|
46
|
+
args: {
|
|
47
|
+
value: {
|
|
48
|
+
keyvalue: string;
|
|
109
49
|
};
|
|
110
|
-
adaptor: string;
|
|
111
50
|
};
|
|
112
51
|
}[];
|
|
113
52
|
};
|
|
114
|
-
|
|
115
|
-
}[];
|
|
53
|
+
};
|
|
116
54
|
}>;
|
|
@@ -209,6 +209,8 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
|
|
|
209
209
|
debug: boolean;
|
|
210
210
|
id: string;
|
|
211
211
|
resetAfterSubmit: boolean;
|
|
212
|
+
clearPersistDataAfterSubmit: boolean;
|
|
213
|
+
persistData: string;
|
|
212
214
|
body: ({
|
|
213
215
|
type: string;
|
|
214
216
|
label: boolean;
|
|
@@ -328,7 +330,40 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
|
|
|
328
330
|
md: string;
|
|
329
331
|
valign: string;
|
|
330
332
|
} | {
|
|
331
|
-
body:
|
|
333
|
+
body: (({
|
|
334
|
+
type: string;
|
|
335
|
+
} & {
|
|
336
|
+
name: string;
|
|
337
|
+
hiddenOn: string;
|
|
338
|
+
required: boolean;
|
|
339
|
+
}) | {
|
|
340
|
+
type: string;
|
|
341
|
+
label: string;
|
|
342
|
+
name: string;
|
|
343
|
+
id: string;
|
|
344
|
+
required: boolean;
|
|
345
|
+
multiple: string;
|
|
346
|
+
source: {
|
|
347
|
+
url: string;
|
|
348
|
+
method: string;
|
|
349
|
+
sendOn: string;
|
|
350
|
+
headers: {
|
|
351
|
+
Authorization: string;
|
|
352
|
+
};
|
|
353
|
+
messages: {};
|
|
354
|
+
requestAdaptor: string;
|
|
355
|
+
adaptor: string;
|
|
356
|
+
data: {
|
|
357
|
+
"&": string;
|
|
358
|
+
$scopeId: string;
|
|
359
|
+
context: string;
|
|
360
|
+
next_step: string;
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
labelField: string;
|
|
364
|
+
valueField: string;
|
|
365
|
+
hiddenOn: string;
|
|
366
|
+
})[];
|
|
332
367
|
id: string;
|
|
333
368
|
md?: undefined;
|
|
334
369
|
valign?: undefined;
|
|
@@ -599,10 +634,8 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
|
|
|
599
634
|
pullRefresh: {};
|
|
600
635
|
regions: string[];
|
|
601
636
|
onEvent: {
|
|
602
|
-
|
|
603
|
-
weight: number;
|
|
637
|
+
"@data.@instanceDetail.changed": {
|
|
604
638
|
actions: {
|
|
605
|
-
componentId: string;
|
|
606
639
|
actionType: string;
|
|
607
640
|
}[];
|
|
608
641
|
};
|
package/dist/amis-object.cjs.css
CHANGED
|
@@ -366,6 +366,9 @@ body {
|
|
|
366
366
|
.flex {
|
|
367
367
|
display: flex
|
|
368
368
|
}
|
|
369
|
+
.inline-flex {
|
|
370
|
+
display: inline-flex
|
|
371
|
+
}
|
|
369
372
|
.table {
|
|
370
373
|
display: table
|
|
371
374
|
}
|
|
@@ -432,6 +435,12 @@ body {
|
|
|
432
435
|
.w-12 {
|
|
433
436
|
width: 3rem
|
|
434
437
|
}
|
|
438
|
+
.w-1\/3 {
|
|
439
|
+
width: 33.333333%
|
|
440
|
+
}
|
|
441
|
+
.w-full {
|
|
442
|
+
width: 100%
|
|
443
|
+
}
|
|
435
444
|
.w-10 {
|
|
436
445
|
width: 2.5rem
|
|
437
446
|
}
|
|
@@ -444,9 +453,6 @@ body {
|
|
|
444
453
|
.\!w-full {
|
|
445
454
|
width: 100% !important
|
|
446
455
|
}
|
|
447
|
-
.w-full {
|
|
448
|
-
width: 100%
|
|
449
|
-
}
|
|
450
456
|
.w-8 {
|
|
451
457
|
width: 2rem
|
|
452
458
|
}
|
|
@@ -488,6 +494,9 @@ body {
|
|
|
488
494
|
.flex-col {
|
|
489
495
|
flex-direction: column
|
|
490
496
|
}
|
|
497
|
+
.flex-wrap {
|
|
498
|
+
flex-wrap: wrap
|
|
499
|
+
}
|
|
491
500
|
.items-center {
|
|
492
501
|
align-items: center
|
|
493
502
|
}
|
|
@@ -595,6 +604,9 @@ body {
|
|
|
595
604
|
.fill-slate-500 {
|
|
596
605
|
fill: #64748b
|
|
597
606
|
}
|
|
607
|
+
.fill-gray-500 {
|
|
608
|
+
fill: #6b7280
|
|
609
|
+
}
|
|
598
610
|
.p-4 {
|
|
599
611
|
padding: 1rem
|
|
600
612
|
}
|
|
@@ -1048,8 +1060,10 @@ body.sidebar-open .sidebar-wrapper {
|
|
|
1048
1060
|
body.sidebar #sidebar {
|
|
1049
1061
|
margin-top: 50px;
|
|
1050
1062
|
}
|
|
1051
|
-
|
|
1052
|
-
|
|
1063
|
+
@media (min-width: 768px) {
|
|
1064
|
+
body.sidebar.sidebar-open #main {
|
|
1065
|
+
margin-left: 220px;
|
|
1066
|
+
}
|
|
1053
1067
|
}
|
|
1054
1068
|
@media (max-width: 768px) {
|
|
1055
1069
|
body.sidebar.sidebar-open #sidebar {
|
|
@@ -1148,3 +1162,34 @@ body.sidebar.sidebar-open #main {
|
|
|
1148
1162
|
.steedos-amis-instance-view .form-control {
|
|
1149
1163
|
background: no-repeat;
|
|
1150
1164
|
}
|
|
1165
|
+
.steedos-amis-instance-view .form-control .antd-Table-table thead th {
|
|
1166
|
+
background: transparent !important;
|
|
1167
|
+
border-color: #000;
|
|
1168
|
+
}
|
|
1169
|
+
.steedos-amis-instance-view .form-control .antd-Table-table tbody td {
|
|
1170
|
+
border: 1px solid #000;
|
|
1171
|
+
padding-left: 0.75rem !important;
|
|
1172
|
+
}
|
|
1173
|
+
.steedos-amis-instance-view .form-control .antd-Table-table tbody td:last-child {
|
|
1174
|
+
border-right: none !important;
|
|
1175
|
+
}
|
|
1176
|
+
.steedos-amis-instance-view .form-control .antd-Table-table tbody td:first-child {
|
|
1177
|
+
border-left: none !important;
|
|
1178
|
+
}
|
|
1179
|
+
.steedos-amis-instance-view .form-control .antd-Table-table tbody tr:last-child td {
|
|
1180
|
+
border-bottom: none !important;
|
|
1181
|
+
}
|
|
1182
|
+
.steedos-amis-instance-view .form-control .antd-InputTable .antd-Table {
|
|
1183
|
+
margin-bottom: 0px;
|
|
1184
|
+
}
|
|
1185
|
+
.steedos-amis-instance-view .form-control .antd-InputTable .antd-InputTable-toolbar {
|
|
1186
|
+
border-top: 1px solid #000;
|
|
1187
|
+
}
|
|
1188
|
+
.steedos-amis-instance-view .form-control .antd-InputTable .antd-InputTable-toolbar button {
|
|
1189
|
+
width: 100%;
|
|
1190
|
+
height: 100%;
|
|
1191
|
+
border-radius: 0px;
|
|
1192
|
+
background: transparent;
|
|
1193
|
+
border: none;
|
|
1194
|
+
color: #000;
|
|
1195
|
+
}
|