@steedos-widgets/amis-object 6.10.53-beta.17 → 6.10.53-beta.19
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.
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
import './AmisInputTable.less';
|
|
2
2
|
export declare const AmisInputTable: (props: any) => Promise<{
|
|
3
|
+
type: string;
|
|
4
|
+
label: any;
|
|
5
|
+
labelClassName: any;
|
|
6
|
+
labelRemark: any;
|
|
7
|
+
labelAlign: any;
|
|
8
|
+
mode: any;
|
|
9
|
+
visibleOn: any;
|
|
10
|
+
visible: any;
|
|
11
|
+
hiddenOn: any;
|
|
12
|
+
hidden: any;
|
|
13
|
+
required: any;
|
|
14
|
+
className: string;
|
|
15
|
+
body: {
|
|
16
|
+
type: string;
|
|
17
|
+
className: string;
|
|
18
|
+
dataProvider: (data: any, setData: any) => void;
|
|
19
|
+
body: {
|
|
20
|
+
type: string;
|
|
21
|
+
className: string;
|
|
22
|
+
border: boolean;
|
|
23
|
+
borderColor: string;
|
|
24
|
+
padding: string;
|
|
25
|
+
trs: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
} | {
|
|
3
29
|
type: string;
|
|
4
30
|
body: {
|
|
5
31
|
type: string;
|
|
@@ -21,12 +21,8 @@ export declare const AmisInstanceHandler: (props: any) => Promise<{
|
|
|
21
21
|
required: boolean;
|
|
22
22
|
inputClassName: string;
|
|
23
23
|
multiple?: undefined;
|
|
24
|
-
source?: undefined;
|
|
25
|
-
labelField?: undefined;
|
|
26
|
-
valueField?: undefined;
|
|
27
|
-
joinValues?: undefined;
|
|
28
|
-
extractValue?: undefined;
|
|
29
24
|
className?: undefined;
|
|
25
|
+
body?: undefined;
|
|
30
26
|
tpl?: undefined;
|
|
31
27
|
visibleOn?: undefined;
|
|
32
28
|
} | {
|
|
@@ -38,29 +34,106 @@ export declare const AmisInstanceHandler: (props: any) => Promise<{
|
|
|
38
34
|
required: boolean;
|
|
39
35
|
multiple: boolean;
|
|
40
36
|
inputClassName: string;
|
|
41
|
-
source?: undefined;
|
|
42
|
-
labelField?: undefined;
|
|
43
|
-
valueField?: undefined;
|
|
44
|
-
joinValues?: undefined;
|
|
45
|
-
extractValue?: undefined;
|
|
46
37
|
className?: undefined;
|
|
38
|
+
body?: undefined;
|
|
47
39
|
tpl?: undefined;
|
|
48
40
|
visibleOn?: undefined;
|
|
49
41
|
} | {
|
|
50
42
|
type: string;
|
|
51
|
-
|
|
52
|
-
name: any;
|
|
53
|
-
id: any;
|
|
54
|
-
required: boolean;
|
|
43
|
+
className: string;
|
|
55
44
|
hiddenOn: string;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
45
|
+
body: ({
|
|
46
|
+
type: string;
|
|
47
|
+
label: any;
|
|
48
|
+
name: any;
|
|
49
|
+
id: any;
|
|
50
|
+
required: boolean;
|
|
51
|
+
multiple: boolean;
|
|
52
|
+
source: string;
|
|
53
|
+
labelField: string;
|
|
54
|
+
valueField: string;
|
|
55
|
+
joinValues: boolean;
|
|
56
|
+
extractValue: boolean;
|
|
57
|
+
className: string;
|
|
58
|
+
visibleOn?: undefined;
|
|
59
|
+
placeholder?: undefined;
|
|
60
|
+
columnRatio?: undefined;
|
|
61
|
+
columnClassName?: undefined;
|
|
62
|
+
inputClassName?: undefined;
|
|
63
|
+
} | {
|
|
64
|
+
type: string;
|
|
65
|
+
name: any;
|
|
66
|
+
id: string;
|
|
67
|
+
visibleOn: string;
|
|
68
|
+
required: boolean;
|
|
69
|
+
multiple: boolean;
|
|
70
|
+
placeholder: string;
|
|
71
|
+
columnRatio: string;
|
|
72
|
+
columnClassName: string;
|
|
73
|
+
inputClassName: string;
|
|
74
|
+
label?: undefined;
|
|
75
|
+
source?: undefined;
|
|
76
|
+
labelField?: undefined;
|
|
77
|
+
valueField?: undefined;
|
|
78
|
+
joinValues?: undefined;
|
|
79
|
+
extractValue?: undefined;
|
|
80
|
+
className?: undefined;
|
|
81
|
+
})[];
|
|
82
|
+
label?: undefined;
|
|
83
|
+
name?: undefined;
|
|
84
|
+
id?: undefined;
|
|
85
|
+
required?: undefined;
|
|
86
|
+
inputClassName?: undefined;
|
|
87
|
+
multiple?: undefined;
|
|
88
|
+
tpl?: undefined;
|
|
89
|
+
visibleOn?: undefined;
|
|
90
|
+
} | {
|
|
91
|
+
type: string;
|
|
62
92
|
className: string;
|
|
93
|
+
hiddenOn: string;
|
|
94
|
+
body: ({
|
|
95
|
+
type: string;
|
|
96
|
+
label: any;
|
|
97
|
+
name: any;
|
|
98
|
+
id: any;
|
|
99
|
+
required: boolean;
|
|
100
|
+
multiple: boolean;
|
|
101
|
+
source: string;
|
|
102
|
+
labelField: string;
|
|
103
|
+
valueField: string;
|
|
104
|
+
joinValues: boolean;
|
|
105
|
+
extractValue: boolean;
|
|
106
|
+
className: string;
|
|
107
|
+
visibleOn?: undefined;
|
|
108
|
+
placeholder?: undefined;
|
|
109
|
+
columnRatio?: undefined;
|
|
110
|
+
columnClassName?: undefined;
|
|
111
|
+
inputClassName?: undefined;
|
|
112
|
+
} | {
|
|
113
|
+
type: string;
|
|
114
|
+
name: any;
|
|
115
|
+
id: string;
|
|
116
|
+
visibleOn: string;
|
|
117
|
+
required: boolean;
|
|
118
|
+
placeholder: string;
|
|
119
|
+
columnRatio: string;
|
|
120
|
+
columnClassName: string;
|
|
121
|
+
inputClassName: string;
|
|
122
|
+
label?: undefined;
|
|
123
|
+
multiple?: undefined;
|
|
124
|
+
source?: undefined;
|
|
125
|
+
labelField?: undefined;
|
|
126
|
+
valueField?: undefined;
|
|
127
|
+
joinValues?: undefined;
|
|
128
|
+
extractValue?: undefined;
|
|
129
|
+
className?: undefined;
|
|
130
|
+
})[];
|
|
131
|
+
label?: undefined;
|
|
132
|
+
name?: undefined;
|
|
133
|
+
id?: undefined;
|
|
134
|
+
required?: undefined;
|
|
63
135
|
inputClassName?: undefined;
|
|
136
|
+
multiple?: undefined;
|
|
64
137
|
tpl?: undefined;
|
|
65
138
|
visibleOn?: undefined;
|
|
66
139
|
} | {
|
|
@@ -74,12 +147,8 @@ export declare const AmisInstanceHandler: (props: any) => Promise<{
|
|
|
74
147
|
required?: undefined;
|
|
75
148
|
inputClassName?: undefined;
|
|
76
149
|
multiple?: undefined;
|
|
77
|
-
source?: undefined;
|
|
78
|
-
labelField?: undefined;
|
|
79
|
-
valueField?: undefined;
|
|
80
|
-
joinValues?: undefined;
|
|
81
|
-
extractValue?: undefined;
|
|
82
150
|
className?: undefined;
|
|
151
|
+
body?: undefined;
|
|
83
152
|
})[];
|
|
84
153
|
} | {
|
|
85
154
|
type: string;
|
package/dist/amis-object.umd.css
CHANGED
|
@@ -3605,6 +3605,99 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
3605
3605
|
white-space: nowrap;
|
|
3606
3606
|
word-break: normal;
|
|
3607
3607
|
}
|
|
3608
|
+
.steedos-print-input-table-wrap {
|
|
3609
|
+
width: 100%;
|
|
3610
|
+
overflow-x: auto;
|
|
3611
|
+
}
|
|
3612
|
+
@media print {
|
|
3613
|
+
.steedos-print-input-table-wrap.steedos-print-input-table-wrap.steedos-print-input-table-wrap {
|
|
3614
|
+
overflow-x: auto !important;
|
|
3615
|
+
overflow-y: visible !important;
|
|
3616
|
+
}
|
|
3617
|
+
}
|
|
3618
|
+
.steedos-print-input-table-host {
|
|
3619
|
+
margin: 0 !important;
|
|
3620
|
+
padding: 0 !important;
|
|
3621
|
+
contain: inline-size;
|
|
3622
|
+
max-width: 100%;
|
|
3623
|
+
}
|
|
3624
|
+
.steedos-print-input-table-host .antd-Form-control,
|
|
3625
|
+
.steedos-print-input-table-host .antd-Form-value,
|
|
3626
|
+
.steedos-print-input-table-host .antd-Form-item-content,
|
|
3627
|
+
.steedos-print-input-table-host .antd-Form-itemColumn {
|
|
3628
|
+
margin: 0 !important;
|
|
3629
|
+
padding: 0 !important;
|
|
3630
|
+
}
|
|
3631
|
+
.steedos-print-input-table {
|
|
3632
|
+
width: 100%;
|
|
3633
|
+
table-layout: auto;
|
|
3634
|
+
border-collapse: collapse;
|
|
3635
|
+
color: #000;
|
|
3636
|
+
min-width: -moz-max-content;
|
|
3637
|
+
min-width: max-content;
|
|
3638
|
+
}
|
|
3639
|
+
.steedos-print-input-table th,
|
|
3640
|
+
.steedos-print-input-table td {
|
|
3641
|
+
border: 1px solid #000;
|
|
3642
|
+
padding: 4px 6px;
|
|
3643
|
+
vertical-align: top;
|
|
3644
|
+
word-break: normal;
|
|
3645
|
+
overflow-wrap: break-word;
|
|
3646
|
+
font-size: 14px;
|
|
3647
|
+
line-height: 1.4;
|
|
3648
|
+
text-align: left;
|
|
3649
|
+
font-weight: inherit;
|
|
3650
|
+
}
|
|
3651
|
+
.steedos-print-input-table thead tr:first-child > th {
|
|
3652
|
+
border-top: 0;
|
|
3653
|
+
}
|
|
3654
|
+
.steedos-print-input-table tbody tr:last-child > td {
|
|
3655
|
+
border-bottom: 0;
|
|
3656
|
+
}
|
|
3657
|
+
.steedos-print-input-table tr > :first-child {
|
|
3658
|
+
border-left: 0;
|
|
3659
|
+
}
|
|
3660
|
+
.steedos-print-input-table tr > :last-child {
|
|
3661
|
+
border-right: 0;
|
|
3662
|
+
}
|
|
3663
|
+
.steedos-print-input-table thead th {
|
|
3664
|
+
background: transparent;
|
|
3665
|
+
}
|
|
3666
|
+
.steedos-print-input-table .steedos-print-input-table__index {
|
|
3667
|
+
width: 40px;
|
|
3668
|
+
text-align: center;
|
|
3669
|
+
}
|
|
3670
|
+
.steedos-print-input-table .steedos-print-input-table__nowrap {
|
|
3671
|
+
word-break: keep-all;
|
|
3672
|
+
overflow-wrap: normal;
|
|
3673
|
+
white-space: nowrap;
|
|
3674
|
+
}
|
|
3675
|
+
.steedos-print-input-table td:not(.steedos-print-input-table__index) {
|
|
3676
|
+
max-width: 320px;
|
|
3677
|
+
overflow-wrap: anywhere;
|
|
3678
|
+
word-break: break-word;
|
|
3679
|
+
}
|
|
3680
|
+
.steedos-print-input-table .steedos-print-input-table__img {
|
|
3681
|
+
display: inline-block;
|
|
3682
|
+
max-height: 60px;
|
|
3683
|
+
max-width: 120px;
|
|
3684
|
+
-o-object-fit: contain;
|
|
3685
|
+
object-fit: contain;
|
|
3686
|
+
margin: 2px 4px 2px 0;
|
|
3687
|
+
vertical-align: middle;
|
|
3688
|
+
}
|
|
3689
|
+
.steedos-print-input-table .steedos-print-input-table__file {
|
|
3690
|
+
color: #1d4ed8;
|
|
3691
|
+
text-decoration: underline;
|
|
3692
|
+
word-break: break-all;
|
|
3693
|
+
margin-right: 6px;
|
|
3694
|
+
}
|
|
3695
|
+
@media print {
|
|
3696
|
+
.steedos-print-input-table .steedos-print-input-table__file {
|
|
3697
|
+
color: inherit;
|
|
3698
|
+
text-decoration: none;
|
|
3699
|
+
}
|
|
3700
|
+
}
|
|
3608
3701
|
|
|
3609
3702
|
|
|
3610
3703
|
form[name="instanceForm"] .sfield-item {
|
|
@@ -3694,8 +3787,11 @@ div[name="instanceForm"] .sfield-item {
|
|
|
3694
3787
|
overflow: hidden;
|
|
3695
3788
|
}
|
|
3696
3789
|
.steedos-listview-split-max-height .steedos-object-listview .steedos-object-table .antd-Table-contentWrap .antd-Table-content {
|
|
3697
|
-
|
|
3790
|
+
height: calc(100vh - 207px);
|
|
3791
|
+
max-height: none;
|
|
3792
|
+
overflow: auto;
|
|
3698
3793
|
}
|
|
3699
3794
|
.steedos-listview-split-max-height .steedos-object-listview .steedos-object-table .antd-Table-contentWrap:not(:has(~ .antd-Table-toolbar)) .antd-Table-content {
|
|
3700
|
-
|
|
3795
|
+
height: calc(100vh - 177px);
|
|
3796
|
+
max-height: none;
|
|
3701
3797
|
}
|