element-assits 0.0.48 → 0.0.49
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 +5 -7
- package/lib/style.scss +116 -116
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1771,17 +1771,15 @@ const Px = {
|
|
|
1771
1771
|
ue(r.rules) && d.push(...r.rules);
|
|
1772
1772
|
const v = {};
|
|
1773
1773
|
be(r.on) ? Object.assign(v, r.on(...i)) : It(r.on) && Object.assign(v, r.on);
|
|
1774
|
-
const m = { clearable: !0, placeholder:
|
|
1775
|
-
Object.assign(
|
|
1776
|
-
const b = be(r.label) ? r.label(...i) : r.label, S = be(r.labelTooltip) ? r.labelTooltip(...i) : r.labelTooltip;
|
|
1777
|
-
return Object.assign({}, r, o, {
|
|
1774
|
+
const m = be(r.label) ? r.label(...i) : r.label, b = be(r.labelTooltip) ? r.labelTooltip(...i) : r.labelTooltip, S = { clearable: !0, placeholder: m };
|
|
1775
|
+
return Object.assign(S, be(r.bind) ? r.bind(...i) : r.bind), Object.assign({}, r, o, {
|
|
1778
1776
|
__key: n,
|
|
1779
|
-
__label:
|
|
1780
|
-
__labelTooltip:
|
|
1777
|
+
__label: m,
|
|
1778
|
+
__labelTooltip: b,
|
|
1781
1779
|
__component: u,
|
|
1782
1780
|
__rules: d,
|
|
1783
1781
|
__on: v,
|
|
1784
|
-
__bind:
|
|
1782
|
+
__bind: S
|
|
1785
1783
|
});
|
|
1786
1784
|
},
|
|
1787
1785
|
deleteLostProp(r, n) {
|
package/lib/style.scss
CHANGED
|
@@ -128,6 +128,36 @@ $--color-border-extralight: #F2F6FC !default;
|
|
|
128
128
|
transform: scaleY(0);
|
|
129
129
|
}
|
|
130
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
|
+
|
|
131
161
|
.ea-data-table {
|
|
132
162
|
.edt-row {
|
|
133
163
|
display: flex;
|
|
@@ -250,48 +280,6 @@ td {
|
|
|
250
280
|
}
|
|
251
281
|
}
|
|
252
282
|
|
|
253
|
-
.ea-select {
|
|
254
|
-
display: inline-block;
|
|
255
|
-
position: relative;
|
|
256
|
-
.el-select {
|
|
257
|
-
width: 100%;
|
|
258
|
-
}
|
|
259
|
-
.async-loading.el-icon-loading {
|
|
260
|
-
position: absolute;
|
|
261
|
-
top: 10px;
|
|
262
|
-
right: 28px;
|
|
263
|
-
color: #999;
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
.ea-select-popover {
|
|
267
|
-
.el-select-dropdown__item {
|
|
268
|
-
display: flex;
|
|
269
|
-
justify-content: space-between;
|
|
270
|
-
.select-item-value {
|
|
271
|
-
overflow: hidden;
|
|
272
|
-
text-overflow: ellipsis;
|
|
273
|
-
}
|
|
274
|
-
.select-item-desc {
|
|
275
|
-
overflow: hidden;
|
|
276
|
-
text-overflow: ellipsis;
|
|
277
|
-
color: #8492a6;
|
|
278
|
-
margin-left: 8px;
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
.ea-tree {
|
|
284
|
-
.ea-tree-real {
|
|
285
|
-
.el-tree-node > .el-tree-node__content{
|
|
286
|
-
border-radius: 4px;
|
|
287
|
-
}
|
|
288
|
-
.el-tree-node.is-current > .el-tree-node__content {
|
|
289
|
-
color: $--color-primary;
|
|
290
|
-
background-color: rgba($--color-primary, 0.1);
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
|
|
295
283
|
.ea-split-container {
|
|
296
284
|
display: flex;
|
|
297
285
|
&.is-down {
|
|
@@ -343,8 +331,16 @@ td {
|
|
|
343
331
|
}
|
|
344
332
|
}
|
|
345
333
|
|
|
346
|
-
.ea-
|
|
347
|
-
|
|
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
|
+
}
|
|
348
344
|
}
|
|
349
345
|
|
|
350
346
|
.ea-list {
|
|
@@ -399,61 +395,8 @@ td {
|
|
|
399
395
|
}
|
|
400
396
|
}
|
|
401
397
|
|
|
402
|
-
.ea-
|
|
403
|
-
|
|
404
|
-
border: 1px solid $--color-border-light;
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
.ea-data-tree-row {
|
|
409
|
-
height: 32px;
|
|
410
|
-
line-height: 32px;
|
|
411
|
-
display: flex;
|
|
412
|
-
justify-content: flex-start;
|
|
413
|
-
position: relative;
|
|
414
|
-
padding-left: 20px;
|
|
415
|
-
&.odd { background-color: #F8F8F8; }
|
|
416
|
-
&:hover { background-color: #EBEEF5; }
|
|
417
|
-
.ea-data-tree-cell {
|
|
418
|
-
flex: 0 0 auto;
|
|
419
|
-
height: 100%;
|
|
420
|
-
font-size: 14px;
|
|
421
|
-
box-sizing: border-box;
|
|
422
|
-
padding: 0 8px;
|
|
423
|
-
position: relative;
|
|
424
|
-
overflow: hidden;
|
|
425
|
-
text-overflow: ellipsis;
|
|
426
|
-
white-space: nowrap;
|
|
427
|
-
word-break: break-all;
|
|
428
|
-
& > .ea-data-tree-checkbox {
|
|
429
|
-
position: absolute;
|
|
430
|
-
top: 0;
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
.ea-data-tree-icon {
|
|
434
|
-
cursor: pointer;
|
|
435
|
-
position: absolute;
|
|
436
|
-
height: 100%;
|
|
437
|
-
color: #CCC;
|
|
438
|
-
display: flex;
|
|
439
|
-
align-items: center;
|
|
440
|
-
z-index: 1;
|
|
441
|
-
&:hover {
|
|
442
|
-
color: #333;
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
.ea-data-tree-checkbox .el-checkbox__input.is-indeterminate .el-checkbox__inner {
|
|
448
|
-
background-color: $--color-secondary-text;
|
|
449
|
-
border-color: $--color-secondary-text;
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
.ea-data-tree-empty {
|
|
453
|
-
display: flex;
|
|
454
|
-
justify-content: center;
|
|
455
|
-
align-items: center;
|
|
456
|
-
color: $--color-secondary-text;
|
|
398
|
+
.ea-number .el-input__inner {
|
|
399
|
+
text-align: left;
|
|
457
400
|
}
|
|
458
401
|
|
|
459
402
|
.file-upload-dialog {
|
|
@@ -682,6 +625,63 @@ td {
|
|
|
682
625
|
.ea-icon-more:before { content: "\e60e" }
|
|
683
626
|
.eafont.ea-icon-conf.has { color: #000 }
|
|
684
627
|
|
|
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 {
|
|
635
|
+
height: 32px;
|
|
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
|
+
}
|
|
658
|
+
}
|
|
659
|
+
.ea-data-tree-icon {
|
|
660
|
+
cursor: pointer;
|
|
661
|
+
position: absolute;
|
|
662
|
+
height: 100%;
|
|
663
|
+
color: #CCC;
|
|
664
|
+
display: flex;
|
|
665
|
+
align-items: center;
|
|
666
|
+
z-index: 1;
|
|
667
|
+
&:hover {
|
|
668
|
+
color: #333;
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
}
|
|
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
|
+
|
|
685
685
|
.ea-table-modal {
|
|
686
686
|
overflow: visible;
|
|
687
687
|
right: unset;
|
|
@@ -772,23 +772,6 @@ td {
|
|
|
772
772
|
margin-bottom: 8px !important;
|
|
773
773
|
}
|
|
774
774
|
|
|
775
|
-
.ea-form .el-form-item__content {
|
|
776
|
-
& > .el-input-number,
|
|
777
|
-
& > .el-input,
|
|
778
|
-
& > .ea-select,
|
|
779
|
-
& > .el-select {
|
|
780
|
-
width: 100%;
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
.ea-form .el-form-item.hidden-label {
|
|
784
|
-
> .el-form-item__label {
|
|
785
|
-
display: none;
|
|
786
|
-
}
|
|
787
|
-
> .el-form-item__content {
|
|
788
|
-
width: 100%;
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
|
|
792
775
|
.ea-select-container {
|
|
793
776
|
display: flex;
|
|
794
777
|
justify-content: flex-start;
|
|
@@ -829,6 +812,23 @@ td {
|
|
|
829
812
|
}
|
|
830
813
|
}
|
|
831
814
|
|
|
815
|
+
.ea-form .el-form-item__content {
|
|
816
|
+
& > .el-input-number,
|
|
817
|
+
& > .el-input,
|
|
818
|
+
& > .ea-select,
|
|
819
|
+
& > .el-select {
|
|
820
|
+
width: 100%;
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
.ea-form .el-form-item.hidden-label {
|
|
824
|
+
> .el-form-item__label {
|
|
825
|
+
display: none;
|
|
826
|
+
}
|
|
827
|
+
> .el-form-item__content {
|
|
828
|
+
width: 100%;
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
|
|
832
832
|
.ea-switch-mini {
|
|
833
833
|
.el-switch__core {
|
|
834
834
|
width: 30px !important;
|