@cmstops/pro-compo 0.1.74 → 0.1.76
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/index.css +52 -0
- package/dist/index.min.css +1 -1
- package/es/baseFilter/component.js +15 -19
- package/es/baseFilter/components/FilterGroup.d.ts +0 -0
- package/es/baseFilter/components/FilterGroup.js +179 -0
- package/es/baseFilter/components/filterItem.js +4 -2
- package/es/baseFilter/style/filterGroup.less +60 -0
- package/es/baseFilter/style/index.css +52 -0
- package/es/baseFilter/style/index.less +12 -3
- package/es/baseFilter/useCalcWidth.d.ts +9 -0
- package/es/index.css +52 -0
- package/lib/baseFilter/component.js +12 -16
- package/lib/baseFilter/components/FilterGroup.js +180 -0
- package/lib/baseFilter/components/filterItem.js +3 -1
- package/lib/baseFilter/style/filterGroup.less +60 -0
- package/lib/baseFilter/style/index.css +52 -0
- package/lib/baseFilter/style/index.less +12 -3
- package/lib/index.css +52 -0
- package/package.json +1 -1
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// FilterGroup 内部样式
|
|
2
|
+
.filter-view-container {
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
margin-bottom: 10px;
|
|
6
|
+
font-size: 14px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.filter-search {
|
|
10
|
+
display: flex;
|
|
11
|
+
gap: 10px;
|
|
12
|
+
width: 180px;
|
|
13
|
+
margin-right: 10px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.filter-content {
|
|
17
|
+
position: relative;
|
|
18
|
+
display: flex;
|
|
19
|
+
flex: 1;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.left {
|
|
25
|
+
display: flex;
|
|
26
|
+
gap: 10px;
|
|
27
|
+
align-items: center;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.right {
|
|
31
|
+
position: absolute;
|
|
32
|
+
right: 0;
|
|
33
|
+
z-index: 1;
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-wrap: nowrap;
|
|
36
|
+
align-items: center;
|
|
37
|
+
height: 100%;
|
|
38
|
+
padding-left: 20px;
|
|
39
|
+
background: white;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.more-btn {
|
|
43
|
+
z-index: 10;
|
|
44
|
+
margin-right: 10px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.right-prefix {
|
|
48
|
+
display: flex;
|
|
49
|
+
gap: 10px;
|
|
50
|
+
align-items: center;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.filter-pannel {
|
|
54
|
+
display: flex;
|
|
55
|
+
gap: 10px;
|
|
56
|
+
padding: 10px;
|
|
57
|
+
background-color: white;
|
|
58
|
+
border-radius: 6px;
|
|
59
|
+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
|
60
|
+
}
|
|
@@ -1,3 +1,55 @@
|
|
|
1
|
+
.filter-view-container {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
margin-bottom: 10px;
|
|
5
|
+
font-size: 14px;
|
|
6
|
+
}
|
|
7
|
+
.filter-search {
|
|
8
|
+
display: flex;
|
|
9
|
+
gap: 10px;
|
|
10
|
+
width: 180px;
|
|
11
|
+
margin-right: 10px;
|
|
12
|
+
}
|
|
13
|
+
.filter-content {
|
|
14
|
+
position: relative;
|
|
15
|
+
display: flex;
|
|
16
|
+
flex: 1;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: space-between;
|
|
19
|
+
}
|
|
20
|
+
.left {
|
|
21
|
+
display: flex;
|
|
22
|
+
gap: 10px;
|
|
23
|
+
align-items: center;
|
|
24
|
+
}
|
|
25
|
+
.right {
|
|
26
|
+
position: absolute;
|
|
27
|
+
right: 0;
|
|
28
|
+
z-index: 1;
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-wrap: nowrap;
|
|
31
|
+
align-items: center;
|
|
32
|
+
height: 100%;
|
|
33
|
+
padding-left: 20px;
|
|
34
|
+
background: white;
|
|
35
|
+
}
|
|
36
|
+
.more-btn {
|
|
37
|
+
z-index: 10;
|
|
38
|
+
margin-right: 10px;
|
|
39
|
+
}
|
|
40
|
+
.right-prefix {
|
|
41
|
+
display: flex;
|
|
42
|
+
gap: 10px;
|
|
43
|
+
align-items: center;
|
|
44
|
+
}
|
|
45
|
+
.filter-pannel {
|
|
46
|
+
display: flex;
|
|
47
|
+
gap: 10px;
|
|
48
|
+
padding: 10px;
|
|
49
|
+
background-color: white;
|
|
50
|
+
border-radius: 6px;
|
|
51
|
+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
|
52
|
+
}
|
|
1
53
|
.base-filter-container {
|
|
2
54
|
display: flex;
|
|
3
55
|
align-items: center;
|
|
@@ -1,29 +1,36 @@
|
|
|
1
|
+
@import url('./filterGroup.less');
|
|
2
|
+
|
|
1
3
|
.base-filter-container {
|
|
2
4
|
display: flex;
|
|
3
5
|
align-items: center;
|
|
4
6
|
justify-content: space-between;
|
|
7
|
+
|
|
5
8
|
.left {
|
|
6
9
|
display: flex;
|
|
7
10
|
align-items: center;
|
|
11
|
+
|
|
8
12
|
.form-ul {
|
|
9
13
|
display: flex;
|
|
10
14
|
align-items: center;
|
|
11
15
|
}
|
|
16
|
+
|
|
12
17
|
.filter-item-view {
|
|
13
18
|
margin-right: 1rem;
|
|
19
|
+
|
|
14
20
|
&.value {
|
|
15
21
|
.arco-picker,
|
|
16
22
|
.arco-picker-input-active input,
|
|
17
23
|
.arco-input-search,
|
|
18
24
|
.arco-select-view-single,
|
|
19
25
|
.arco-icon-hover,
|
|
20
|
-
.arco-icon-hover::before{
|
|
26
|
+
.arco-icon-hover::before {
|
|
21
27
|
background-color: rgb(var(--primary-1));
|
|
22
28
|
}
|
|
29
|
+
|
|
23
30
|
.arco-picker input,
|
|
24
31
|
.arco-input-search,
|
|
25
32
|
.arco-select-view-single,
|
|
26
|
-
.arco-select-view-suffix,
|
|
33
|
+
.arco-select-view-suffix,
|
|
27
34
|
.arco-picker-separator,
|
|
28
35
|
.arco-picker-suffix-icon,
|
|
29
36
|
.arco-icon-hover {
|
|
@@ -32,5 +39,7 @@
|
|
|
32
39
|
}
|
|
33
40
|
}
|
|
34
41
|
}
|
|
35
|
-
|
|
42
|
+
|
|
43
|
+
.right {
|
|
44
|
+
}
|
|
36
45
|
}
|
package/lib/index.css
CHANGED
|
@@ -3493,6 +3493,58 @@
|
|
|
3493
3493
|
font-size: 14px;
|
|
3494
3494
|
line-height: 1.5;
|
|
3495
3495
|
}
|
|
3496
|
+
.filter-view-container {
|
|
3497
|
+
display: flex;
|
|
3498
|
+
align-items: center;
|
|
3499
|
+
margin-bottom: 10px;
|
|
3500
|
+
font-size: 14px;
|
|
3501
|
+
}
|
|
3502
|
+
.filter-search {
|
|
3503
|
+
display: flex;
|
|
3504
|
+
gap: 10px;
|
|
3505
|
+
width: 180px;
|
|
3506
|
+
margin-right: 10px;
|
|
3507
|
+
}
|
|
3508
|
+
.filter-content {
|
|
3509
|
+
position: relative;
|
|
3510
|
+
display: flex;
|
|
3511
|
+
flex: 1;
|
|
3512
|
+
align-items: center;
|
|
3513
|
+
justify-content: space-between;
|
|
3514
|
+
}
|
|
3515
|
+
.left {
|
|
3516
|
+
display: flex;
|
|
3517
|
+
gap: 10px;
|
|
3518
|
+
align-items: center;
|
|
3519
|
+
}
|
|
3520
|
+
.right {
|
|
3521
|
+
position: absolute;
|
|
3522
|
+
right: 0;
|
|
3523
|
+
z-index: 1;
|
|
3524
|
+
display: flex;
|
|
3525
|
+
flex-wrap: nowrap;
|
|
3526
|
+
align-items: center;
|
|
3527
|
+
height: 100%;
|
|
3528
|
+
padding-left: 20px;
|
|
3529
|
+
background: white;
|
|
3530
|
+
}
|
|
3531
|
+
.more-btn {
|
|
3532
|
+
z-index: 10;
|
|
3533
|
+
margin-right: 10px;
|
|
3534
|
+
}
|
|
3535
|
+
.right-prefix {
|
|
3536
|
+
display: flex;
|
|
3537
|
+
gap: 10px;
|
|
3538
|
+
align-items: center;
|
|
3539
|
+
}
|
|
3540
|
+
.filter-pannel {
|
|
3541
|
+
display: flex;
|
|
3542
|
+
gap: 10px;
|
|
3543
|
+
padding: 10px;
|
|
3544
|
+
background-color: white;
|
|
3545
|
+
border-radius: 6px;
|
|
3546
|
+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
|
3547
|
+
}
|
|
3496
3548
|
.base-filter-container {
|
|
3497
3549
|
display: flex;
|
|
3498
3550
|
align-items: center;
|