@vtx/components 3.1.74 → 3.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/lib/index.js +14 -0
- package/lib/index.js.map +1 -1
- package/lib/vtx-datagrid/index.js +2 -2
- package/lib/vtx-datagrid/index.js.map +1 -1
- package/lib/vtx-tree/index.js +279 -0
- package/lib/vtx-tree/index.js.map +1 -0
- package/lib/vtx-tree/style/css.js +6 -0
- package/lib/vtx-tree/style/css.js.map +1 -0
- package/lib/vtx-tree/style/index.css +54 -0
- package/lib/vtx-tree/style/index.js +6 -0
- package/lib/vtx-tree/style/index.js.map +1 -0
- package/lib/vtx-tree/style/index.less +53 -0
- package/lib/vtx-tree/utils.js +81 -0
- package/lib/vtx-tree/utils.js.map +1 -0
- package/lib/vtx-tree-select/index.js +185 -0
- package/lib/vtx-tree-select/index.js.map +1 -0
- package/lib/vtx-tree-select/style/css.js +7 -0
- package/lib/vtx-tree-select/style/css.js.map +1 -0
- package/lib/vtx-tree-select/style/index.css +53 -0
- package/lib/vtx-tree-select/style/index.js +7 -0
- package/lib/vtx-tree-select/style/index.js.map +1 -0
- package/lib/vtx-tree-select/style/index.less +61 -0
- package/package.json +1 -1
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
@import (reference) '~antd/lib/style/themes/index.less';
|
|
2
|
+
@prefix-cls: vtx-tree-select;
|
|
3
|
+
|
|
4
|
+
.@{prefix-cls} {
|
|
5
|
+
&-popover {
|
|
6
|
+
min-width: 200px;
|
|
7
|
+
height: 300px;
|
|
8
|
+
overflow: auto;
|
|
9
|
+
&::-webkit-scrollbar {
|
|
10
|
+
width: 8px;
|
|
11
|
+
height: 8px;
|
|
12
|
+
background-color: hsla(0, 0%, 76%, 0.07);
|
|
13
|
+
}
|
|
14
|
+
&::-webkit-scrollbar-thumb {
|
|
15
|
+
background-color: rgba(193, 193, 193, 0.6);
|
|
16
|
+
border-radius: 3px;
|
|
17
|
+
box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.3);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
.ant-select-selection-overflow {
|
|
21
|
+
flex-wrap: nowrap;
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&--placeholder {
|
|
26
|
+
color: @input-placeholder-color;
|
|
27
|
+
}
|
|
28
|
+
.vtx-tree-count {
|
|
29
|
+
margin-right: -12px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.vtx-tree-select-popup {
|
|
34
|
+
& {
|
|
35
|
+
.ant-select-tree
|
|
36
|
+
.ant-select-tree-treenode:not(.ant-select-tree
|
|
37
|
+
.ant-select-tree-treenode-disabled).filter-node
|
|
38
|
+
.ant-select-tree-title {
|
|
39
|
+
color: #1890ff;
|
|
40
|
+
}
|
|
41
|
+
.ant-select-tree .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
|
|
42
|
+
background-color: #e6f7ff;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.vtx-tree-count-head {
|
|
48
|
+
display: flex;
|
|
49
|
+
justify-content: space-between;
|
|
50
|
+
margin-bottom: 5px;
|
|
51
|
+
.disabled-count {
|
|
52
|
+
color: #aaa;
|
|
53
|
+
cursor: not-allowed;
|
|
54
|
+
}
|
|
55
|
+
.clear-count {
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
&:hover {
|
|
58
|
+
color: #40a9ff;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|