element-assits 0.0.39 → 0.0.40
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/lib/index.js +1 -1
- package/lib/style.scss +137 -137
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -2051,7 +2051,7 @@ function $u(r = 3) {
|
|
|
2051
2051
|
o = {
|
|
2052
2052
|
props: { scope: { type: Object, default: void 0 } },
|
|
2053
2053
|
data() {
|
|
2054
|
-
const d = Cu.bind(n)(this.scope), v = d.slice(0, r - 1), m = d.slice(r - 1);
|
|
2054
|
+
const d = Cu.bind(n)(this.scope).filter((w) => w.tag), v = d.slice(0, r - 1), m = d.slice(r - 1);
|
|
2055
2055
|
return {
|
|
2056
2056
|
children: v,
|
|
2057
2057
|
moreChildren: m
|
package/lib/style.scss
CHANGED
|
@@ -11,36 +11,6 @@ $--color-border-base: #DCDFE6 !default;
|
|
|
11
11
|
$--color-border-light: #E4E7ED !default;
|
|
12
12
|
$--color-border-lighter: #EBEEF5 !default;
|
|
13
13
|
$--color-border-extralight: #F2F6FC !default;
|
|
14
|
-
.ea-select {
|
|
15
|
-
display: inline-block;
|
|
16
|
-
position: relative;
|
|
17
|
-
.el-select {
|
|
18
|
-
width: 100%;
|
|
19
|
-
}
|
|
20
|
-
.async-loading.el-icon-loading {
|
|
21
|
-
position: absolute;
|
|
22
|
-
top: 10px;
|
|
23
|
-
right: 28px;
|
|
24
|
-
color: #999;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
.ea-select-popover {
|
|
28
|
-
.el-select-dropdown__item {
|
|
29
|
-
display: flex;
|
|
30
|
-
justify-content: space-between;
|
|
31
|
-
.select-item-value {
|
|
32
|
-
overflow: hidden;
|
|
33
|
-
text-overflow: ellipsis;
|
|
34
|
-
}
|
|
35
|
-
.select-item-desc {
|
|
36
|
-
overflow: hidden;
|
|
37
|
-
text-overflow: ellipsis;
|
|
38
|
-
color: #8492a6;
|
|
39
|
-
margin-left: 8px;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
14
|
// table
|
|
45
15
|
.ea-table {
|
|
46
16
|
// 表格头部样式美化
|
|
@@ -158,6 +128,36 @@ $--color-border-extralight: #F2F6FC !default;
|
|
|
158
128
|
transform: scaleY(0);
|
|
159
129
|
}
|
|
160
130
|
|
|
131
|
+
.ea-select {
|
|
132
|
+
display: inline-block;
|
|
133
|
+
position: relative;
|
|
134
|
+
.el-select {
|
|
135
|
+
width: 100%;
|
|
136
|
+
}
|
|
137
|
+
.async-loading.el-icon-loading {
|
|
138
|
+
position: absolute;
|
|
139
|
+
top: 10px;
|
|
140
|
+
right: 28px;
|
|
141
|
+
color: #999;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
.ea-select-popover {
|
|
145
|
+
.el-select-dropdown__item {
|
|
146
|
+
display: flex;
|
|
147
|
+
justify-content: space-between;
|
|
148
|
+
.select-item-value {
|
|
149
|
+
overflow: hidden;
|
|
150
|
+
text-overflow: ellipsis;
|
|
151
|
+
}
|
|
152
|
+
.select-item-desc {
|
|
153
|
+
overflow: hidden;
|
|
154
|
+
text-overflow: ellipsis;
|
|
155
|
+
color: #8492a6;
|
|
156
|
+
margin-left: 8px;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
161
|
.ea-data-table {
|
|
162
162
|
.edt-row {
|
|
163
163
|
display: flex;
|
|
@@ -197,61 +197,6 @@ $--color-border-extralight: #F2F6FC !default;
|
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
.el-dialog.ea-modal {
|
|
201
|
-
&.is-closing {
|
|
202
|
-
margin: 0 0 50px !important;
|
|
203
|
-
}
|
|
204
|
-
&.is-fullscreen {
|
|
205
|
-
border-radius: 0;
|
|
206
|
-
margin: 0;
|
|
207
|
-
}
|
|
208
|
-
.el-dialog__header {
|
|
209
|
-
color: #555;
|
|
210
|
-
font-size: 18px;
|
|
211
|
-
.el-dialog__title {
|
|
212
|
-
color: inherit;
|
|
213
|
-
font-size: inherit;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.ea-split-container {
|
|
219
|
-
display: flex;
|
|
220
|
-
&.is-down {
|
|
221
|
-
user-select: none;
|
|
222
|
-
}
|
|
223
|
-
.sc-left {
|
|
224
|
-
flex-grow: 1;
|
|
225
|
-
flex-shrink: 1;
|
|
226
|
-
}
|
|
227
|
-
.sc-right {
|
|
228
|
-
flex-grow: 1;
|
|
229
|
-
flex-shrink: 1;
|
|
230
|
-
}
|
|
231
|
-
.sc-bamboo {
|
|
232
|
-
flex-grow: 0;
|
|
233
|
-
flex-shrink: 0;
|
|
234
|
-
width: 8px;
|
|
235
|
-
border: 1px solid #DCDEE2;
|
|
236
|
-
border-top: none;
|
|
237
|
-
border-bottom: none;
|
|
238
|
-
background-color: #F8F8F9;
|
|
239
|
-
cursor: col-resize;
|
|
240
|
-
user-select: none;
|
|
241
|
-
display: flex;
|
|
242
|
-
flex-direction: column;
|
|
243
|
-
justify-content: center;
|
|
244
|
-
align-items: center;
|
|
245
|
-
margin: 0 16px;
|
|
246
|
-
.sc-texture {
|
|
247
|
-
width: 4px;
|
|
248
|
-
height: 1px;
|
|
249
|
-
background: rgba(23, 35, 61, .25);
|
|
250
|
-
margin-top: 3px;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
200
|
.ea-button-tooltip + .ea-button-tooltip {
|
|
256
201
|
margin-left: 10px;
|
|
257
202
|
}
|
|
@@ -317,23 +262,58 @@ td {
|
|
|
317
262
|
}
|
|
318
263
|
}
|
|
319
264
|
|
|
320
|
-
.ea-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
265
|
+
.el-dialog.ea-modal {
|
|
266
|
+
&.is-closing {
|
|
267
|
+
margin: 0 0 50px !important;
|
|
268
|
+
}
|
|
269
|
+
&.is-fullscreen {
|
|
270
|
+
border-radius: 0;
|
|
271
|
+
margin: 0;
|
|
272
|
+
}
|
|
273
|
+
.el-dialog__header {
|
|
274
|
+
color: #555;
|
|
275
|
+
font-size: 18px;
|
|
276
|
+
.el-dialog__title {
|
|
277
|
+
color: inherit;
|
|
278
|
+
font-size: inherit;
|
|
328
279
|
}
|
|
329
280
|
}
|
|
330
281
|
}
|
|
331
282
|
|
|
332
|
-
.ea-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
283
|
+
.ea-split-container {
|
|
284
|
+
display: flex;
|
|
285
|
+
&.is-down {
|
|
286
|
+
user-select: none;
|
|
287
|
+
}
|
|
288
|
+
.sc-left {
|
|
289
|
+
flex-grow: 1;
|
|
290
|
+
flex-shrink: 1;
|
|
291
|
+
}
|
|
292
|
+
.sc-right {
|
|
293
|
+
flex-grow: 1;
|
|
294
|
+
flex-shrink: 1;
|
|
295
|
+
}
|
|
296
|
+
.sc-bamboo {
|
|
297
|
+
flex-grow: 0;
|
|
298
|
+
flex-shrink: 0;
|
|
299
|
+
width: 8px;
|
|
300
|
+
border: 1px solid #DCDEE2;
|
|
301
|
+
border-top: none;
|
|
302
|
+
border-bottom: none;
|
|
303
|
+
background-color: #F8F8F9;
|
|
304
|
+
cursor: col-resize;
|
|
305
|
+
user-select: none;
|
|
306
|
+
display: flex;
|
|
307
|
+
flex-direction: column;
|
|
308
|
+
justify-content: center;
|
|
309
|
+
align-items: center;
|
|
310
|
+
margin: 0 16px;
|
|
311
|
+
.sc-texture {
|
|
312
|
+
width: 4px;
|
|
313
|
+
height: 1px;
|
|
314
|
+
background: rgba(23, 35, 61, .25);
|
|
315
|
+
margin-top: 3px;
|
|
316
|
+
}
|
|
337
317
|
}
|
|
338
318
|
}
|
|
339
319
|
|
|
@@ -385,30 +365,23 @@ td {
|
|
|
385
365
|
}
|
|
386
366
|
}
|
|
387
367
|
|
|
388
|
-
.
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
.el-upload-list__item {
|
|
397
|
-
border: 1px dashed #aaa;
|
|
398
|
-
.el-icon-close {
|
|
399
|
-
display: inline-block;
|
|
400
|
-
}
|
|
368
|
+
.ea-tree {
|
|
369
|
+
.ea-tree-real {
|
|
370
|
+
.el-tree-node > .el-tree-node__content{
|
|
371
|
+
border-radius: 4px;
|
|
372
|
+
}
|
|
373
|
+
.el-tree-node.is-current > .el-tree-node__content {
|
|
374
|
+
color: $--color-primary;
|
|
375
|
+
background-color: rgba($--color-primary, 0.1);
|
|
401
376
|
}
|
|
402
377
|
}
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
.
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
-webkit-transition: none !important;
|
|
411
|
-
transition: none !important;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.ea-list {
|
|
381
|
+
.loading-text {
|
|
382
|
+
color: $--color-secondary-text;
|
|
383
|
+
text-align: center;
|
|
384
|
+
font-size: inherit;
|
|
412
385
|
}
|
|
413
386
|
}
|
|
414
387
|
|
|
@@ -611,6 +584,33 @@ td {
|
|
|
611
584
|
.ea-icon-more:before { content: "\e60e" }
|
|
612
585
|
.eafont.ea-icon-conf.has { color: #000 }
|
|
613
586
|
|
|
587
|
+
.file-upload-dialog {
|
|
588
|
+
// 拖拽区域铺满
|
|
589
|
+
.el-upload,
|
|
590
|
+
.el-upload .el-upload-dragger {
|
|
591
|
+
width: 100%;
|
|
592
|
+
}
|
|
593
|
+
// 文件列表项边框
|
|
594
|
+
.el-upload-list {
|
|
595
|
+
.el-upload-list__item {
|
|
596
|
+
border: 1px dashed #aaa;
|
|
597
|
+
.el-icon-close {
|
|
598
|
+
display: inline-block;
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
// 清除文件列表变动过渡动画
|
|
603
|
+
.el-list-enter,
|
|
604
|
+
.el-list-enter-active,
|
|
605
|
+
.el-list-enter-to,
|
|
606
|
+
.el-list-leave,
|
|
607
|
+
.el-list-leave-active,
|
|
608
|
+
.el-list-leave-to {
|
|
609
|
+
-webkit-transition: none !important;
|
|
610
|
+
transition: none !important;
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
|
|
614
614
|
.ea-form .form-group-title {
|
|
615
615
|
position: relative;
|
|
616
616
|
height: 32px;
|
|
@@ -701,23 +701,6 @@ td {
|
|
|
701
701
|
margin-bottom: 8px !important;
|
|
702
702
|
}
|
|
703
703
|
|
|
704
|
-
.ea-form .el-form-item__content {
|
|
705
|
-
& > .el-input-number,
|
|
706
|
-
& > .el-input,
|
|
707
|
-
& > .ea-select,
|
|
708
|
-
& > .el-select {
|
|
709
|
-
width: 100%;
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
.ea-form .el-form-item.hidden-label {
|
|
713
|
-
> .el-form-item__label {
|
|
714
|
-
display: none;
|
|
715
|
-
}
|
|
716
|
-
> .el-form-item__content {
|
|
717
|
-
width: 100%;
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
|
|
721
704
|
.ea-select-container {
|
|
722
705
|
display: flex;
|
|
723
706
|
justify-content: flex-start;
|
|
@@ -758,6 +741,23 @@ td {
|
|
|
758
741
|
}
|
|
759
742
|
}
|
|
760
743
|
|
|
744
|
+
.ea-form .el-form-item__content {
|
|
745
|
+
& > .el-input-number,
|
|
746
|
+
& > .el-input,
|
|
747
|
+
& > .ea-select,
|
|
748
|
+
& > .el-select {
|
|
749
|
+
width: 100%;
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
.ea-form .el-form-item.hidden-label {
|
|
753
|
+
> .el-form-item__label {
|
|
754
|
+
display: none;
|
|
755
|
+
}
|
|
756
|
+
> .el-form-item__content {
|
|
757
|
+
width: 100%;
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
|
|
761
761
|
.ea-switch-mini {
|
|
762
762
|
.el-switch__core {
|
|
763
763
|
width: 30px !important;
|