element-assits 0.0.41 → 0.0.43
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/README.md +19 -10
- package/lib/index.js +1094 -1082
- package/lib/style.scss +175 -175
- package/package.json +1 -1
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,24 +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
200
|
.ea-button-tooltip + .ea-button-tooltip {
|
|
219
201
|
margin-left: 10px;
|
|
220
202
|
}
|
|
@@ -280,6 +262,24 @@ td {
|
|
|
280
262
|
}
|
|
281
263
|
}
|
|
282
264
|
|
|
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;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
283
283
|
.ea-split-container {
|
|
284
284
|
display: flex;
|
|
285
285
|
&.is-down {
|
|
@@ -343,6 +343,18 @@ td {
|
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
+
.ea-number .el-input__inner {
|
|
347
|
+
text-align: left;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.ea-list {
|
|
351
|
+
.loading-text {
|
|
352
|
+
color: $--color-secondary-text;
|
|
353
|
+
text-align: center;
|
|
354
|
+
font-size: inherit;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
346
358
|
.ea-desc {
|
|
347
359
|
font-size: 14px;
|
|
348
360
|
&__title {
|
|
@@ -387,102 +399,6 @@ td {
|
|
|
387
399
|
}
|
|
388
400
|
}
|
|
389
401
|
|
|
390
|
-
.ea-number .el-input__inner {
|
|
391
|
-
text-align: left;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
.ea-list {
|
|
395
|
-
.loading-text {
|
|
396
|
-
color: $--color-secondary-text;
|
|
397
|
-
text-align: center;
|
|
398
|
-
font-size: inherit;
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
.file-upload-dialog {
|
|
403
|
-
// 拖拽区域铺满
|
|
404
|
-
.el-upload,
|
|
405
|
-
.el-upload .el-upload-dragger {
|
|
406
|
-
width: 100%;
|
|
407
|
-
}
|
|
408
|
-
// 文件列表项边框
|
|
409
|
-
.el-upload-list {
|
|
410
|
-
.el-upload-list__item {
|
|
411
|
-
border: 1px dashed #aaa;
|
|
412
|
-
.el-icon-close {
|
|
413
|
-
display: inline-block;
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
// 清除文件列表变动过渡动画
|
|
418
|
-
.el-list-enter,
|
|
419
|
-
.el-list-enter-active,
|
|
420
|
-
.el-list-enter-to,
|
|
421
|
-
.el-list-leave,
|
|
422
|
-
.el-list-leave-active,
|
|
423
|
-
.el-list-leave-to {
|
|
424
|
-
-webkit-transition: none !important;
|
|
425
|
-
transition: none !important;
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
.ea-data-tree-body {
|
|
430
|
-
&.ea-data-tree-body__border {
|
|
431
|
-
border: 1px solid $--color-border-light;
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
.ea-data-tree-row {
|
|
436
|
-
height: 32px;
|
|
437
|
-
line-height: 32px;
|
|
438
|
-
display: flex;
|
|
439
|
-
justify-content: flex-start;
|
|
440
|
-
position: relative;
|
|
441
|
-
padding-left: 20px;
|
|
442
|
-
&.odd { background-color: #F8F8F8; }
|
|
443
|
-
&:hover { background-color: #EBEEF5; }
|
|
444
|
-
.ea-data-tree-cell {
|
|
445
|
-
flex: 0 0 auto;
|
|
446
|
-
height: 100%;
|
|
447
|
-
font-size: 14px;
|
|
448
|
-
box-sizing: border-box;
|
|
449
|
-
padding: 0 8px;
|
|
450
|
-
position: relative;
|
|
451
|
-
overflow: hidden;
|
|
452
|
-
text-overflow: ellipsis;
|
|
453
|
-
white-space: nowrap;
|
|
454
|
-
word-break: break-all;
|
|
455
|
-
& > .ea-data-tree-checkbox {
|
|
456
|
-
position: absolute;
|
|
457
|
-
top: 0;
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
.ea-data-tree-icon {
|
|
461
|
-
cursor: pointer;
|
|
462
|
-
position: absolute;
|
|
463
|
-
height: 100%;
|
|
464
|
-
color: #CCC;
|
|
465
|
-
display: flex;
|
|
466
|
-
align-items: center;
|
|
467
|
-
z-index: 1;
|
|
468
|
-
&:hover {
|
|
469
|
-
color: #333;
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
.ea-data-tree-checkbox .el-checkbox__input.is-indeterminate .el-checkbox__inner {
|
|
475
|
-
background-color: $--color-secondary-text;
|
|
476
|
-
border-color: $--color-secondary-text;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
.ea-data-tree-empty {
|
|
480
|
-
display: flex;
|
|
481
|
-
justify-content: center;
|
|
482
|
-
align-items: center;
|
|
483
|
-
color: $--color-secondary-text;
|
|
484
|
-
}
|
|
485
|
-
|
|
486
402
|
.vjs-table {
|
|
487
403
|
position: relative;
|
|
488
404
|
overflow: hidden;
|
|
@@ -682,27 +598,87 @@ td {
|
|
|
682
598
|
.ea-icon-more:before { content: "\e60e" }
|
|
683
599
|
.eafont.ea-icon-conf.has { color: #000 }
|
|
684
600
|
|
|
685
|
-
.ea-
|
|
686
|
-
|
|
601
|
+
.ea-data-tree-body {
|
|
602
|
+
&.ea-data-tree-body__border {
|
|
603
|
+
border: 1px solid $--color-border-light;
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
.ea-data-tree-row {
|
|
687
608
|
height: 32px;
|
|
688
|
-
|
|
689
|
-
|
|
609
|
+
line-height: 32px;
|
|
610
|
+
display: flex;
|
|
611
|
+
justify-content: flex-start;
|
|
612
|
+
position: relative;
|
|
613
|
+
padding-left: 20px;
|
|
614
|
+
&.odd { background-color: #F8F8F8; }
|
|
615
|
+
&:hover { background-color: #EBEEF5; }
|
|
616
|
+
.ea-data-tree-cell {
|
|
617
|
+
flex: 0 0 auto;
|
|
618
|
+
height: 100%;
|
|
619
|
+
font-size: 14px;
|
|
620
|
+
box-sizing: border-box;
|
|
621
|
+
padding: 0 8px;
|
|
622
|
+
position: relative;
|
|
623
|
+
overflow: hidden;
|
|
624
|
+
text-overflow: ellipsis;
|
|
625
|
+
white-space: nowrap;
|
|
626
|
+
word-break: break-all;
|
|
627
|
+
& > .ea-data-tree-checkbox {
|
|
628
|
+
position: absolute;
|
|
629
|
+
top: 0;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
.ea-data-tree-icon {
|
|
633
|
+
cursor: pointer;
|
|
690
634
|
position: absolute;
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
635
|
+
height: 100%;
|
|
636
|
+
color: #CCC;
|
|
637
|
+
display: flex;
|
|
638
|
+
align-items: center;
|
|
695
639
|
z-index: 1;
|
|
696
|
-
|
|
640
|
+
&:hover {
|
|
641
|
+
color: #333;
|
|
642
|
+
}
|
|
697
643
|
}
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
.ea-data-tree-checkbox .el-checkbox__input.is-indeterminate .el-checkbox__inner {
|
|
647
|
+
background-color: $--color-secondary-text;
|
|
648
|
+
border-color: $--color-secondary-text;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
.ea-data-tree-empty {
|
|
652
|
+
display: flex;
|
|
653
|
+
justify-content: center;
|
|
654
|
+
align-items: center;
|
|
655
|
+
color: $--color-secondary-text;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.file-upload-dialog {
|
|
659
|
+
// 拖拽区域铺满
|
|
660
|
+
.el-upload,
|
|
661
|
+
.el-upload .el-upload-dragger {
|
|
703
662
|
width: 100%;
|
|
704
|
-
|
|
705
|
-
|
|
663
|
+
}
|
|
664
|
+
// 文件列表项边框
|
|
665
|
+
.el-upload-list {
|
|
666
|
+
.el-upload-list__item {
|
|
667
|
+
border: 1px dashed #aaa;
|
|
668
|
+
.el-icon-close {
|
|
669
|
+
display: inline-block;
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
// 清除文件列表变动过渡动画
|
|
674
|
+
.el-list-enter,
|
|
675
|
+
.el-list-enter-active,
|
|
676
|
+
.el-list-enter-to,
|
|
677
|
+
.el-list-leave,
|
|
678
|
+
.el-list-leave-active,
|
|
679
|
+
.el-list-leave-to {
|
|
680
|
+
-webkit-transition: none !important;
|
|
681
|
+
transition: none !important;
|
|
706
682
|
}
|
|
707
683
|
}
|
|
708
684
|
|
|
@@ -760,6 +736,30 @@ td {
|
|
|
760
736
|
}
|
|
761
737
|
}
|
|
762
738
|
|
|
739
|
+
.ea-form .form-group-title {
|
|
740
|
+
position: relative;
|
|
741
|
+
height: 32px;
|
|
742
|
+
margin-bottom: 22px;
|
|
743
|
+
> span {
|
|
744
|
+
position: absolute;
|
|
745
|
+
top: 0;
|
|
746
|
+
left: 20%;
|
|
747
|
+
padding: 5px 25px;
|
|
748
|
+
background-color: #fff;
|
|
749
|
+
z-index: 1;
|
|
750
|
+
color: $--color-secondary-text;
|
|
751
|
+
}
|
|
752
|
+
&::after {
|
|
753
|
+
content: '';
|
|
754
|
+
position: absolute;
|
|
755
|
+
top: 50%;
|
|
756
|
+
left: 0;
|
|
757
|
+
width: 100%;
|
|
758
|
+
height: 0;
|
|
759
|
+
border-bottom: 1px dashed $--color-border-base;
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
|
|
763
763
|
.conf-header {
|
|
764
764
|
border-bottom: 1px solid #DDD;
|
|
765
765
|
padding-bottom: 10px;
|
|
@@ -812,21 +812,6 @@ td {
|
|
|
812
812
|
}
|
|
813
813
|
}
|
|
814
814
|
|
|
815
|
-
.ea-switch-mini {
|
|
816
|
-
.el-switch__core {
|
|
817
|
-
width: 30px !important;
|
|
818
|
-
height: 16px;
|
|
819
|
-
&::after {
|
|
820
|
-
width: 12px;
|
|
821
|
-
height: 12px;
|
|
822
|
-
left: 2px;
|
|
823
|
-
}
|
|
824
|
-
}
|
|
825
|
-
&.is-checked .el-switch__core::after {
|
|
826
|
-
margin-left: -13px;
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
|
|
830
815
|
.ea-form .el-form-item__content {
|
|
831
816
|
& > .el-input-number,
|
|
832
817
|
& > .el-input,
|
|
@@ -843,3 +828,18 @@ td {
|
|
|
843
828
|
width: 100%;
|
|
844
829
|
}
|
|
845
830
|
}
|
|
831
|
+
|
|
832
|
+
.ea-switch-mini {
|
|
833
|
+
.el-switch__core {
|
|
834
|
+
width: 30px !important;
|
|
835
|
+
height: 16px;
|
|
836
|
+
&::after {
|
|
837
|
+
width: 12px;
|
|
838
|
+
height: 12px;
|
|
839
|
+
left: 2px;
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
&.is-checked .el-switch__core::after {
|
|
843
|
+
margin-left: -13px;
|
|
844
|
+
}
|
|
845
|
+
}
|