@fangzhongya/fang-ui 0.1.45 → 0.1.47
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/components/cascaders/index.css +6 -0
- package/dist/components/cascaders/index.scss +6 -0
- package/dist/components/common/compons/components.cjs +0 -16
- package/dist/components/common/compons/components.d.ts +0 -8
- package/dist/components/common/compons/components.js +0 -16
- package/dist/components/common/compons/index.scss +0 -8
- package/dist/components/common/compons/index2.scss +0 -8
- package/dist/components/common/css.cjs +0 -1
- package/dist/components/common/css.js +0 -1
- package/dist/components/date-picker/style/element.scss +1 -1
- package/dist/components/dates-divide/index.css +6 -0
- package/dist/components/dates-divide/index.scss +6 -0
- package/dist/components/dates-divide/src/index2.cjs +4 -2
- package/dist/components/dates-divide/src/index2.js +4 -2
- package/dist/components/dates-picker/index.css +2 -2
- package/dist/components/dates-picker/index.scss +4 -4
- package/dist/components/dates-picker/src/index2.cjs +2 -1
- package/dist/components/dates-picker/src/index2.js +2 -1
- package/dist/components/dates2/index.css +9 -0
- package/dist/components/dates2/index.scss +3 -0
- package/dist/components/dates2/src/index2.cjs +6 -4
- package/dist/components/dates2/src/index2.js +6 -4
- package/dist/components/double/index.css +45 -10
- package/dist/components/double/index.scss +30 -17
- package/dist/components/double/src/data.cjs +24 -5
- package/dist/components/double/src/data.d.ts +23 -1
- package/dist/components/double/src/data.js +24 -5
- package/dist/components/double/src/index2.cjs +129 -64
- package/dist/components/double/src/index2.js +126 -61
- package/dist/components/double/style/index2.scss +1 -0
- package/dist/components/forms/common/config.cjs +3 -2
- package/dist/components/forms/common/config.js +3 -2
- package/dist/components/forms/index.css +74 -162
- package/dist/components/forms/src/setup.cjs +1 -2
- package/dist/components/forms/src/setup.js +1 -2
- package/dist/components/forms/src/util.cjs +30 -33
- package/dist/components/forms/src/util.js +29 -32
- package/dist/components/forms-item/index.css +3 -0
- package/dist/components/forms-item/index.scss +5 -0
- package/dist/components/forms-items/index.css +3 -0
- package/dist/components/forms-items/src/index2.cjs +1 -2
- package/dist/components/forms-items/src/index2.js +1 -2
- package/dist/components/input-history/index.css +3 -0
- package/dist/components/input-history/index.scss +3 -1
- package/dist/components/input-history/src/data.d.ts +1 -0
- package/dist/components/input-history/src/index2.cjs +23 -19
- package/dist/components/input-history/src/index2.js +15 -11
- package/dist/components/input-select/index.css +35 -7
- package/dist/components/input-select/index.scss +10 -7
- package/dist/components/input-select/src/index2.cjs +26 -19
- package/dist/components/input-select/src/index2.js +23 -16
- package/dist/components/input-select/style/index2.scss +2 -1
- package/dist/components/list/index.css +15 -14
- package/dist/components/list/index.scss +21 -19
- package/dist/components/list/src/index2.cjs +60 -41
- package/dist/components/list/src/index2.js +61 -42
- package/dist/components/lists/index.css +15 -14
- package/dist/components/lists/src/index2.cjs +1 -2
- package/dist/components/lists/src/index2.js +1 -2
- package/dist/components/listsp/index.css +15 -14
- package/dist/components/listspd/index.css +15 -14
- package/dist/components/page/index.css +94 -176
- package/dist/components/scss/function.scss +3 -1
- package/dist/components/select-scroll/src/index2.cjs +1 -1
- package/dist/components/select-scroll/src/index2.js +2 -2
- package/dist/components/selector/index.css +50 -10
- package/dist/components/selector/index.scss +5 -0
- package/dist/components/selector/src/data.cjs +7 -3
- package/dist/components/selector/src/data.d.ts +8 -4
- package/dist/components/selector/src/data.js +7 -3
- package/dist/components/selector/src/index2.cjs +127 -91
- package/dist/components/selector/src/index2.js +124 -88
- package/dist/components/tables/common/pagin.cjs +1 -1
- package/dist/components/tables/common/pagin.d.ts +4 -4
- package/dist/components/tables/common/pagin.js +1 -1
- package/dist/components/tables/common/tooltip.cjs +1 -1
- package/dist/components/tables/common/tooltip.js +1 -1
- package/dist/components/tables/index.css +5 -0
- package/dist/components/tables/index.scss +3 -0
- package/dist/components/tables/src/data.cjs +1 -3
- package/dist/components/tables/src/data.d.ts +1 -1
- package/dist/components/tables/src/data.js +1 -3
- package/dist/components/tables/src/index2.cjs +9 -3
- package/dist/components/tables/src/index2.js +10 -4
- package/dist/components/tablesp/index.css +5 -0
- package/dist/components/tablespd/index.css +5 -0
- package/dist/components/tablesv/src/data.cjs +1 -3
- package/dist/components/tablesv/src/data.d.ts +1 -1
- package/dist/components/tablesv/src/data.js +1 -3
- package/dist/components/tablesv/src/index2.cjs +9 -3
- package/dist/components/tablesv/src/index2.js +10 -4
- package/dist/css/cascaders.css +6 -0
- package/dist/css/dates-divide.css +6 -0
- package/dist/css/dates-picker.css +2 -2
- package/dist/css/dates2.css +9 -0
- package/dist/css/double.css +45 -10
- package/dist/css/forms-item.css +3 -0
- package/dist/css/forms-items.css +3 -0
- package/dist/css/forms.css +74 -162
- package/dist/css/index.css +247 -200
- package/dist/css/input-history.css +3 -0
- package/dist/css/input-select.css +35 -7
- package/dist/css/list.css +15 -14
- package/dist/css/lists.css +15 -14
- package/dist/css/listsp.css +15 -14
- package/dist/css/listspd.css +15 -14
- package/dist/css/page.css +94 -176
- package/dist/css/selector.css +50 -10
- package/dist/css/tables.css +5 -0
- package/dist/css/tablesp.css +5 -0
- package/dist/css/tablespd.css +5 -0
- package/dist/icons/index.json +1 -1
- package/dist/index.css +247 -200
- package/dist/type.d.ts +2 -2
- package/dist/utils/css.cjs +0 -10
- package/dist/utils/css.d.ts +0 -2
- package/dist/utils/css.js +1 -5
- package/dist/utils/vues/buildProps.d.ts +5 -0
- package/package.json +4 -4
- /package/dist/components/{keep-com → alert}/index.css +0 -0
- /package/dist/css/{keep-com.css → alert.css} +0 -0
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
width: 100%;
|
|
28
28
|
height: 100%;
|
|
29
29
|
}
|
|
30
|
-
.list-div .list-table
|
|
30
|
+
.list-div .list-table-td {
|
|
31
31
|
text-align: left;
|
|
32
32
|
}
|
|
33
|
-
.list-div .list-table
|
|
33
|
+
.list-div .list-table-th {
|
|
34
34
|
font-weight: initial;
|
|
35
35
|
}
|
|
36
36
|
.list-div .list-table .is-whole .list-table-auto {
|
|
@@ -102,11 +102,13 @@
|
|
|
102
102
|
.list-div .list-table .list-table-value {
|
|
103
103
|
word-break: break-all;
|
|
104
104
|
white-space: pre-wrap;
|
|
105
|
+
overflow: hidden;
|
|
106
|
+
}
|
|
107
|
+
.list-div .list-table .list-table-value.is-tooltip {
|
|
105
108
|
max-height: var(--list-row-max-height);
|
|
106
109
|
display: -webkit-box;
|
|
107
|
-
-webkit-line-clamp: var(--list-line-clamp); /* 显示的行数 */
|
|
110
|
+
-webkit-line-clamp: var(--list-line-clamp, 1); /* 显示的行数 */
|
|
108
111
|
-webkit-box-orient: vertical;
|
|
109
|
-
overflow: hidden;
|
|
110
112
|
text-overflow: ellipsis;
|
|
111
113
|
}
|
|
112
114
|
.list-div .list-table.right .list-table-th {
|
|
@@ -126,36 +128,35 @@
|
|
|
126
128
|
border-top: 1px solid var(--list-border-color);
|
|
127
129
|
border-bottom: 1px solid var(--list-border-color);
|
|
128
130
|
}
|
|
129
|
-
.list-div .list-table.is-border > tr > td {
|
|
131
|
+
.list-div .list-table.is-border > .list-table-tr > .list-table-td {
|
|
130
132
|
border-bottom: 1px solid var(--list-border-color);
|
|
131
133
|
border-left: 1px solid var(--list-border-color);
|
|
132
134
|
}
|
|
133
|
-
.list-div .list-table.is-border > tr > td:last-child {
|
|
135
|
+
.list-div .list-table.is-border > .list-table-tr > .list-table-td:last-child {
|
|
134
136
|
border-right: 1px solid var(--list-border-color);
|
|
135
137
|
}
|
|
136
|
-
.list-div .list-table.is-border > tr > th {
|
|
138
|
+
.list-div .list-table.is-border > .list-table-tr > .list-table-th {
|
|
137
139
|
border-left: 1px solid var(--list-border-color);
|
|
138
140
|
border-bottom: 1px solid var(--list-border-color);
|
|
139
141
|
}
|
|
140
|
-
.list-div .list-table.is-border > tr > th:last-child {
|
|
142
|
+
.list-div .list-table.is-border > .list-table-tr > .list-table-th:last-child {
|
|
141
143
|
border-right: 1px solid var(--list-border-color);
|
|
142
144
|
}
|
|
143
|
-
.list-div .list-table.is-border > tr:last-child > td {
|
|
145
|
+
.list-div .list-table.is-border > .list-table-tr:last-child > .list-table-td {
|
|
144
146
|
border-bottom: 0;
|
|
145
147
|
}
|
|
146
|
-
.list-div .list-table.is-border > tr:last-child > th {
|
|
148
|
+
.list-div .list-table.is-border > .list-table-tr:last-child > .list-table-th {
|
|
147
149
|
border-bottom: 0;
|
|
148
150
|
}
|
|
149
|
-
.list-div .list-table.is-border.top > tr > th {
|
|
151
|
+
.list-div .list-table.is-border.top > .list-table-tr > .list-table-th {
|
|
150
152
|
border-bottom: 0;
|
|
151
153
|
}
|
|
152
154
|
.list-div .list-table .list-com {
|
|
153
155
|
display: flex;
|
|
154
156
|
align-items: center;
|
|
155
157
|
}
|
|
156
|
-
.list-div .
|
|
157
|
-
|
|
158
|
-
height: 50px;
|
|
158
|
+
.list-div .el-tooltip {
|
|
159
|
+
white-space: pre-wrap;
|
|
159
160
|
}
|
|
160
161
|
|
|
161
162
|
.lists {
|
|
@@ -48,6 +48,9 @@
|
|
|
48
48
|
min-height: var(--forms-item-row-height);
|
|
49
49
|
display: grid;
|
|
50
50
|
}
|
|
51
|
+
.forms-item-el-item.is-error .double {
|
|
52
|
+
box-shadow: 0 0 0 1px var(--el-color-danger) inset;
|
|
53
|
+
}
|
|
51
54
|
|
|
52
55
|
.forms-items {
|
|
53
56
|
width: 100%;
|
|
@@ -67,26 +70,63 @@
|
|
|
67
70
|
--el-color-danger: var(--el-input-focus-border);
|
|
68
71
|
}
|
|
69
72
|
|
|
73
|
+
.icon {
|
|
74
|
+
--color: inherit;
|
|
75
|
+
height: 1em;
|
|
76
|
+
width: 1em;
|
|
77
|
+
line-height: 1em;
|
|
78
|
+
display: inline-flex;
|
|
79
|
+
justify-content: center;
|
|
80
|
+
align-items: center;
|
|
81
|
+
position: relative;
|
|
82
|
+
fill: currentColor;
|
|
83
|
+
color: var(--color);
|
|
84
|
+
font-size: inherit;
|
|
85
|
+
}
|
|
86
|
+
.icon-cont {
|
|
87
|
+
border: 0;
|
|
88
|
+
display: inline-flex;
|
|
89
|
+
align-items: center;
|
|
90
|
+
object-fit: contain;
|
|
91
|
+
justify-content: center;
|
|
92
|
+
font-size: inherit !important;
|
|
93
|
+
width: inherit !important;
|
|
94
|
+
height: inherit !important;
|
|
95
|
+
}
|
|
96
|
+
|
|
70
97
|
.double {
|
|
71
98
|
width: 100%;
|
|
72
99
|
display: inline-flex;
|
|
73
100
|
align-items: center;
|
|
74
|
-
box-sizing:
|
|
75
|
-
padding:
|
|
101
|
+
box-sizing: border-box;
|
|
102
|
+
padding: 1px 1px;
|
|
76
103
|
position: relative;
|
|
77
104
|
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
78
105
|
border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
|
|
79
106
|
}
|
|
80
107
|
.double.is-focus {
|
|
81
|
-
box-shadow: 0 0 0 1px var(--color-primary) inset;
|
|
108
|
+
box-shadow: 0 0 0 1px var(--el-color-primary) inset;
|
|
109
|
+
}
|
|
110
|
+
.double.is-error {
|
|
111
|
+
box-shadow: 0 0 0 1px var(--el-color-danger) inset;
|
|
112
|
+
}
|
|
113
|
+
.double.is-disabled {
|
|
114
|
+
cursor: not-allowed;
|
|
115
|
+
background-color: var(--el-disabled-bg-color);
|
|
116
|
+
}
|
|
117
|
+
.double.is-disabled .double-range {
|
|
118
|
+
color: var(--el-disabled-text-color);
|
|
82
119
|
}
|
|
83
120
|
.double-error {
|
|
84
121
|
position: absolute;
|
|
85
|
-
|
|
86
|
-
color:
|
|
87
|
-
|
|
122
|
+
padding-top: 2px;
|
|
123
|
+
color: var(--el-color-danger);
|
|
124
|
+
bottom: -15px;
|
|
125
|
+
font-size: 12px;
|
|
126
|
+
line-height: 1;
|
|
88
127
|
border-radius: 4px;
|
|
89
128
|
left: 12px;
|
|
129
|
+
white-space: nowrap;
|
|
90
130
|
}
|
|
91
131
|
.double-error.type-1 {
|
|
92
132
|
left: calc(50% + 24px);
|
|
@@ -102,6 +142,8 @@
|
|
|
102
142
|
.double-value {
|
|
103
143
|
flex: 1;
|
|
104
144
|
height: 100%;
|
|
145
|
+
display: flex;
|
|
146
|
+
align-items: center;
|
|
105
147
|
}
|
|
106
148
|
.double-range {
|
|
107
149
|
padding: 0 5px;
|
|
@@ -113,10 +155,6 @@
|
|
|
113
155
|
justify-content: center;
|
|
114
156
|
padding: 5px;
|
|
115
157
|
}
|
|
116
|
-
.double-clear svg {
|
|
117
|
-
width: 1rem;
|
|
118
|
-
height: 1rem;
|
|
119
|
-
}
|
|
120
158
|
.double .el-input .el-input__wrapper {
|
|
121
159
|
border: none;
|
|
122
160
|
box-shadow: none;
|
|
@@ -164,171 +202,34 @@
|
|
|
164
202
|
height: 100%;
|
|
165
203
|
}
|
|
166
204
|
|
|
167
|
-
.buttons-li {
|
|
168
|
-
height: inherit;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
205
|
.dates-divide {
|
|
172
206
|
display: inline-flex;
|
|
173
207
|
align-items: center;
|
|
208
|
+
width: 100%;
|
|
174
209
|
}
|
|
175
210
|
.dates-divide-range {
|
|
176
211
|
padding: 0 10px;
|
|
177
212
|
}
|
|
178
|
-
|
|
179
|
-
.dates2 .dates2-date {
|
|
213
|
+
.dates-divide .dates-divide-date {
|
|
180
214
|
height: 100%;
|
|
181
215
|
width: 100%;
|
|
182
216
|
box-sizing: border-box;
|
|
183
217
|
}
|
|
184
|
-
.dates2 .dates2-separate {
|
|
185
|
-
display: flex;
|
|
186
|
-
align-items: center;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.edit-float-body {
|
|
190
|
-
display: inline-flex;
|
|
191
|
-
align-items: center;
|
|
192
|
-
justify-content: center;
|
|
193
|
-
}
|
|
194
|
-
.edit-float-value {
|
|
195
|
-
min-width: 3px;
|
|
196
|
-
}
|
|
197
|
-
.edit-float-icon {
|
|
198
|
-
margin-left: 4px;
|
|
199
|
-
cursor: pointer;
|
|
200
|
-
}
|
|
201
|
-
.edit-float-input {
|
|
202
|
-
padding: 10px 0;
|
|
203
|
-
}
|
|
204
|
-
.edit-float-but {
|
|
205
|
-
text-align: right;
|
|
206
|
-
}
|
|
207
218
|
|
|
208
|
-
.
|
|
209
|
-
display: inline-flex;
|
|
210
|
-
align-items: center;
|
|
211
|
-
}
|
|
212
|
-
.edit-value {
|
|
213
|
-
display: inline-block;
|
|
214
|
-
min-width: 3px;
|
|
215
|
-
}
|
|
216
|
-
.edit-icon {
|
|
217
|
-
display: inline-flex;
|
|
218
|
-
align-items: center;
|
|
219
|
+
.dates-picker .dates-picker-date {
|
|
219
220
|
height: 100%;
|
|
220
|
-
min-width: 3px;
|
|
221
|
-
font-size: 16px;
|
|
222
|
-
margin: 0 4px;
|
|
223
|
-
cursor: pointer;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.history {
|
|
227
|
-
display: flex;
|
|
228
|
-
}
|
|
229
|
-
.history-icon {
|
|
230
|
-
cursor: pointer;
|
|
231
|
-
}
|
|
232
|
-
.history-icon.is-disabled {
|
|
233
|
-
opacity: 0.4;
|
|
234
|
-
cursor: not-allowed;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.images-img {
|
|
238
221
|
width: 100%;
|
|
239
|
-
|
|
222
|
+
box-sizing: border-box;
|
|
240
223
|
}
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
width: 100%;
|
|
244
|
-
display: inline-flex;
|
|
224
|
+
.dates-picker .dates-picker-separate {
|
|
225
|
+
display: flex;
|
|
245
226
|
align-items: center;
|
|
246
|
-
padding: 1px;
|
|
247
|
-
position: relative;
|
|
248
|
-
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
249
|
-
border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
|
|
250
|
-
}
|
|
251
|
-
.input-array.is-focus {
|
|
252
|
-
box-shadow: 0 0 0 1px var(--color-primary) inset;
|
|
253
|
-
}
|
|
254
|
-
.input-array-focus {
|
|
255
|
-
position: absolute;
|
|
256
|
-
z-index: -1;
|
|
257
|
-
opacity: 0;
|
|
258
|
-
}
|
|
259
|
-
.input-array-input {
|
|
260
|
-
height: 100%;
|
|
261
|
-
flex: 1;
|
|
262
|
-
}
|
|
263
|
-
.input-array-range {
|
|
264
|
-
padding: 0 5px;
|
|
265
|
-
}
|
|
266
|
-
.input-array-icon {
|
|
267
|
-
cursor: pointer;
|
|
268
|
-
}
|
|
269
|
-
.input-array-icon svg {
|
|
270
|
-
width: 1rem;
|
|
271
|
-
height: 1rem;
|
|
272
|
-
}
|
|
273
|
-
.input-array .el-input .el-input__wrapper {
|
|
274
|
-
border: none;
|
|
275
|
-
box-shadow: none;
|
|
276
|
-
}
|
|
277
|
-
.input-array .el-input .el-input__wrapper input {
|
|
278
|
-
text-align: center;
|
|
279
227
|
}
|
|
280
228
|
|
|
281
|
-
.input-
|
|
282
|
-
display: flex;
|
|
283
|
-
}
|
|
284
|
-
.input-history-popper {
|
|
285
|
-
padding: 6px 0 !important;
|
|
286
|
-
}
|
|
287
|
-
.input-history-select {
|
|
288
|
-
max-height: 274px;
|
|
229
|
+
.input-select {
|
|
289
230
|
height: 100%;
|
|
290
|
-
|
|
291
|
-
}
|
|
292
|
-
.input-history-select-ul {
|
|
293
|
-
list-style: none;
|
|
294
|
-
margin: 6px 0;
|
|
295
|
-
padding: 0;
|
|
296
|
-
box-sizing: border-box;
|
|
297
|
-
}
|
|
298
|
-
.input-history-select-ul .input-history-select-li {
|
|
299
|
-
padding: 0 32px 0 20px;
|
|
300
|
-
position: relative;
|
|
301
|
-
white-space: nowrap;
|
|
302
|
-
overflow: hidden;
|
|
303
|
-
text-overflow: ellipsis;
|
|
304
|
-
color: #606266;
|
|
305
|
-
height: 34px;
|
|
306
|
-
line-height: 34px;
|
|
307
|
-
box-sizing: border-box;
|
|
308
|
-
cursor: pointer;
|
|
309
|
-
}
|
|
310
|
-
.input-history-select-ul .input-history-select-li.hover, .input-history-select-ul .input-history-select-li:hover {
|
|
311
|
-
background-color: #f5f7fa;
|
|
312
|
-
}
|
|
313
|
-
.input-history-select-ul .input-history-select-li.hover .input-history-select-li-clean, .input-history-select-ul .input-history-select-li:hover .input-history-select-li-clean {
|
|
314
|
-
display: inline-flex;
|
|
315
|
-
}
|
|
316
|
-
.input-history-select-ul .input-history-select-li.selected {
|
|
317
|
-
color: var(--bv-color-primary);
|
|
318
|
-
font-weight: 700;
|
|
319
|
-
}
|
|
320
|
-
.input-history-select-ul .input-history-select-li.is-disabled {
|
|
321
|
-
background-color: #ffffff;
|
|
322
|
-
color: #a8abb2;
|
|
323
|
-
cursor: not-allowed;
|
|
324
|
-
}
|
|
325
|
-
.input-history-select-ul .input-history-select-li-clean {
|
|
326
|
-
align-items: center;
|
|
327
|
-
justify-content: center;
|
|
328
|
-
display: none;
|
|
329
|
-
margin-left: 5px;
|
|
231
|
+
width: 100%;
|
|
330
232
|
}
|
|
331
|
-
|
|
332
233
|
.input-select-select-icon {
|
|
333
234
|
margin-left: 8px;
|
|
334
235
|
display: inline-flex;
|
|
@@ -342,13 +243,13 @@
|
|
|
342
243
|
.input-select-select-icon.is-reverse {
|
|
343
244
|
transform: rotate(-180deg);
|
|
344
245
|
}
|
|
345
|
-
.input-select-select-icon svg {
|
|
346
|
-
width: 1rem;
|
|
347
|
-
height: 1rem;
|
|
348
|
-
}
|
|
349
246
|
.input-select.is-disabled .input-select-select-icon {
|
|
350
247
|
cursor: not-allowed;
|
|
351
248
|
}
|
|
249
|
+
.input-select-input {
|
|
250
|
+
height: 100%;
|
|
251
|
+
width: 100%;
|
|
252
|
+
}
|
|
352
253
|
.input-select-popper {
|
|
353
254
|
padding: 6px 0 !important;
|
|
354
255
|
}
|
|
@@ -376,11 +277,11 @@
|
|
|
376
277
|
cursor: pointer;
|
|
377
278
|
}
|
|
378
279
|
.input-select-popper .input-select-select .input-select-select-li.hover, .input-select-popper .input-select-select .input-select-select-li:hover {
|
|
379
|
-
background-color:
|
|
280
|
+
background-color: var(--el-fill-color-light);
|
|
380
281
|
}
|
|
381
282
|
.input-select-popper .input-select-select .input-select-select-li.selected {
|
|
382
|
-
color: var(--
|
|
383
|
-
font-weight:
|
|
283
|
+
color: var(--el-color-primary);
|
|
284
|
+
font-weight: bold;
|
|
384
285
|
}
|
|
385
286
|
.input-select-popper .input-select-select .input-select-select-li.is-disabled {
|
|
386
287
|
background-color: #ffffff;
|
|
@@ -443,6 +344,11 @@
|
|
|
443
344
|
.selector-popper.el-popover.el-popper {
|
|
444
345
|
padding: 0;
|
|
445
346
|
}
|
|
347
|
+
.selector-double {
|
|
348
|
+
height: 100%;
|
|
349
|
+
width: 100%;
|
|
350
|
+
box-sizing: border-box;
|
|
351
|
+
}
|
|
446
352
|
.selector-select {
|
|
447
353
|
padding: 5px 10px;
|
|
448
354
|
z-index: 1000;
|
|
@@ -474,10 +380,16 @@
|
|
|
474
380
|
height: 100%;
|
|
475
381
|
width: 100%;
|
|
476
382
|
}
|
|
383
|
+
.cascaders-cascader .el-input {
|
|
384
|
+
height: 100%;
|
|
385
|
+
}
|
|
477
386
|
.cascaders-tree {
|
|
478
387
|
height: 100%;
|
|
479
388
|
width: 100%;
|
|
480
389
|
}
|
|
390
|
+
.cascaders-tree .el-select__wrapper {
|
|
391
|
+
height: 100%;
|
|
392
|
+
}
|
|
481
393
|
|
|
482
394
|
.input-num-input {
|
|
483
395
|
height: 100%;
|
|
@@ -663,10 +575,10 @@
|
|
|
663
575
|
width: 100%;
|
|
664
576
|
height: 100%;
|
|
665
577
|
}
|
|
666
|
-
.list-div .list-table
|
|
578
|
+
.list-div .list-table-td {
|
|
667
579
|
text-align: left;
|
|
668
580
|
}
|
|
669
|
-
.list-div .list-table
|
|
581
|
+
.list-div .list-table-th {
|
|
670
582
|
font-weight: initial;
|
|
671
583
|
}
|
|
672
584
|
.list-div .list-table .is-whole .list-table-auto {
|
|
@@ -738,11 +650,13 @@
|
|
|
738
650
|
.list-div .list-table .list-table-value {
|
|
739
651
|
word-break: break-all;
|
|
740
652
|
white-space: pre-wrap;
|
|
653
|
+
overflow: hidden;
|
|
654
|
+
}
|
|
655
|
+
.list-div .list-table .list-table-value.is-tooltip {
|
|
741
656
|
max-height: var(--list-row-max-height);
|
|
742
657
|
display: -webkit-box;
|
|
743
|
-
-webkit-line-clamp: var(--list-line-clamp); /* 显示的行数 */
|
|
658
|
+
-webkit-line-clamp: var(--list-line-clamp, 1); /* 显示的行数 */
|
|
744
659
|
-webkit-box-orient: vertical;
|
|
745
|
-
overflow: hidden;
|
|
746
660
|
text-overflow: ellipsis;
|
|
747
661
|
}
|
|
748
662
|
.list-div .list-table.right .list-table-th {
|
|
@@ -762,36 +676,35 @@
|
|
|
762
676
|
border-top: 1px solid var(--list-border-color);
|
|
763
677
|
border-bottom: 1px solid var(--list-border-color);
|
|
764
678
|
}
|
|
765
|
-
.list-div .list-table.is-border > tr > td {
|
|
679
|
+
.list-div .list-table.is-border > .list-table-tr > .list-table-td {
|
|
766
680
|
border-bottom: 1px solid var(--list-border-color);
|
|
767
681
|
border-left: 1px solid var(--list-border-color);
|
|
768
682
|
}
|
|
769
|
-
.list-div .list-table.is-border > tr > td:last-child {
|
|
683
|
+
.list-div .list-table.is-border > .list-table-tr > .list-table-td:last-child {
|
|
770
684
|
border-right: 1px solid var(--list-border-color);
|
|
771
685
|
}
|
|
772
|
-
.list-div .list-table.is-border > tr > th {
|
|
686
|
+
.list-div .list-table.is-border > .list-table-tr > .list-table-th {
|
|
773
687
|
border-left: 1px solid var(--list-border-color);
|
|
774
688
|
border-bottom: 1px solid var(--list-border-color);
|
|
775
689
|
}
|
|
776
|
-
.list-div .list-table.is-border > tr > th:last-child {
|
|
690
|
+
.list-div .list-table.is-border > .list-table-tr > .list-table-th:last-child {
|
|
777
691
|
border-right: 1px solid var(--list-border-color);
|
|
778
692
|
}
|
|
779
|
-
.list-div .list-table.is-border > tr:last-child > td {
|
|
693
|
+
.list-div .list-table.is-border > .list-table-tr:last-child > .list-table-td {
|
|
780
694
|
border-bottom: 0;
|
|
781
695
|
}
|
|
782
|
-
.list-div .list-table.is-border > tr:last-child > th {
|
|
696
|
+
.list-div .list-table.is-border > .list-table-tr:last-child > .list-table-th {
|
|
783
697
|
border-bottom: 0;
|
|
784
698
|
}
|
|
785
|
-
.list-div .list-table.is-border.top > tr > th {
|
|
699
|
+
.list-div .list-table.is-border.top > .list-table-tr > .list-table-th {
|
|
786
700
|
border-bottom: 0;
|
|
787
701
|
}
|
|
788
702
|
.list-div .list-table .list-com {
|
|
789
703
|
display: flex;
|
|
790
704
|
align-items: center;
|
|
791
705
|
}
|
|
792
|
-
.list-div .
|
|
793
|
-
|
|
794
|
-
height: 50px;
|
|
706
|
+
.list-div .el-tooltip {
|
|
707
|
+
white-space: pre-wrap;
|
|
795
708
|
}
|
|
796
709
|
|
|
797
710
|
.tables {
|
|
@@ -815,6 +728,11 @@
|
|
|
815
728
|
}
|
|
816
729
|
.tables-table.el-table--default .cell {
|
|
817
730
|
white-space: pre-wrap;
|
|
731
|
+
}
|
|
732
|
+
.tables-table.el-table--default .cell.el-tooltip {
|
|
733
|
+
white-space: nowrap;
|
|
734
|
+
}
|
|
735
|
+
.tables-table.el-table--default .cell {
|
|
818
736
|
padding: 0 var(--tables-interval-horizon, var(--tables-interval));
|
|
819
737
|
}
|
|
820
738
|
|
|
@@ -151,7 +151,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
151
151
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(props).options, (item, ind) => {
|
|
152
152
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
153
153
|
class: vue.normalizeClass([vue.unref(cs).z("list-li"), setClass(ind, item)]),
|
|
154
|
-
onClick:
|
|
154
|
+
onClick: ($event) => onClick(ind, item),
|
|
155
155
|
style: vue.normalizeStyle({
|
|
156
156
|
height: h.value + "px",
|
|
157
157
|
"line-height": h.value + "px",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, watch, onMounted, onBeforeUnmount, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, normalizeStyle, Fragment, renderList,
|
|
1
|
+
import { defineComponent, computed, ref, watch, onMounted, onBeforeUnmount, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, normalizeStyle, Fragment, renderList, toDisplayString } from "vue";
|
|
2
2
|
import { name, dataProps, dataExpose, dataEmits } from "./data.js";
|
|
3
3
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
4
4
|
import { useVueValue } from "../../common/use.js";
|
|
@@ -149,7 +149,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
149
149
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(props).options, (item, ind) => {
|
|
150
150
|
return openBlock(), createElementBlock("div", {
|
|
151
151
|
class: normalizeClass([unref(cs).z("list-li"), setClass(ind, item)]),
|
|
152
|
-
onClick:
|
|
152
|
+
onClick: ($event) => onClick(ind, item),
|
|
153
153
|
style: normalizeStyle({
|
|
154
154
|
height: h.value + "px",
|
|
155
155
|
"line-height": h.value + "px",
|
|
@@ -74,26 +74,63 @@
|
|
|
74
74
|
cursor: not-allowed;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
+
.icon {
|
|
78
|
+
--color: inherit;
|
|
79
|
+
height: 1em;
|
|
80
|
+
width: 1em;
|
|
81
|
+
line-height: 1em;
|
|
82
|
+
display: inline-flex;
|
|
83
|
+
justify-content: center;
|
|
84
|
+
align-items: center;
|
|
85
|
+
position: relative;
|
|
86
|
+
fill: currentColor;
|
|
87
|
+
color: var(--color);
|
|
88
|
+
font-size: inherit;
|
|
89
|
+
}
|
|
90
|
+
.icon-cont {
|
|
91
|
+
border: 0;
|
|
92
|
+
display: inline-flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
object-fit: contain;
|
|
95
|
+
justify-content: center;
|
|
96
|
+
font-size: inherit !important;
|
|
97
|
+
width: inherit !important;
|
|
98
|
+
height: inherit !important;
|
|
99
|
+
}
|
|
100
|
+
|
|
77
101
|
.double {
|
|
78
102
|
width: 100%;
|
|
79
103
|
display: inline-flex;
|
|
80
104
|
align-items: center;
|
|
81
|
-
box-sizing:
|
|
82
|
-
padding:
|
|
105
|
+
box-sizing: border-box;
|
|
106
|
+
padding: 1px 1px;
|
|
83
107
|
position: relative;
|
|
84
108
|
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
85
109
|
border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
|
|
86
110
|
}
|
|
87
111
|
.double.is-focus {
|
|
88
|
-
box-shadow: 0 0 0 1px var(--color-primary) inset;
|
|
112
|
+
box-shadow: 0 0 0 1px var(--el-color-primary) inset;
|
|
113
|
+
}
|
|
114
|
+
.double.is-error {
|
|
115
|
+
box-shadow: 0 0 0 1px var(--el-color-danger) inset;
|
|
116
|
+
}
|
|
117
|
+
.double.is-disabled {
|
|
118
|
+
cursor: not-allowed;
|
|
119
|
+
background-color: var(--el-disabled-bg-color);
|
|
120
|
+
}
|
|
121
|
+
.double.is-disabled .double-range {
|
|
122
|
+
color: var(--el-disabled-text-color);
|
|
89
123
|
}
|
|
90
124
|
.double-error {
|
|
91
125
|
position: absolute;
|
|
92
|
-
|
|
93
|
-
color:
|
|
94
|
-
|
|
126
|
+
padding-top: 2px;
|
|
127
|
+
color: var(--el-color-danger);
|
|
128
|
+
bottom: -15px;
|
|
129
|
+
font-size: 12px;
|
|
130
|
+
line-height: 1;
|
|
95
131
|
border-radius: 4px;
|
|
96
132
|
left: 12px;
|
|
133
|
+
white-space: nowrap;
|
|
97
134
|
}
|
|
98
135
|
.double-error.type-1 {
|
|
99
136
|
left: calc(50% + 24px);
|
|
@@ -109,6 +146,8 @@
|
|
|
109
146
|
.double-value {
|
|
110
147
|
flex: 1;
|
|
111
148
|
height: 100%;
|
|
149
|
+
display: flex;
|
|
150
|
+
align-items: center;
|
|
112
151
|
}
|
|
113
152
|
.double-range {
|
|
114
153
|
padding: 0 5px;
|
|
@@ -120,10 +159,6 @@
|
|
|
120
159
|
justify-content: center;
|
|
121
160
|
padding: 5px;
|
|
122
161
|
}
|
|
123
|
-
.double-clear svg {
|
|
124
|
-
width: 1rem;
|
|
125
|
-
height: 1rem;
|
|
126
|
-
}
|
|
127
162
|
.double .el-input .el-input__wrapper {
|
|
128
163
|
border: none;
|
|
129
164
|
box-shadow: none;
|
|
@@ -139,6 +174,11 @@
|
|
|
139
174
|
.selector-popper.el-popover.el-popper {
|
|
140
175
|
padding: 0;
|
|
141
176
|
}
|
|
177
|
+
.selector-double {
|
|
178
|
+
height: 100%;
|
|
179
|
+
width: 100%;
|
|
180
|
+
box-sizing: border-box;
|
|
181
|
+
}
|
|
142
182
|
.selector-select {
|
|
143
183
|
padding: 5px 10px;
|
|
144
184
|
z-index: 1000;
|
|
@@ -9,7 +9,6 @@ const dataProps = {
|
|
|
9
9
|
type: Boolean,
|
|
10
10
|
default: true
|
|
11
11
|
},
|
|
12
|
-
disabled: { type: Boolean, default: false },
|
|
13
12
|
width: {
|
|
14
13
|
type: [String, Number],
|
|
15
14
|
default: "320px"
|
|
@@ -30,9 +29,14 @@ const dataProps = {
|
|
|
30
29
|
},
|
|
31
30
|
modelValue: {
|
|
32
31
|
type: Array
|
|
33
|
-
}
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* @props { Boolean } disabled=false
|
|
35
|
+
* 是否禁用
|
|
36
|
+
*/
|
|
37
|
+
disabled: { type: Boolean, default: false }
|
|
34
38
|
};
|
|
35
|
-
const dataEmits = ["update:modelValue", "change"];
|
|
39
|
+
const dataEmits = ["update:modelValue", "change", "blur", "focus"];
|
|
36
40
|
const dataSlot = {
|
|
37
41
|
default: "default"
|
|
38
42
|
};
|
|
@@ -20,10 +20,6 @@ export declare const dataProps: {
|
|
|
20
20
|
type: BooleanConstructor;
|
|
21
21
|
default: boolean;
|
|
22
22
|
};
|
|
23
|
-
disabled: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
23
|
width: {
|
|
28
24
|
type: (StringConstructor | NumberConstructor)[];
|
|
29
25
|
default: string;
|
|
@@ -43,6 +39,14 @@ export declare const dataProps: {
|
|
|
43
39
|
modelValue: {
|
|
44
40
|
type: ArrayConstructor;
|
|
45
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* @props { Boolean } disabled=false
|
|
44
|
+
* 是否禁用
|
|
45
|
+
*/
|
|
46
|
+
disabled: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
46
50
|
};
|
|
47
51
|
export type DataProps = ExtractPropTypes<typeof dataProps>;
|
|
48
52
|
/**
|