@steedos-widgets/amis-object 1.0.14 → 1.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/AmisAppMenu.d.ts +1 -1
- package/dist/amis/AmisRecordDetailRelatedLists.d.ts +1 -0
- package/dist/amis/AmisSelectFlow.d.ts +89 -0
- package/dist/amis/AmisSteedosField.d.ts +0 -9
- package/dist/amis/index.d.ts +1 -0
- package/dist/amis-object.cjs.css +29 -8
- package/dist/amis-object.cjs.js +1 -1
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +29 -8
- package/dist/amis-object.esm.js +1 -1
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +29 -8
- 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/dist/meta.js +361 -287
- package/dist/metas/AmisSelectFlow.d.ts +2 -0
- package/dist/tailwind-base.css +1 -10
- package/package.json +3 -3
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @css
|
|
4
|
+
* max-h-[80vh]
|
|
5
|
+
* !mb-6
|
|
6
|
+
*/
|
|
7
|
+
export declare const AmisSelectFlow: (props: any) => {
|
|
8
|
+
type: any;
|
|
9
|
+
id: any;
|
|
10
|
+
label: any;
|
|
11
|
+
name: any;
|
|
12
|
+
options: any[];
|
|
13
|
+
multiple: any;
|
|
14
|
+
delimiter: any;
|
|
15
|
+
joinValues: any;
|
|
16
|
+
extractValue: any;
|
|
17
|
+
searchable: any;
|
|
18
|
+
showOutline: any;
|
|
19
|
+
initiallyOpen: any;
|
|
20
|
+
unfoldedLevel: any;
|
|
21
|
+
className: any;
|
|
22
|
+
treeContainerClassName: any;
|
|
23
|
+
source: {
|
|
24
|
+
method: string;
|
|
25
|
+
url: string;
|
|
26
|
+
requestAdaptor: string;
|
|
27
|
+
headers: {
|
|
28
|
+
Authorization: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
showIcon: any;
|
|
32
|
+
showRadio: any;
|
|
33
|
+
onlyLeaf: boolean;
|
|
34
|
+
onEvent: any;
|
|
35
|
+
} | {
|
|
36
|
+
type: string;
|
|
37
|
+
id: string;
|
|
38
|
+
body: ({
|
|
39
|
+
type: any;
|
|
40
|
+
id: any;
|
|
41
|
+
label: any;
|
|
42
|
+
name: any;
|
|
43
|
+
options: any[];
|
|
44
|
+
multiple: any;
|
|
45
|
+
delimiter: any;
|
|
46
|
+
joinValues: any;
|
|
47
|
+
extractValue: any;
|
|
48
|
+
searchable: any;
|
|
49
|
+
showOutline: any;
|
|
50
|
+
initiallyOpen: any;
|
|
51
|
+
unfoldedLevel: any;
|
|
52
|
+
className: any;
|
|
53
|
+
treeContainerClassName: any;
|
|
54
|
+
source: {
|
|
55
|
+
method: string;
|
|
56
|
+
url: string;
|
|
57
|
+
requestAdaptor: string;
|
|
58
|
+
headers: {
|
|
59
|
+
Authorization: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
showIcon: any;
|
|
63
|
+
showRadio: any;
|
|
64
|
+
onlyLeaf: boolean;
|
|
65
|
+
onEvent: any;
|
|
66
|
+
} | {
|
|
67
|
+
type: string;
|
|
68
|
+
className: string;
|
|
69
|
+
name: string;
|
|
70
|
+
enhance: boolean;
|
|
71
|
+
onEvent: {
|
|
72
|
+
search: {
|
|
73
|
+
actions: ({
|
|
74
|
+
actionType: string;
|
|
75
|
+
componentId: string;
|
|
76
|
+
args: {
|
|
77
|
+
value: {
|
|
78
|
+
keywords: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
} | {
|
|
82
|
+
componentId: string;
|
|
83
|
+
actionType: string;
|
|
84
|
+
args?: undefined;
|
|
85
|
+
})[];
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
})[];
|
|
89
|
+
};
|
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
export declare const AmisSteedosField: (props: any) => Promise<{
|
|
2
|
-
name: any;
|
|
3
|
-
label: any;
|
|
4
|
-
labelRemark: any;
|
|
5
|
-
required: any;
|
|
6
|
-
} & {
|
|
7
2
|
type: any;
|
|
8
3
|
tpl: string;
|
|
9
4
|
value: string | number | boolean;
|
|
10
5
|
multiple: boolean;
|
|
11
6
|
extractValue: boolean;
|
|
12
7
|
className: any;
|
|
13
|
-
labelClassName: string;
|
|
14
8
|
quickEdit: boolean;
|
|
15
9
|
visibleOn: string;
|
|
16
|
-
} & {
|
|
17
|
-
clearValueOnHidden: boolean;
|
|
18
|
-
fieldName: any;
|
|
19
10
|
}>;
|
package/dist/amis/index.d.ts
CHANGED
package/dist/amis-object.cjs.css
CHANGED
|
@@ -170,6 +170,13 @@ body {
|
|
|
170
170
|
background: #ffffff
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
+
.antd-Select--multi .antd-Select-valueWrap{
|
|
174
|
+
display: flex;
|
|
175
|
+
}
|
|
176
|
+
.antd-Select--multi .antd-Select-valueWrap .antd-Select-value{
|
|
177
|
+
display: flex;
|
|
178
|
+
align-items: center;
|
|
179
|
+
}
|
|
173
180
|
/* @tailwind base; */
|
|
174
181
|
.container {
|
|
175
182
|
width: 100%
|
|
@@ -202,9 +209,6 @@ body {
|
|
|
202
209
|
.visible {
|
|
203
210
|
visibility: visible
|
|
204
211
|
}
|
|
205
|
-
.collapse {
|
|
206
|
-
visibility: collapse
|
|
207
|
-
}
|
|
208
212
|
.static {
|
|
209
213
|
position: static
|
|
210
214
|
}
|
|
@@ -256,6 +260,9 @@ body {
|
|
|
256
260
|
.mb-3 {
|
|
257
261
|
margin-bottom: 0.75rem
|
|
258
262
|
}
|
|
263
|
+
.\!mb-6 {
|
|
264
|
+
margin-bottom: 1.5rem !important
|
|
265
|
+
}
|
|
259
266
|
.mt-0\.5 {
|
|
260
267
|
margin-top: 0.125rem
|
|
261
268
|
}
|
|
@@ -301,12 +308,12 @@ body {
|
|
|
301
308
|
.max-h-96 {
|
|
302
309
|
max-height: 24rem
|
|
303
310
|
}
|
|
311
|
+
.max-h-\[80vh\] {
|
|
312
|
+
max-height: 80vh
|
|
313
|
+
}
|
|
304
314
|
.w-4 {
|
|
305
315
|
width: 1rem
|
|
306
316
|
}
|
|
307
|
-
.w-56 {
|
|
308
|
-
width: 14rem
|
|
309
|
-
}
|
|
310
317
|
.w-20 {
|
|
311
318
|
width: 5rem
|
|
312
319
|
}
|
|
@@ -626,11 +633,15 @@ body {
|
|
|
626
633
|
width: 1rem !important;
|
|
627
634
|
height: 1rem !important;
|
|
628
635
|
}
|
|
629
|
-
.steedos-record-related-list .
|
|
636
|
+
.steedos-record-related-list .min-w-56 {
|
|
637
|
+
min-width: 220px;
|
|
638
|
+
}
|
|
639
|
+
.steedos-record-related-list .textarea span {
|
|
630
640
|
-webkit-line-clamp: 3;
|
|
631
641
|
display: -webkit-box;
|
|
632
642
|
-webkit-box-orient: vertical;
|
|
633
643
|
overflow: hidden;
|
|
644
|
+
text-overflow: ellipsis;
|
|
634
645
|
}
|
|
635
646
|
.steedos-listview .antd-Images {
|
|
636
647
|
display: inline !important;
|
|
@@ -639,11 +650,15 @@ body {
|
|
|
639
650
|
width: 1rem !important;
|
|
640
651
|
height: 1rem !important;
|
|
641
652
|
}
|
|
642
|
-
.steedos-listview .
|
|
653
|
+
.steedos-listview .min-w-56 {
|
|
654
|
+
min-width: 220px;
|
|
655
|
+
}
|
|
656
|
+
.steedos-listview .textarea span {
|
|
643
657
|
-webkit-line-clamp: 3;
|
|
644
658
|
display: -webkit-box;
|
|
645
659
|
-webkit-box-orient: vertical;
|
|
646
660
|
overflow: hidden;
|
|
661
|
+
text-overflow: ellipsis;
|
|
647
662
|
}
|
|
648
663
|
@media (max-width: 576px) {
|
|
649
664
|
.antd-Crud-toolbar {
|
|
@@ -681,6 +696,9 @@ body {
|
|
|
681
696
|
-moz-column-gap: 1rem;
|
|
682
697
|
column-gap: 1rem;
|
|
683
698
|
}
|
|
699
|
+
.steedos-amis-form .antd-Collapse .antd-Form--quickEdit {
|
|
700
|
+
grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
|
|
701
|
+
}
|
|
684
702
|
}
|
|
685
703
|
|
|
686
704
|
.steedos-context-bar .antd-Nav-list {
|
|
@@ -713,6 +731,9 @@ body {
|
|
|
713
731
|
.antd-Nav .antd-Nav-list--stacked .antd-Badge .antd-Nav-itemToggler {
|
|
714
732
|
height: auto;
|
|
715
733
|
}
|
|
734
|
+
.h-fill {
|
|
735
|
+
height: -webkit-fill-available !important;
|
|
736
|
+
}
|
|
716
737
|
|
|
717
738
|
.sidebar-wrapper {
|
|
718
739
|
background: #1f2937;
|