@jiaozhiye/qm-design-react 1.10.18 → 1.11.0
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/form/src/form.d.ts +2 -1
- package/lib/form/src/types.d.ts +5 -1
- package/lib/index.d.ts +4 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/lang/en.d.ts +4 -0
- package/lib/locale/lang/en.js +5 -1
- package/lib/locale/lang/zh-cn.d.ts +4 -0
- package/lib/locale/lang/zh-cn.js +5 -1
- package/lib/pivot-grid/index.d.ts +3 -0
- package/lib/pivot-grid/src/config/index.d.ts +9 -0
- package/lib/pivot-grid/src/grid-layout/Body.d.ts +3 -0
- package/lib/pivot-grid/src/grid-layout/Context.d.ts +20 -0
- package/lib/pivot-grid/src/grid-layout/CountPanel.d.ts +7 -0
- package/lib/pivot-grid/src/grid-layout/Footer.d.ts +3 -0
- package/lib/pivot-grid/src/grid-layout/GroupCard.d.ts +10 -0
- package/lib/pivot-grid/src/grid-layout/Header.d.ts +3 -0
- package/lib/pivot-grid/src/grid-layout/List.d.ts +7 -0
- package/lib/pivot-grid/src/grid-layout/ResizeBar.d.ts +7 -0
- package/lib/pivot-grid/src/grid-layout/index.d.ts +3 -0
- package/lib/pivot-grid/src/main/Context.d.ts +39 -0
- package/lib/pivot-grid/src/main/index.d.ts +3 -0
- package/lib/pivot-grid/src/main/types.d.ts +8 -0
- package/lib/pivot-grid/src/top-bar/FieldsPanel.d.ts +3 -0
- package/lib/pivot-grid/src/top-bar/FilterPanel.d.ts +3 -0
- package/lib/pivot-grid/src/top-bar/GroupPanel.d.ts +3 -0
- package/lib/pivot-grid/src/top-bar/LineHeightPanel.d.ts +3 -0
- package/lib/pivot-grid/src/top-bar/SearchPanel.d.ts +3 -0
- package/lib/pivot-grid/src/top-bar/SorterPanel.d.ts +3 -0
- package/lib/pivot-grid/src/top-bar/ViewMode.d.ts +3 -0
- package/lib/pivot-grid/src/top-bar/index.d.ts +3 -0
- package/lib/pivot-grid/src/utils/index.d.ts +2 -0
- package/lib/pivot-grid/style/grid-layout.less +234 -0
- package/lib/pivot-grid/style/index.less +10 -0
- package/lib/pivot-grid/style/main.less +43 -0
- package/lib/pivot-grid/style/top-bar.less +105 -0
- package/lib/pivot-grid/style/variable.less +9 -0
- package/lib/style/index.css +436 -3
- package/lib/style/index.less +2 -1
- package/lib/style/index.min.css +1 -1
- package/lib/table/src/body/DraggableTr.d.ts +26 -0
- package/lib/table/src/body/dragUtils.d.ts +43 -0
- package/lib/table/src/body/useDragSort.d.ts +24 -0
- package/lib/table/src/context/index.d.ts +1 -0
- package/lib/table/src/hooks/useTableMemo.d.ts +1 -0
- package/lib/table/src/pivot-grid/index.d.ts +7 -0
- package/lib/table/src/table/props.d.ts +3 -1
- package/lib/table/src/table/types.d.ts +6 -1
- package/lib/table/src/toolbox/index.d.ts +1 -0
- package/lib/table/style/body.less +103 -77
- package/lib/table/style/index.less +31 -30
- package/lib/table/style/pivot-grid.less +19 -0
- package/package.json +1 -1
package/lib/style/index.css
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: 焦质晔
|
|
3
3
|
* @Date: 2021-07-23 18:23:59
|
|
4
4
|
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time: 2024-
|
|
5
|
+
* @Last Modified time: 2024-11-28 20:01:15
|
|
6
6
|
*/
|
|
7
7
|
/*
|
|
8
8
|
* @Author: 焦质晔
|
|
@@ -28616,7 +28616,7 @@ body {
|
|
|
28616
28616
|
* @Author: 焦质晔
|
|
28617
28617
|
* @Date: 2021-07-23 19:05:57
|
|
28618
28618
|
* @Last Modified by: 焦质晔
|
|
28619
|
-
* @Last Modified time: 2024-
|
|
28619
|
+
* @Last Modified time: 2024-12-01 14:16:57
|
|
28620
28620
|
*/
|
|
28621
28621
|
/*
|
|
28622
28622
|
* @Author: 焦质晔
|
|
@@ -29151,6 +29151,25 @@ body {
|
|
|
29151
29151
|
margin-top: 10px;
|
|
29152
29152
|
border-top: 1px dashed #d9d9d9;
|
|
29153
29153
|
}
|
|
29154
|
+
/*
|
|
29155
|
+
* @Author: 焦质晔
|
|
29156
|
+
* @Date: 2024-12-01 14:16:05
|
|
29157
|
+
* @Last Modified by: 焦质晔
|
|
29158
|
+
* @Last Modified time: 2024-12-01 14:16:28
|
|
29159
|
+
*/
|
|
29160
|
+
.qm-table-pivot-grid {
|
|
29161
|
+
display: inline-block;
|
|
29162
|
+
padding: 5px 3px;
|
|
29163
|
+
line-height: 1;
|
|
29164
|
+
cursor: pointer;
|
|
29165
|
+
transition: all 0.3s ease;
|
|
29166
|
+
}
|
|
29167
|
+
.qm-table-pivot-grid .icon {
|
|
29168
|
+
font-size: 1.05em;
|
|
29169
|
+
}
|
|
29170
|
+
.qm-table-pivot-grid:hover {
|
|
29171
|
+
color: #1890ff;
|
|
29172
|
+
}
|
|
29154
29173
|
/*
|
|
29155
29174
|
* @Author: 焦质晔
|
|
29156
29175
|
* @Date: 2020-02-28 22:13:50
|
|
@@ -29777,8 +29796,32 @@ body {
|
|
|
29777
29796
|
* @Author: 焦质晔
|
|
29778
29797
|
* @Date: 2020-02-28 22:13:54
|
|
29779
29798
|
* @Last Modified by: 焦质晔
|
|
29780
|
-
* @Last Modified time:
|
|
29799
|
+
* @Last Modified time: 2024-12-01 18:48:00
|
|
29781
29800
|
*/
|
|
29801
|
+
.body--row-draggable {
|
|
29802
|
+
position: relative;
|
|
29803
|
+
}
|
|
29804
|
+
.body--row-draggable .drop-indicator {
|
|
29805
|
+
position: absolute;
|
|
29806
|
+
right: 0;
|
|
29807
|
+
bottom: 0;
|
|
29808
|
+
z-index: 5;
|
|
29809
|
+
height: 2px;
|
|
29810
|
+
background-color: #1890ff;
|
|
29811
|
+
border-radius: 1px;
|
|
29812
|
+
pointer-events: none;
|
|
29813
|
+
}
|
|
29814
|
+
.body--row-draggable .drop-indicator::after {
|
|
29815
|
+
position: absolute;
|
|
29816
|
+
top: -3px;
|
|
29817
|
+
left: 0;
|
|
29818
|
+
width: 8px;
|
|
29819
|
+
height: 8px;
|
|
29820
|
+
background-color: #fff;
|
|
29821
|
+
border: 2px solid #1890ff;
|
|
29822
|
+
border-radius: 50%;
|
|
29823
|
+
content: '';
|
|
29824
|
+
}
|
|
29782
29825
|
.body--column .cell--edit {
|
|
29783
29826
|
margin: 0 -9px;
|
|
29784
29827
|
}
|
|
@@ -30909,3 +30952,393 @@ body {
|
|
|
30909
30952
|
.qm-signature__popper .content .penColor .dot.active .icon {
|
|
30910
30953
|
display: block;
|
|
30911
30954
|
}
|
|
30955
|
+
/*
|
|
30956
|
+
* @Author: 焦质晔
|
|
30957
|
+
* @Date: 2024-11-28 19:27:58
|
|
30958
|
+
* @Last Modified by: 焦质晔
|
|
30959
|
+
* @Last Modified time: 2024-11-28 20:04:56
|
|
30960
|
+
*/
|
|
30961
|
+
/*
|
|
30962
|
+
* @Author: 焦质晔
|
|
30963
|
+
* @Date: 2020-02-28 21:58:58
|
|
30964
|
+
* @Last Modified by: 焦质晔
|
|
30965
|
+
* @Last Modified time: 2024-11-28 20:04:56
|
|
30966
|
+
*/
|
|
30967
|
+
/*
|
|
30968
|
+
* @Author: 焦质晔
|
|
30969
|
+
* @Date: 2022-03-16 19:05:30
|
|
30970
|
+
* @Last Modified by: 焦质晔
|
|
30971
|
+
* @Last Modified time: 2024-11-29 10:33:42
|
|
30972
|
+
*/
|
|
30973
|
+
.qm-pivot-grid__main {
|
|
30974
|
+
height: 100%;
|
|
30975
|
+
display: flex;
|
|
30976
|
+
flex-direction: column;
|
|
30977
|
+
}
|
|
30978
|
+
.qm-pivot-grid__main .top-bar {
|
|
30979
|
+
padding: 8px;
|
|
30980
|
+
border-bottom: 1px solid #e8e8e8;
|
|
30981
|
+
}
|
|
30982
|
+
.qm-pivot-grid__main .top-bar .action-btn {
|
|
30983
|
+
display: inline-flex;
|
|
30984
|
+
align-items: center;
|
|
30985
|
+
padding: 5px 12px;
|
|
30986
|
+
border-radius: 4px;
|
|
30987
|
+
cursor: pointer;
|
|
30988
|
+
transition: all 0.3s ease;
|
|
30989
|
+
}
|
|
30990
|
+
.qm-pivot-grid__main .top-bar .action-btn:hover,
|
|
30991
|
+
.qm-pivot-grid__main .top-bar .action-btn.active,
|
|
30992
|
+
.qm-pivot-grid__main .top-bar .action-btn.ant-dropdown-open {
|
|
30993
|
+
background-color: #f2f2f2;
|
|
30994
|
+
}
|
|
30995
|
+
.qm-pivot-grid__main .top-bar .action-btn .icon {
|
|
30996
|
+
margin-right: 6px;
|
|
30997
|
+
}
|
|
30998
|
+
.qm-pivot-grid__main .top-bar .ant-divider-vertical {
|
|
30999
|
+
margin: 0;
|
|
31000
|
+
height: 1.25em;
|
|
31001
|
+
}
|
|
31002
|
+
.qm-pivot-grid__main .wrapper {
|
|
31003
|
+
flex: auto;
|
|
31004
|
+
height: 0;
|
|
31005
|
+
padding: 10px;
|
|
31006
|
+
background-color: #f5f5f5;
|
|
31007
|
+
}
|
|
31008
|
+
/*
|
|
31009
|
+
* @Author: 焦质晔
|
|
31010
|
+
* @Date: 2022-03-16 19:05:30
|
|
31011
|
+
* @Last Modified by: 焦质晔
|
|
31012
|
+
* @Last Modified time: 2024-11-29 10:34:35
|
|
31013
|
+
*/
|
|
31014
|
+
.button-icon {
|
|
31015
|
+
display: inline-block;
|
|
31016
|
+
text-align: center;
|
|
31017
|
+
text-transform: none;
|
|
31018
|
+
text-decoration: none;
|
|
31019
|
+
background: transparent;
|
|
31020
|
+
border: 0;
|
|
31021
|
+
outline: 0;
|
|
31022
|
+
line-height: 0;
|
|
31023
|
+
padding: 5px;
|
|
31024
|
+
color: rgba(0, 0, 0, 0.45);
|
|
31025
|
+
border-radius: 4px;
|
|
31026
|
+
transition: background-color 0.3s ease;
|
|
31027
|
+
cursor: pointer;
|
|
31028
|
+
}
|
|
31029
|
+
.button-icon:not(.no-hover-bg):hover {
|
|
31030
|
+
background-color: #f2f2f2;
|
|
31031
|
+
}
|
|
31032
|
+
.qm-pivot-grid__popper .container {
|
|
31033
|
+
padding: 6px 15px;
|
|
31034
|
+
}
|
|
31035
|
+
.qm-pivot-grid__popper .container > .label {
|
|
31036
|
+
display: flex;
|
|
31037
|
+
justify-content: space-between;
|
|
31038
|
+
align-items: center;
|
|
31039
|
+
padding: 4px 0;
|
|
31040
|
+
}
|
|
31041
|
+
.qm-pivot-grid__popper .container > .list li.item {
|
|
31042
|
+
display: flex;
|
|
31043
|
+
align-items: center;
|
|
31044
|
+
margin: 6px 0;
|
|
31045
|
+
}
|
|
31046
|
+
.qm-pivot-grid__popper .container > .list li.item .icon {
|
|
31047
|
+
padding: 6px 2px;
|
|
31048
|
+
color: rgba(0, 0, 0, 0.45);
|
|
31049
|
+
cursor: pointer;
|
|
31050
|
+
}
|
|
31051
|
+
.qm-pivot-grid__popper .container > .list li.item .close {
|
|
31052
|
+
margin-left: 8px;
|
|
31053
|
+
font-size: 16px;
|
|
31054
|
+
padding: 8px;
|
|
31055
|
+
border-radius: 4px;
|
|
31056
|
+
transition: all 0.3s ease;
|
|
31057
|
+
}
|
|
31058
|
+
.qm-pivot-grid__popper .container > .list li.item .close:hover {
|
|
31059
|
+
background-color: #f2f2f2;
|
|
31060
|
+
}
|
|
31061
|
+
.qm-pivot-grid__popper .container > .list li.check-item {
|
|
31062
|
+
display: flex;
|
|
31063
|
+
align-items: center;
|
|
31064
|
+
justify-content: space-between;
|
|
31065
|
+
border-radius: 4px;
|
|
31066
|
+
}
|
|
31067
|
+
.qm-pivot-grid__popper .container > .list li.check-item.active .icon {
|
|
31068
|
+
display: block;
|
|
31069
|
+
}
|
|
31070
|
+
.qm-pivot-grid__popper .container > .list li.check-item .icon {
|
|
31071
|
+
color: #1890ff;
|
|
31072
|
+
display: none;
|
|
31073
|
+
}
|
|
31074
|
+
.qm-pivot-grid__popper .container > .add-record {
|
|
31075
|
+
display: flex;
|
|
31076
|
+
justify-content: space-between;
|
|
31077
|
+
align-items: center;
|
|
31078
|
+
padding: 10px 0 4px;
|
|
31079
|
+
}
|
|
31080
|
+
.qm-pivot-grid__popper .container > .add-record .insert {
|
|
31081
|
+
color: #69c0ff;
|
|
31082
|
+
cursor: pointer;
|
|
31083
|
+
}
|
|
31084
|
+
.qm-pivot-grid__popper .container > .add-record .insert .icon {
|
|
31085
|
+
margin-right: 4px;
|
|
31086
|
+
}
|
|
31087
|
+
.qm-pivot-grid__popper .container > .search .search-switch {
|
|
31088
|
+
display: inline-flex;
|
|
31089
|
+
align-items: center;
|
|
31090
|
+
margin-right: -7px;
|
|
31091
|
+
}
|
|
31092
|
+
.qm-pivot-grid__popper .container > .search .search-switch.disabled .btn {
|
|
31093
|
+
pointer-events: none;
|
|
31094
|
+
}
|
|
31095
|
+
.qm-pivot-grid__popper .container > .search .search-switch .num {
|
|
31096
|
+
margin: 0 4px;
|
|
31097
|
+
color: rgba(0, 0, 0, 0.45);
|
|
31098
|
+
line-height: 1;
|
|
31099
|
+
}
|
|
31100
|
+
/*
|
|
31101
|
+
* @Author: 焦质晔
|
|
31102
|
+
* @Date: 2022-03-16 19:05:30
|
|
31103
|
+
* @Last Modified by: 焦质晔
|
|
31104
|
+
* @Last Modified time: 2024-11-29 13:20:19
|
|
31105
|
+
*/
|
|
31106
|
+
.qm-pivot-grid__layout {
|
|
31107
|
+
box-sizing: border-box;
|
|
31108
|
+
margin: 0;
|
|
31109
|
+
padding: 0;
|
|
31110
|
+
color: rgba(0, 0, 0, 0.85);
|
|
31111
|
+
font-variant: tabular-nums;
|
|
31112
|
+
line-height: 1.5715;
|
|
31113
|
+
list-style: none;
|
|
31114
|
+
font-feature-settings: 'tnum';
|
|
31115
|
+
height: 100%;
|
|
31116
|
+
}
|
|
31117
|
+
.qm-pivot-grid__layout .header,
|
|
31118
|
+
.qm-pivot-grid__layout .footer {
|
|
31119
|
+
overflow: hidden;
|
|
31120
|
+
background-color: #fff;
|
|
31121
|
+
border: 1px solid #e8e8e8;
|
|
31122
|
+
border-radius: 6px;
|
|
31123
|
+
}
|
|
31124
|
+
.qm-pivot-grid__layout .header .table,
|
|
31125
|
+
.qm-pivot-grid__layout .footer .table {
|
|
31126
|
+
table-layout: fixed;
|
|
31127
|
+
display: contents;
|
|
31128
|
+
}
|
|
31129
|
+
.qm-pivot-grid__layout .header .table thead th,
|
|
31130
|
+
.qm-pivot-grid__layout .footer .table thead th,
|
|
31131
|
+
.qm-pivot-grid__layout .header .table tfoot td,
|
|
31132
|
+
.qm-pivot-grid__layout .footer .table tfoot td {
|
|
31133
|
+
text-align: left;
|
|
31134
|
+
font-weight: normal;
|
|
31135
|
+
border-right: 1px solid #e8e8e8;
|
|
31136
|
+
position: relative;
|
|
31137
|
+
}
|
|
31138
|
+
.qm-pivot-grid__layout .header .table thead th.selection-column,
|
|
31139
|
+
.qm-pivot-grid__layout .footer .table thead th.selection-column,
|
|
31140
|
+
.qm-pivot-grid__layout .header .table tfoot td.selection-column,
|
|
31141
|
+
.qm-pivot-grid__layout .footer .table tfoot td.selection-column {
|
|
31142
|
+
text-align: center;
|
|
31143
|
+
justify-content: center;
|
|
31144
|
+
border-right-color: transparent;
|
|
31145
|
+
}
|
|
31146
|
+
.qm-pivot-grid__layout .header {
|
|
31147
|
+
position: sticky;
|
|
31148
|
+
top: 0;
|
|
31149
|
+
z-index: 1;
|
|
31150
|
+
}
|
|
31151
|
+
.qm-pivot-grid__layout .header .resize-bar {
|
|
31152
|
+
position: absolute;
|
|
31153
|
+
top: 0;
|
|
31154
|
+
bottom: 0;
|
|
31155
|
+
right: -3px;
|
|
31156
|
+
width: 6px;
|
|
31157
|
+
z-index: 2;
|
|
31158
|
+
cursor: col-resize;
|
|
31159
|
+
}
|
|
31160
|
+
.qm-pivot-grid__layout .body {
|
|
31161
|
+
min-height: -moz-fit-content;
|
|
31162
|
+
min-height: fit-content;
|
|
31163
|
+
}
|
|
31164
|
+
.qm-pivot-grid__layout .body .group-card {
|
|
31165
|
+
margin: 15px 0;
|
|
31166
|
+
border: 1px solid #e8e8e8;
|
|
31167
|
+
border-radius: 6px;
|
|
31168
|
+
background-color: #fff;
|
|
31169
|
+
}
|
|
31170
|
+
.qm-pivot-grid__layout .body .group-card.inner {
|
|
31171
|
+
margin: 0 12px 12px;
|
|
31172
|
+
}
|
|
31173
|
+
.qm-pivot-grid__layout .body .group-card:has(.inner) > .label-row > .label-cell {
|
|
31174
|
+
border-bottom: 0;
|
|
31175
|
+
}
|
|
31176
|
+
.qm-pivot-grid__layout .body .group-card .label-row {
|
|
31177
|
+
display: flex;
|
|
31178
|
+
align-items: center;
|
|
31179
|
+
}
|
|
31180
|
+
.qm-pivot-grid__layout .body .group-card .label-row .label-cell {
|
|
31181
|
+
align-self: stretch;
|
|
31182
|
+
display: inline-flex;
|
|
31183
|
+
align-items: center;
|
|
31184
|
+
border-bottom: 1px solid #e8e8e8;
|
|
31185
|
+
}
|
|
31186
|
+
.qm-pivot-grid__layout .body .group-card .label-row .label-cell.expandable-column {
|
|
31187
|
+
justify-content: center;
|
|
31188
|
+
}
|
|
31189
|
+
.qm-pivot-grid__layout .body .group-card .label-row .label-cell.expandable-column .button-icon > .anticon {
|
|
31190
|
+
transition: transform 0.3s ease;
|
|
31191
|
+
}
|
|
31192
|
+
.qm-pivot-grid__layout .body .group-card .label-row .label-cell.expandable-column .button-icon.expand > .anticon {
|
|
31193
|
+
transform: rotate(90deg);
|
|
31194
|
+
}
|
|
31195
|
+
.qm-pivot-grid__layout .body .group-card .grid-list {
|
|
31196
|
+
margin: 0;
|
|
31197
|
+
border: 0;
|
|
31198
|
+
border-radius: 0;
|
|
31199
|
+
background: transparent;
|
|
31200
|
+
}
|
|
31201
|
+
.qm-pivot-grid__layout .body .grid-list {
|
|
31202
|
+
margin: 15px 0;
|
|
31203
|
+
border: 1px solid #e8e8e8;
|
|
31204
|
+
border-radius: 6px;
|
|
31205
|
+
background-color: #fff;
|
|
31206
|
+
}
|
|
31207
|
+
.qm-pivot-grid__layout .body .grid-list .table-row {
|
|
31208
|
+
display: flex;
|
|
31209
|
+
align-items: center;
|
|
31210
|
+
}
|
|
31211
|
+
.qm-pivot-grid__layout .body .grid-list .table-row:hover {
|
|
31212
|
+
background-color: #f5f5f5;
|
|
31213
|
+
}
|
|
31214
|
+
.qm-pivot-grid__layout .body .grid-list .table-row:hover .table-cell .order {
|
|
31215
|
+
display: none;
|
|
31216
|
+
}
|
|
31217
|
+
.qm-pivot-grid__layout .body .grid-list .table-row:hover .table-cell .checkbox {
|
|
31218
|
+
display: inline-flex;
|
|
31219
|
+
}
|
|
31220
|
+
.qm-pivot-grid__layout .body .grid-list .table-row.row--selection {
|
|
31221
|
+
background-color: #e6f7ff;
|
|
31222
|
+
}
|
|
31223
|
+
.qm-pivot-grid__layout .body .grid-list .table-row.row--selection .table-cell .order {
|
|
31224
|
+
display: none;
|
|
31225
|
+
}
|
|
31226
|
+
.qm-pivot-grid__layout .body .grid-list .table-row.row--selection .table-cell .checkbox {
|
|
31227
|
+
display: inline-flex;
|
|
31228
|
+
}
|
|
31229
|
+
.qm-pivot-grid__layout .body .grid-list .table-row .table-cell {
|
|
31230
|
+
align-self: stretch;
|
|
31231
|
+
display: inline-flex;
|
|
31232
|
+
align-items: center;
|
|
31233
|
+
border-right: 1px solid #e8e8e8;
|
|
31234
|
+
border-bottom: 1px solid #e8e8e8;
|
|
31235
|
+
}
|
|
31236
|
+
.qm-pivot-grid__layout .body .grid-list .table-row .table-cell:last-child {
|
|
31237
|
+
border-right: 0;
|
|
31238
|
+
}
|
|
31239
|
+
.qm-pivot-grid__layout .body .grid-list .table-row .table-cell.selection-column {
|
|
31240
|
+
justify-content: center;
|
|
31241
|
+
border-right-color: transparent;
|
|
31242
|
+
}
|
|
31243
|
+
.qm-pivot-grid__layout .body .grid-list .table-row .table-cell .order {
|
|
31244
|
+
display: inline-block;
|
|
31245
|
+
}
|
|
31246
|
+
.qm-pivot-grid__layout .body .grid-list .table-row .table-cell .checkbox {
|
|
31247
|
+
display: none;
|
|
31248
|
+
}
|
|
31249
|
+
.qm-pivot-grid__layout .body .grid-list .table-row:last-child .table-cell {
|
|
31250
|
+
border-bottom: 0;
|
|
31251
|
+
}
|
|
31252
|
+
.qm-pivot-grid__layout .footer {
|
|
31253
|
+
position: sticky;
|
|
31254
|
+
bottom: 0;
|
|
31255
|
+
z-index: 1;
|
|
31256
|
+
}
|
|
31257
|
+
.qm-pivot-grid__layout .header .table-cell.col--center,
|
|
31258
|
+
.qm-pivot-grid__layout .body .table-cell.col--center,
|
|
31259
|
+
.qm-pivot-grid__layout .footer .table-cell.col--center {
|
|
31260
|
+
text-align: center !important;
|
|
31261
|
+
justify-content: center;
|
|
31262
|
+
}
|
|
31263
|
+
.qm-pivot-grid__layout .header .table-cell.col--right,
|
|
31264
|
+
.qm-pivot-grid__layout .body .table-cell.col--right,
|
|
31265
|
+
.qm-pivot-grid__layout .footer .table-cell.col--right {
|
|
31266
|
+
text-align: right !important;
|
|
31267
|
+
justify-content: flex-end;
|
|
31268
|
+
}
|
|
31269
|
+
.qm-pivot-grid__layout .header .table-cell .cell,
|
|
31270
|
+
.qm-pivot-grid__layout .body .table-cell .cell,
|
|
31271
|
+
.qm-pivot-grid__layout .footer .table-cell .cell {
|
|
31272
|
+
overflow: hidden;
|
|
31273
|
+
text-overflow: ellipsis;
|
|
31274
|
+
white-space: nowrap;
|
|
31275
|
+
padding: 0 8px;
|
|
31276
|
+
}
|
|
31277
|
+
.qm-pivot-grid__layout .header .table-cell:hover .count-select,
|
|
31278
|
+
.qm-pivot-grid__layout .body .table-cell:hover .count-select,
|
|
31279
|
+
.qm-pivot-grid__layout .footer .table-cell:hover .count-select {
|
|
31280
|
+
visibility: visible;
|
|
31281
|
+
}
|
|
31282
|
+
.qm-pivot-grid__layout .header .count-select,
|
|
31283
|
+
.qm-pivot-grid__layout .body .count-select,
|
|
31284
|
+
.qm-pivot-grid__layout .footer .count-select {
|
|
31285
|
+
overflow: hidden;
|
|
31286
|
+
text-overflow: ellipsis;
|
|
31287
|
+
white-space: nowrap;
|
|
31288
|
+
display: inline-flex;
|
|
31289
|
+
align-items: center;
|
|
31290
|
+
justify-content: flex-end;
|
|
31291
|
+
height: 100%;
|
|
31292
|
+
width: 100%;
|
|
31293
|
+
padding: 0 8px;
|
|
31294
|
+
color: rgba(0, 0, 0, 0.45);
|
|
31295
|
+
cursor: pointer;
|
|
31296
|
+
visibility: hidden;
|
|
31297
|
+
}
|
|
31298
|
+
.qm-pivot-grid__layout .header .count-select:hover,
|
|
31299
|
+
.qm-pivot-grid__layout .body .count-select:hover,
|
|
31300
|
+
.qm-pivot-grid__layout .footer .count-select:hover,
|
|
31301
|
+
.qm-pivot-grid__layout .header .count-select.ant-dropdown-open,
|
|
31302
|
+
.qm-pivot-grid__layout .body .count-select.ant-dropdown-open,
|
|
31303
|
+
.qm-pivot-grid__layout .footer .count-select.ant-dropdown-open {
|
|
31304
|
+
visibility: visible;
|
|
31305
|
+
background-color: #f5f5f5;
|
|
31306
|
+
}
|
|
31307
|
+
.qm-pivot-grid__layout .header .count-select.show,
|
|
31308
|
+
.qm-pivot-grid__layout .body .count-select.show,
|
|
31309
|
+
.qm-pivot-grid__layout .footer .count-select.show {
|
|
31310
|
+
visibility: visible;
|
|
31311
|
+
}
|
|
31312
|
+
.qm-pivot-grid__layout .header .count-select .icon,
|
|
31313
|
+
.qm-pivot-grid__layout .body .count-select .icon,
|
|
31314
|
+
.qm-pivot-grid__layout .footer .count-select .icon {
|
|
31315
|
+
margin-left: 4px;
|
|
31316
|
+
}
|
|
31317
|
+
.qm-pivot-grid__layout .resize-line {
|
|
31318
|
+
position: absolute;
|
|
31319
|
+
left: -2px;
|
|
31320
|
+
top: 0;
|
|
31321
|
+
width: 2px;
|
|
31322
|
+
height: 100%;
|
|
31323
|
+
background-color: #1890ff;
|
|
31324
|
+
cursor: col-resize;
|
|
31325
|
+
z-index: 2;
|
|
31326
|
+
}
|
|
31327
|
+
.qm-pivot-grid__layout.small .header .table th,
|
|
31328
|
+
.qm-pivot-grid__layout.small .footer .table td,
|
|
31329
|
+
.qm-pivot-grid__layout.small .body .grid-list > li,
|
|
31330
|
+
.qm-pivot-grid__layout.small .body .group-card > li {
|
|
31331
|
+
height: 26px;
|
|
31332
|
+
}
|
|
31333
|
+
.qm-pivot-grid__layout.middle .header .table th,
|
|
31334
|
+
.qm-pivot-grid__layout.middle .footer .table td,
|
|
31335
|
+
.qm-pivot-grid__layout.middle .body .grid-list > li,
|
|
31336
|
+
.qm-pivot-grid__layout.middle .body .group-card > li {
|
|
31337
|
+
height: 34px;
|
|
31338
|
+
}
|
|
31339
|
+
.qm-pivot-grid__layout.large .header .table th,
|
|
31340
|
+
.qm-pivot-grid__layout.large .footer .table td,
|
|
31341
|
+
.qm-pivot-grid__layout.large .body .grid-list > li,
|
|
31342
|
+
.qm-pivot-grid__layout.large .body .group-card > li {
|
|
31343
|
+
height: 42px;
|
|
31344
|
+
}
|
package/lib/style/index.less
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: 焦质晔
|
|
3
3
|
* @Date: 2021-07-23 18:23:59
|
|
4
4
|
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time: 2024-
|
|
5
|
+
* @Last Modified time: 2024-11-28 20:01:15
|
|
6
6
|
*/
|
|
7
7
|
@import '../antd/index.less';
|
|
8
8
|
@import './var.less';
|
|
@@ -39,3 +39,4 @@
|
|
|
39
39
|
@import '../print/style/index.less';
|
|
40
40
|
@import '../lazy-load/style/index.less';
|
|
41
41
|
@import '../signature/style/index.less';
|
|
42
|
+
@import '../pivot-grid/style/index.less';
|