element-assits 0.0.45 → 0.0.46
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 +2 -0
- package/lib/index.js +591 -564
- package/lib/style.scss +153 -153
- package/package.json +1 -1
package/lib/style.scss
CHANGED
|
@@ -128,6 +128,45 @@ $--color-border-extralight: #F2F6FC !default;
|
|
|
128
128
|
transform: scaleY(0);
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
+
.ea-data-table {
|
|
132
|
+
.edt-row {
|
|
133
|
+
display: flex;
|
|
134
|
+
.edt-cell {
|
|
135
|
+
padding: 0 8px;
|
|
136
|
+
flex: 0 0 auto;
|
|
137
|
+
box-sizing: border-box;
|
|
138
|
+
overflow: hidden;
|
|
139
|
+
text-overflow: ellipsis;
|
|
140
|
+
white-space: nowrap;
|
|
141
|
+
word-break: break-all;
|
|
142
|
+
}
|
|
143
|
+
&.edt-header {
|
|
144
|
+
background-color: $--color-border-extralight;
|
|
145
|
+
color: $--color-primary-text;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
&--border {
|
|
149
|
+
border: 1px solid $--color-border-light;
|
|
150
|
+
.edt-row {
|
|
151
|
+
.edt-cell {
|
|
152
|
+
border-bottom: 1px solid $--color-border-light;
|
|
153
|
+
border-left: 1px solid $--color-border-light;
|
|
154
|
+
&:first-child {
|
|
155
|
+
border-left: 0;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
&:last-child .edt-cell{
|
|
159
|
+
border-bottom: 0;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
.loading-text {
|
|
164
|
+
color: $--color-secondary-text;
|
|
165
|
+
text-align: center;
|
|
166
|
+
font-size: inherit;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
131
170
|
.ea-select {
|
|
132
171
|
display: inline-block;
|
|
133
172
|
position: relative;
|
|
@@ -176,45 +215,6 @@ $--color-border-extralight: #F2F6FC !default;
|
|
|
176
215
|
}
|
|
177
216
|
}
|
|
178
217
|
|
|
179
|
-
.ea-data-table {
|
|
180
|
-
.edt-row {
|
|
181
|
-
display: flex;
|
|
182
|
-
.edt-cell {
|
|
183
|
-
padding: 0 8px;
|
|
184
|
-
flex: 0 0 auto;
|
|
185
|
-
box-sizing: border-box;
|
|
186
|
-
overflow: hidden;
|
|
187
|
-
text-overflow: ellipsis;
|
|
188
|
-
white-space: nowrap;
|
|
189
|
-
word-break: break-all;
|
|
190
|
-
}
|
|
191
|
-
&.edt-header {
|
|
192
|
-
background-color: $--color-border-extralight;
|
|
193
|
-
color: $--color-primary-text;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
&--border {
|
|
197
|
-
border: 1px solid $--color-border-light;
|
|
198
|
-
.edt-row {
|
|
199
|
-
.edt-cell {
|
|
200
|
-
border-bottom: 1px solid $--color-border-light;
|
|
201
|
-
border-left: 1px solid $--color-border-light;
|
|
202
|
-
&:first-child {
|
|
203
|
-
border-left: 0;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
&:last-child .edt-cell{
|
|
207
|
-
border-bottom: 0;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
.loading-text {
|
|
212
|
-
color: $--color-secondary-text;
|
|
213
|
-
text-align: center;
|
|
214
|
-
font-size: inherit;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
|
|
218
218
|
.ea-button-tooltip + .ea-button-tooltip {
|
|
219
219
|
margin-left: 10px;
|
|
220
220
|
}
|
|
@@ -280,6 +280,22 @@ td {
|
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
+
.ea-number .el-input__inner {
|
|
284
|
+
text-align: left;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.ea-tree {
|
|
288
|
+
.ea-tree-real {
|
|
289
|
+
.el-tree-node > .el-tree-node__content{
|
|
290
|
+
border-radius: 4px;
|
|
291
|
+
}
|
|
292
|
+
.el-tree-node.is-current > .el-tree-node__content {
|
|
293
|
+
color: $--color-primary;
|
|
294
|
+
background-color: rgba($--color-primary, 0.1);
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
283
299
|
.ea-split-container {
|
|
284
300
|
display: flex;
|
|
285
301
|
&.is-down {
|
|
@@ -331,30 +347,6 @@ td {
|
|
|
331
347
|
}
|
|
332
348
|
}
|
|
333
349
|
|
|
334
|
-
.ea-tree {
|
|
335
|
-
.ea-tree-real {
|
|
336
|
-
.el-tree-node > .el-tree-node__content{
|
|
337
|
-
border-radius: 4px;
|
|
338
|
-
}
|
|
339
|
-
.el-tree-node.is-current > .el-tree-node__content {
|
|
340
|
-
color: $--color-primary;
|
|
341
|
-
background-color: rgba($--color-primary, 0.1);
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
}
|
|
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
|
-
|
|
358
350
|
.ea-desc {
|
|
359
351
|
font-size: 14px;
|
|
360
352
|
&__title {
|
|
@@ -399,6 +391,14 @@ td {
|
|
|
399
391
|
}
|
|
400
392
|
}
|
|
401
393
|
|
|
394
|
+
.ea-list {
|
|
395
|
+
.loading-text {
|
|
396
|
+
color: $--color-secondary-text;
|
|
397
|
+
text-align: center;
|
|
398
|
+
font-size: inherit;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
|
|
402
402
|
.file-upload-dialog {
|
|
403
403
|
// 拖拽区域铺满
|
|
404
404
|
.el-upload,
|
|
@@ -426,63 +426,6 @@ td {
|
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
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
429
|
.vjs-table {
|
|
487
430
|
position: relative;
|
|
488
431
|
overflow: hidden;
|
|
@@ -682,30 +625,63 @@ td {
|
|
|
682
625
|
.ea-icon-more:before { content: "\e60e" }
|
|
683
626
|
.eafont.ea-icon-conf.has { color: #000 }
|
|
684
627
|
|
|
685
|
-
.ea-
|
|
686
|
-
|
|
628
|
+
.ea-data-tree-body {
|
|
629
|
+
&.ea-data-tree-body__border {
|
|
630
|
+
border: 1px solid $--color-border-light;
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.ea-data-tree-row {
|
|
687
635
|
height: 32px;
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
636
|
+
line-height: 32px;
|
|
637
|
+
display: flex;
|
|
638
|
+
justify-content: flex-start;
|
|
639
|
+
position: relative;
|
|
640
|
+
padding-left: 20px;
|
|
641
|
+
&.odd { background-color: #F8F8F8; }
|
|
642
|
+
&:hover { background-color: #EBEEF5; }
|
|
643
|
+
.ea-data-tree-cell {
|
|
644
|
+
flex: 0 0 auto;
|
|
645
|
+
height: 100%;
|
|
646
|
+
font-size: 14px;
|
|
647
|
+
box-sizing: border-box;
|
|
648
|
+
padding: 0 8px;
|
|
649
|
+
position: relative;
|
|
650
|
+
overflow: hidden;
|
|
651
|
+
text-overflow: ellipsis;
|
|
652
|
+
white-space: nowrap;
|
|
653
|
+
word-break: break-all;
|
|
654
|
+
& > .ea-data-tree-checkbox {
|
|
655
|
+
position: absolute;
|
|
656
|
+
top: 0;
|
|
657
|
+
}
|
|
697
658
|
}
|
|
698
|
-
|
|
699
|
-
|
|
659
|
+
.ea-data-tree-icon {
|
|
660
|
+
cursor: pointer;
|
|
700
661
|
position: absolute;
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
662
|
+
height: 100%;
|
|
663
|
+
color: #CCC;
|
|
664
|
+
display: flex;
|
|
665
|
+
align-items: center;
|
|
666
|
+
z-index: 1;
|
|
667
|
+
&:hover {
|
|
668
|
+
color: #333;
|
|
669
|
+
}
|
|
706
670
|
}
|
|
707
671
|
}
|
|
708
672
|
|
|
673
|
+
.ea-data-tree-checkbox .el-checkbox__input.is-indeterminate .el-checkbox__inner {
|
|
674
|
+
background-color: $--color-secondary-text;
|
|
675
|
+
border-color: $--color-secondary-text;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.ea-data-tree-empty {
|
|
679
|
+
display: flex;
|
|
680
|
+
justify-content: center;
|
|
681
|
+
align-items: center;
|
|
682
|
+
color: $--color-secondary-text;
|
|
683
|
+
}
|
|
684
|
+
|
|
709
685
|
.ea-table-modal {
|
|
710
686
|
overflow: visible;
|
|
711
687
|
right: unset;
|
|
@@ -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
|
+
}
|