@qn-pandora/pandora-component 4.0.0 → 4.0.1
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/CHANGELOG.json +17 -0
- package/CHANGELOG.md +9 -1
- package/README.md +36 -36
- package/es/components/AutoComplete/style.less +8 -8
- package/es/components/Breadcrumb/style.less +9 -9
- package/es/components/Button/style.less +51 -51
- package/es/components/Card/RowExtra/style.less +8 -8
- package/es/components/Card/SearchInput/style.less +8 -8
- package/es/components/Card/style.less +11 -11
- package/es/components/CheckTransformList/style.less +35 -35
- package/es/components/Checkbox/style.less +5 -5
- package/es/components/CheckboxList/style.less +11 -11
- package/es/components/Collapse/style.less +57 -57
- package/es/components/CollapsiblePanel/style.less +63 -63
- package/es/components/DateTimePicker/Base/style.less +160 -160
- package/es/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
- package/es/components/DateTimePicker/BaseMobile/style.less +32 -32
- package/es/components/DateTimePicker/Collapse/Panel/style.less +26 -26
- package/es/components/DateTimePicker/DisplayInput/style.less +9 -9
- package/es/components/DateTimePicker/style.less +19 -19
- package/es/components/Drawer/index.d.ts +55 -2
- package/es/components/Drawer/index.js +3 -1
- package/es/components/Drawer/style.less +17 -17
- package/es/components/Input/style.less +12 -12
- package/es/components/KeyValuePair/style.less +21 -21
- package/es/components/Menu/Option.d.ts +6 -0
- package/es/components/Menu/Option.js +16 -1
- package/es/components/Menu/index.js +3 -3
- package/es/components/Menu/style.less +18 -18
- package/es/components/Modal/style.less +30 -30
- package/es/components/NameExplainTooltip/style.less +10 -10
- package/es/components/NameLimiter/style.less +19 -19
- package/es/components/OptionList/InlineOptionList/style.less +16 -16
- package/es/components/OptionList/OptionItem/style.less +25 -25
- package/es/components/OptionList/PopoverOptionList/style.less +30 -30
- package/es/components/OptionList/style.less +3 -3
- package/es/components/RadioGroup/style.less +32 -32
- package/es/components/RangeInput/style.less +37 -37
- package/es/components/RemarkName/style.less +2 -2
- package/es/components/Selector/style.less +99 -99
- package/es/components/Spin/style.less +26 -26
- package/es/components/Steps/ControlButton/style.less +5 -5
- package/es/components/Steps/style.less +48 -48
- package/es/components/Table/ColumnTag/style.less +40 -40
- package/es/components/Table/index.js +7 -4
- package/es/components/Table/style.css +4 -4
- package/es/components/Table/style.less +306 -306
- package/es/components/Tabs/style.less +33 -33
- package/es/components/TagList/Tag/style.less +72 -72
- package/es/components/TagList/TagSwitch/style.less +28 -28
- package/es/components/TagList/style.less +28 -28
- package/es/components/Timeline/TimelineItem/style.less +49 -49
- package/es/components/Timeline/style.less +23 -23
- package/es/components/Transfer/List/style.less +19 -19
- package/es/components/Transfer/ListBody/style.less +18 -18
- package/es/components/Transfer/style.less +14 -14
- package/es/components/TreeSelector/style.less +56 -56
- package/es/hoc/popContainer.d.ts +5 -0
- package/es/hoc/popContainer.js +37 -0
- package/es/index.css +1498 -1498
- package/es/index.less +49 -49
- package/es/style/mixin.less +45 -45
- package/es/style/theme.less +389 -381
- package/lib/components/AutoComplete/style.less +8 -8
- package/lib/components/Breadcrumb/style.less +9 -9
- package/lib/components/Button/style.less +51 -51
- package/lib/components/Card/RowExtra/style.less +8 -8
- package/lib/components/Card/SearchInput/style.less +8 -8
- package/lib/components/Card/style.less +11 -11
- package/lib/components/CheckTransformList/style.less +35 -35
- package/lib/components/Checkbox/style.less +5 -5
- package/lib/components/CheckboxList/style.less +11 -11
- package/lib/components/Collapse/style.less +57 -57
- package/lib/components/CollapsiblePanel/style.less +63 -63
- package/lib/components/DateTimePicker/Base/style.less +160 -160
- package/lib/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
- package/lib/components/DateTimePicker/BaseMobile/style.less +32 -32
- package/lib/components/DateTimePicker/Collapse/Panel/style.less +26 -26
- package/lib/components/DateTimePicker/DisplayInput/style.less +9 -9
- package/lib/components/DateTimePicker/style.less +19 -19
- package/lib/components/Drawer/index.d.ts +55 -2
- package/lib/components/Drawer/index.js +3 -1
- package/lib/components/Drawer/style.less +17 -17
- package/lib/components/Input/style.less +12 -12
- package/lib/components/KeyValuePair/style.less +21 -21
- package/lib/components/Menu/Option.d.ts +6 -0
- package/lib/components/Menu/Option.js +16 -1
- package/lib/components/Menu/index.js +3 -3
- package/lib/components/Menu/style.less +18 -18
- package/lib/components/Modal/style.less +30 -30
- package/lib/components/NameExplainTooltip/style.less +10 -10
- package/lib/components/NameLimiter/style.less +19 -19
- package/lib/components/OptionList/InlineOptionList/style.less +16 -16
- package/lib/components/OptionList/OptionItem/style.less +25 -25
- package/lib/components/OptionList/PopoverOptionList/style.less +30 -30
- package/lib/components/OptionList/style.less +3 -3
- package/lib/components/RadioGroup/style.less +32 -32
- package/lib/components/RangeInput/style.less +37 -37
- package/lib/components/RemarkName/style.less +2 -2
- package/lib/components/Selector/style.less +99 -99
- package/lib/components/Spin/style.less +26 -26
- package/lib/components/Steps/ControlButton/style.less +5 -5
- package/lib/components/Steps/style.less +48 -48
- package/lib/components/Table/ColumnTag/style.less +40 -40
- package/lib/components/Table/index.js +6 -3
- package/lib/components/Table/style.css +4 -4
- package/lib/components/Table/style.less +306 -306
- package/lib/components/Tabs/style.less +33 -33
- package/lib/components/TagList/Tag/style.less +72 -72
- package/lib/components/TagList/TagSwitch/style.less +28 -28
- package/lib/components/TagList/style.less +28 -28
- package/lib/components/Timeline/TimelineItem/style.less +49 -49
- package/lib/components/Timeline/style.less +23 -23
- package/lib/components/Transfer/List/style.less +19 -19
- package/lib/components/Transfer/ListBody/style.less +18 -18
- package/lib/components/Transfer/style.less +14 -14
- package/lib/components/TreeSelector/style.less +56 -56
- package/lib/hoc/popContainer.d.ts +5 -0
- package/lib/hoc/popContainer.js +47 -0
- package/lib/index.css +1313 -1313
- package/lib/index.less +49 -49
- package/lib/style/mixin.less +45 -45
- package/lib/style/theme.less +389 -381
- package/package.json +79 -79
@@ -1,99 +1,99 @@
|
|
1
|
-
@import 'antd/lib/select/style/index.less';
|
2
|
-
@import 'antd/lib/checkbox/style/index.less';
|
3
|
-
@import '../../style/theme.less';
|
4
|
-
@import '../../style/mixin.less';
|
5
|
-
|
6
|
-
.@{sdk-prefix}-selector {
|
7
|
-
width: 100%;
|
8
|
-
color: @font-color-7;
|
9
|
-
.@{ant-prefix}-select-selection {
|
10
|
-
background: @select-bg;
|
11
|
-
&:hover {
|
12
|
-
.@{ant-prefix}-select-selection__clear + .@{ant-prefix}-select-arrow {
|
13
|
-
opacity: 0;
|
14
|
-
}
|
15
|
-
}
|
16
|
-
}
|
17
|
-
&.@{ant-prefix}-select-multiple {
|
18
|
-
.@{ant-prefix}-select-selection-item {
|
19
|
-
color: @font-color-6;
|
20
|
-
background: @select-selection-bg;
|
21
|
-
border: none;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
.@{ant-prefix}-select-selection-item-remove {
|
25
|
-
color: @font-disable-color;
|
26
|
-
}
|
27
|
-
.@{ant-prefix}-select-selection--single {
|
28
|
-
height: 32px;
|
29
|
-
}
|
30
|
-
.@{ant-prefix}-select-selection__rendered {
|
31
|
-
line-height: 30px;
|
32
|
-
}
|
33
|
-
.@{ant-prefix}-select-selection__clear {
|
34
|
-
background: @select-bg;
|
35
|
-
color: @font-color-6;
|
36
|
-
i {
|
37
|
-
color: inherit;
|
38
|
-
}
|
39
|
-
}
|
40
|
-
}
|
41
|
-
|
42
|
-
.@{sdk-prefix}-selector-dropdown {
|
43
|
-
.@{ant-prefix}-select-dropdown-menu {
|
44
|
-
margin: 0;
|
45
|
-
.scrollbar();
|
46
|
-
}
|
47
|
-
.@{ant-prefix}-select-item-option-disabled {
|
48
|
-
color: @font-disable-color;
|
49
|
-
}
|
50
|
-
.@{ant-prefix}-select-item-option-selected {
|
51
|
-
color: @theme-color;
|
52
|
-
font-weight: 400;
|
53
|
-
}
|
54
|
-
.@{ant-prefix}-select-item-option:hover {
|
55
|
-
color: @theme-color;
|
56
|
-
}
|
57
|
-
|
58
|
-
.@{ant-prefix}-select-item-group {
|
59
|
-
color: @font-disable-color;
|
60
|
-
}
|
61
|
-
&.@{sdk-prefix}-selector-no-ellipsis {
|
62
|
-
.@{ant-prefix}-select-dropdown-menu {
|
63
|
-
display: inline-block;
|
64
|
-
min-width: 100%;
|
65
|
-
}
|
66
|
-
.@{ant-prefix}-select-dropdown-menu-item {
|
67
|
-
overflow: unset;
|
68
|
-
text-overflow: unset;
|
69
|
-
}
|
70
|
-
}
|
71
|
-
|
72
|
-
.@{sdk-prefix}-selector-create-option {
|
73
|
-
color: @theme-color;
|
74
|
-
cursor: default;
|
75
|
-
&::before,
|
76
|
-
&::after {
|
77
|
-
content: none;
|
78
|
-
}
|
79
|
-
a {
|
80
|
-
color: @theme-color;
|
81
|
-
}
|
82
|
-
}
|
83
|
-
.@{ant-prefix}-select-item-option-selected:not(.@{ant-prefix}-select-item-option-disabled)
|
84
|
-
.@{ant-prefix}-select-item-option-state {
|
85
|
-
.anticon-check {
|
86
|
-
&.anticon {
|
87
|
-
color: @theme-color;
|
88
|
-
}
|
89
|
-
}
|
90
|
-
}
|
91
|
-
}
|
92
|
-
|
93
|
-
.@{sdk-prefix}-selector-create-lint {
|
94
|
-
display: block;
|
95
|
-
}
|
96
|
-
|
97
|
-
.@{sdk-prefix}-close-icon {
|
98
|
-
color: @border-color-1;
|
99
|
-
}
|
1
|
+
@import 'antd/lib/select/style/index.less';
|
2
|
+
@import 'antd/lib/checkbox/style/index.less';
|
3
|
+
@import '../../style/theme.less';
|
4
|
+
@import '../../style/mixin.less';
|
5
|
+
|
6
|
+
.@{sdk-prefix}-selector {
|
7
|
+
width: 100%;
|
8
|
+
color: @font-color-7;
|
9
|
+
.@{ant-prefix}-select-selection {
|
10
|
+
background: @select-bg;
|
11
|
+
&:hover {
|
12
|
+
.@{ant-prefix}-select-selection__clear + .@{ant-prefix}-select-arrow {
|
13
|
+
opacity: 0;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
&.@{ant-prefix}-select-multiple {
|
18
|
+
.@{ant-prefix}-select-selection-item {
|
19
|
+
color: @font-color-6;
|
20
|
+
background: @select-selection-bg;
|
21
|
+
border: none;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
.@{ant-prefix}-select-selection-item-remove {
|
25
|
+
color: @font-disable-color;
|
26
|
+
}
|
27
|
+
.@{ant-prefix}-select-selection--single {
|
28
|
+
height: 32px;
|
29
|
+
}
|
30
|
+
.@{ant-prefix}-select-selection__rendered {
|
31
|
+
line-height: 30px;
|
32
|
+
}
|
33
|
+
.@{ant-prefix}-select-selection__clear {
|
34
|
+
background: @select-bg;
|
35
|
+
color: @font-color-6;
|
36
|
+
i {
|
37
|
+
color: inherit;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
.@{sdk-prefix}-selector-dropdown {
|
43
|
+
.@{ant-prefix}-select-dropdown-menu {
|
44
|
+
margin: 0;
|
45
|
+
.scrollbar();
|
46
|
+
}
|
47
|
+
.@{ant-prefix}-select-item-option-disabled {
|
48
|
+
color: @font-disable-color;
|
49
|
+
}
|
50
|
+
.@{ant-prefix}-select-item-option-selected {
|
51
|
+
color: @theme-color;
|
52
|
+
font-weight: 400;
|
53
|
+
}
|
54
|
+
.@{ant-prefix}-select-item-option:hover {
|
55
|
+
color: @theme-color;
|
56
|
+
}
|
57
|
+
|
58
|
+
.@{ant-prefix}-select-item-group {
|
59
|
+
color: @font-disable-color;
|
60
|
+
}
|
61
|
+
&.@{sdk-prefix}-selector-no-ellipsis {
|
62
|
+
.@{ant-prefix}-select-dropdown-menu {
|
63
|
+
display: inline-block;
|
64
|
+
min-width: 100%;
|
65
|
+
}
|
66
|
+
.@{ant-prefix}-select-dropdown-menu-item {
|
67
|
+
overflow: unset;
|
68
|
+
text-overflow: unset;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
.@{sdk-prefix}-selector-create-option {
|
73
|
+
color: @theme-color;
|
74
|
+
cursor: default;
|
75
|
+
&::before,
|
76
|
+
&::after {
|
77
|
+
content: none;
|
78
|
+
}
|
79
|
+
a {
|
80
|
+
color: @theme-color;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
.@{ant-prefix}-select-item-option-selected:not(.@{ant-prefix}-select-item-option-disabled)
|
84
|
+
.@{ant-prefix}-select-item-option-state {
|
85
|
+
.anticon-check {
|
86
|
+
&.anticon {
|
87
|
+
color: @theme-color;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
.@{sdk-prefix}-selector-create-lint {
|
94
|
+
display: block;
|
95
|
+
}
|
96
|
+
|
97
|
+
.@{sdk-prefix}-close-icon {
|
98
|
+
color: @border-color-1;
|
99
|
+
}
|
@@ -1,26 +1,26 @@
|
|
1
|
-
@import 'antd/lib/spin/style/index.less';
|
2
|
-
@import '../../style/theme.less';
|
3
|
-
|
4
|
-
.@{sdk-prefix}-spin-container {
|
5
|
-
position: relative;
|
6
|
-
width: 100%;
|
7
|
-
height: 100%;
|
8
|
-
.@{sdk-prefix}-spin-loading {
|
9
|
-
position: absolute;
|
10
|
-
width: 60px;
|
11
|
-
height: 60px;
|
12
|
-
top: 50%;
|
13
|
-
left: 50%;
|
14
|
-
transform: translate(-50%, -50%);
|
15
|
-
}
|
16
|
-
.@{ant-prefix}-spin-container {
|
17
|
-
height: 100%;
|
18
|
-
> div {
|
19
|
-
height: 100%;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
.@{sdk-prefix}-spin-hide {
|
25
|
-
visibility: hidden;
|
26
|
-
}
|
1
|
+
@import 'antd/lib/spin/style/index.less';
|
2
|
+
@import '../../style/theme.less';
|
3
|
+
|
4
|
+
.@{sdk-prefix}-spin-container {
|
5
|
+
position: relative;
|
6
|
+
width: 100%;
|
7
|
+
height: 100%;
|
8
|
+
.@{sdk-prefix}-spin-loading {
|
9
|
+
position: absolute;
|
10
|
+
width: 60px;
|
11
|
+
height: 60px;
|
12
|
+
top: 50%;
|
13
|
+
left: 50%;
|
14
|
+
transform: translate(-50%, -50%);
|
15
|
+
}
|
16
|
+
.@{ant-prefix}-spin-container {
|
17
|
+
height: 100%;
|
18
|
+
> div {
|
19
|
+
height: 100%;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
.@{sdk-prefix}-spin-hide {
|
25
|
+
visibility: hidden;
|
26
|
+
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
@import '../../../style/theme.less';
|
2
|
-
|
3
|
-
.@{sdk-prefix}-prev-button {
|
4
|
-
margin-right: 10px;
|
5
|
-
}
|
1
|
+
@import '../../../style/theme.less';
|
2
|
+
|
3
|
+
.@{sdk-prefix}-prev-button {
|
4
|
+
margin-right: 10px;
|
5
|
+
}
|
@@ -1,48 +1,48 @@
|
|
1
|
-
@import 'antd/lib/steps/style/index.less';
|
2
|
-
@import '../../style/theme.less';
|
3
|
-
|
4
|
-
.@{sdk-prefix}-steps {
|
5
|
-
.@{ant-prefix}-steps-item-icon {
|
6
|
-
width: 24px;
|
7
|
-
height: 24px;
|
8
|
-
font-size: 12px;
|
9
|
-
line-height: 24px;
|
10
|
-
.@{ant-prefix}-steps-icon {
|
11
|
-
font-size: 10px;
|
12
|
-
}
|
13
|
-
}
|
14
|
-
.@{ant-prefix}-steps-item:last-of-type {
|
15
|
-
.@{ant-prefix}-steps-item-title::after {
|
16
|
-
display: none;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
|
20
|
-
.@{ant-prefix}-steps-item-process .@{ant-prefix}-steps-item-title {
|
21
|
-
font-weight: 400;
|
22
|
-
}
|
23
|
-
|
24
|
-
.@{ant-prefix}-steps-item {
|
25
|
-
.@{ant-prefix}-steps-item-icon {
|
26
|
-
border-radius: 2px;
|
27
|
-
background: @theme-color;
|
28
|
-
border: none;
|
29
|
-
}
|
30
|
-
&.@{ant-prefix}-steps-item-finish {
|
31
|
-
.@{ant-prefix}-steps-item-icon {
|
32
|
-
.@{ant-prefix}-steps-icon {
|
33
|
-
color: @normal-color;
|
34
|
-
span.anticon.anticon-check.@{ant-prefix}-steps-finish-icon {
|
35
|
-
color: @normal-color;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
}
|
39
|
-
}
|
40
|
-
|
41
|
-
&.@{ant-prefix}-steps-item-wait .@{ant-prefix}-steps-item-icon {
|
42
|
-
background: @button-disabled-bg;
|
43
|
-
.@{ant-prefix}-steps-icon {
|
44
|
-
color: @icon-color;
|
45
|
-
}
|
46
|
-
}
|
47
|
-
}
|
48
|
-
}
|
1
|
+
@import 'antd/lib/steps/style/index.less';
|
2
|
+
@import '../../style/theme.less';
|
3
|
+
|
4
|
+
.@{sdk-prefix}-steps {
|
5
|
+
.@{ant-prefix}-steps-item-icon {
|
6
|
+
width: 24px;
|
7
|
+
height: 24px;
|
8
|
+
font-size: 12px;
|
9
|
+
line-height: 24px;
|
10
|
+
.@{ant-prefix}-steps-icon {
|
11
|
+
font-size: 10px;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
.@{ant-prefix}-steps-item:last-of-type {
|
15
|
+
.@{ant-prefix}-steps-item-title::after {
|
16
|
+
display: none;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
.@{ant-prefix}-steps-item-process .@{ant-prefix}-steps-item-title {
|
21
|
+
font-weight: 400;
|
22
|
+
}
|
23
|
+
|
24
|
+
.@{ant-prefix}-steps-item {
|
25
|
+
.@{ant-prefix}-steps-item-icon {
|
26
|
+
border-radius: 2px;
|
27
|
+
background: @theme-color;
|
28
|
+
border: none;
|
29
|
+
}
|
30
|
+
&.@{ant-prefix}-steps-item-finish {
|
31
|
+
.@{ant-prefix}-steps-item-icon {
|
32
|
+
.@{ant-prefix}-steps-icon {
|
33
|
+
color: @normal-color;
|
34
|
+
span.anticon.anticon-check.@{ant-prefix}-steps-finish-icon {
|
35
|
+
color: @normal-color;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
&.@{ant-prefix}-steps-item-wait .@{ant-prefix}-steps-item-icon {
|
42
|
+
background: @button-disabled-bg;
|
43
|
+
.@{ant-prefix}-steps-icon {
|
44
|
+
color: @icon-color;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
@@ -1,40 +1,40 @@
|
|
1
|
-
@import '../../../style/theme.less';
|
2
|
-
.@{sdk-prefix}-table-columnTag-groupTag {
|
3
|
-
padding: 4px;
|
4
|
-
height: 24px;
|
5
|
-
background: @theme-color-010;
|
6
|
-
margin-right: 4px;
|
7
|
-
color: @primary-color;
|
8
|
-
white-space: nowrap;
|
9
|
-
font-size: 12px;
|
10
|
-
margin-top: 4px;
|
11
|
-
}
|
12
|
-
|
13
|
-
.@{sdk-prefix}-table-columnTag-moreTagsIcon {
|
14
|
-
margin-left: 4px;
|
15
|
-
vertical-align: middle;
|
16
|
-
width: 14px;
|
17
|
-
height: 13px;
|
18
|
-
line-height: 6px;
|
19
|
-
border: 1px solid @icon-color;
|
20
|
-
padding: 0 1px;
|
21
|
-
text-align: center;
|
22
|
-
border-radius: 48%;
|
23
|
-
display: inline-block;
|
24
|
-
font-size: 12px;
|
25
|
-
font-weight: 400;
|
26
|
-
color: @icon-color;
|
27
|
-
cursor: pointer;
|
28
|
-
|
29
|
-
&:hover {
|
30
|
-
color: @theme-color;
|
31
|
-
border-color: @theme-color;
|
32
|
-
}
|
33
|
-
}
|
34
|
-
|
35
|
-
.@{sdk-prefix}-table-columnTag-tagPopoverContainer {
|
36
|
-
padding: 6px 10px 10px 10px;
|
37
|
-
display: flex;
|
38
|
-
flex-wrap: wrap;
|
39
|
-
width: 400px;
|
40
|
-
}
|
1
|
+
@import '../../../style/theme.less';
|
2
|
+
.@{sdk-prefix}-table-columnTag-groupTag {
|
3
|
+
padding: 4px;
|
4
|
+
height: 24px;
|
5
|
+
background: @theme-color-010;
|
6
|
+
margin-right: 4px;
|
7
|
+
color: @primary-color;
|
8
|
+
white-space: nowrap;
|
9
|
+
font-size: 12px;
|
10
|
+
margin-top: 4px;
|
11
|
+
}
|
12
|
+
|
13
|
+
.@{sdk-prefix}-table-columnTag-moreTagsIcon {
|
14
|
+
margin-left: 4px;
|
15
|
+
vertical-align: middle;
|
16
|
+
width: 14px;
|
17
|
+
height: 13px;
|
18
|
+
line-height: 6px;
|
19
|
+
border: 1px solid @icon-color;
|
20
|
+
padding: 0 1px;
|
21
|
+
text-align: center;
|
22
|
+
border-radius: 48%;
|
23
|
+
display: inline-block;
|
24
|
+
font-size: 12px;
|
25
|
+
font-weight: 400;
|
26
|
+
color: @icon-color;
|
27
|
+
cursor: pointer;
|
28
|
+
|
29
|
+
&:hover {
|
30
|
+
color: @theme-color;
|
31
|
+
border-color: @theme-color;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
.@{sdk-prefix}-table-columnTag-tagPopoverContainer {
|
36
|
+
padding: 6px 10px 10px 10px;
|
37
|
+
display: flex;
|
38
|
+
flex-wrap: wrap;
|
39
|
+
width: 400px;
|
40
|
+
}
|
@@ -66,7 +66,7 @@ import * as React from 'react';
|
|
66
66
|
import classnames from 'classnames';
|
67
67
|
import { observer } from 'mobx-react';
|
68
68
|
import { observable, action, computed } from 'mobx';
|
69
|
-
import { size, xor, union, unionBy, differenceBy, get } from 'lodash';
|
69
|
+
import { size, xor, union, unionBy, differenceBy, get, isEqual } from 'lodash';
|
70
70
|
import { Table as AntTable, Checkbox } from 'antd';
|
71
71
|
import { ConfigContext } from 'antd/es/config-provider';
|
72
72
|
import { EmptyIcon } from '@qn-pandora/pandora-component-icons';
|
@@ -89,10 +89,13 @@ var Table = /** @class */ (function (_super) {
|
|
89
89
|
Table.prototype.UNSAFE_componentWillReceiveProps = function (nextProps) {
|
90
90
|
var _this = this;
|
91
91
|
var rowSelection = nextProps.rowSelection, batchOptions = nextProps.batchOptions, selectedRows = nextProps.selectedRows, rowKey = nextProps.rowKey;
|
92
|
+
var lastRowSelection = this.props.rowSelection;
|
92
93
|
// 当数据源变化时, 更新当前页的状态
|
93
|
-
if (
|
94
|
-
|
95
|
-
|
94
|
+
if (rowSelection &&
|
95
|
+
batchOptions &&
|
96
|
+
(nextProps.dataSource !== this.props.dataSource ||
|
97
|
+
(lastRowSelection &&
|
98
|
+
!isEqual(lastRowSelection.selectedRowKeys, rowSelection.selectedRowKeys)))) {
|
96
99
|
var selectedRowKeys_1 = rowSelection.selectedRowKeys || [];
|
97
100
|
var dataSource = nextProps.dataSource;
|
98
101
|
var selectedRowKeysOfCurrentPage_1 = (dataSource || [])
|
@@ -267,7 +267,7 @@
|
|
267
267
|
}
|
268
268
|
.ant-table-tbody > tr.ant-table-row:hover > td,
|
269
269
|
.ant-table-tbody > tr > td.ant-table-cell-row-hover {
|
270
|
-
background: #
|
270
|
+
background: #f3f7fd;
|
271
271
|
}
|
272
272
|
.ant-table-tbody > tr.ant-table-row-selected > td {
|
273
273
|
background: #2c6dd2;
|
@@ -1574,10 +1574,10 @@ textarea.ant-pagination-options-quick-jumper input {
|
|
1574
1574
|
background: #ffffff;
|
1575
1575
|
}
|
1576
1576
|
.pandora-sdk-table-wrapper .ant-table-row:hover {
|
1577
|
-
background: #
|
1577
|
+
background: #f3f7fd;
|
1578
1578
|
}
|
1579
1579
|
.pandora-sdk-table-wrapper .ant-table-row-hover {
|
1580
|
-
background: #
|
1580
|
+
background: #f3f7fd;
|
1581
1581
|
}
|
1582
1582
|
.pandora-sdk-table-wrapper .ant-table-placeholder {
|
1583
1583
|
border: none;
|
@@ -1670,7 +1670,7 @@ textarea.ant-pagination-options-quick-jumper input {
|
|
1670
1670
|
max-height: 200px;
|
1671
1671
|
}
|
1672
1672
|
.pandora-sdk-table-wrapper .ant-table-tbody > tr.ant-table-row:hover > td {
|
1673
|
-
background-color: #
|
1673
|
+
background-color: #f3f7fd;
|
1674
1674
|
}
|
1675
1675
|
.pandora-sdk-table-wrapper .ant-table-filter-trigger {
|
1676
1676
|
display: block;
|