@jiaozhiye/qm-design-react 1.11.0 → 1.11.2
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/_utils/util.d.ts +2 -2
- 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/pivot-grid/src/config/index.d.ts +2 -5
- package/lib/pivot-grid/src/grid-layout/Context.d.ts +5 -2
- package/lib/pivot-grid/src/grid-layout/CountPanel.d.ts +2 -0
- package/lib/pivot-grid/src/grid-layout/GroupCard.d.ts +2 -1
- package/lib/pivot-grid/src/utils/index.d.ts +28 -1
- package/lib/pivot-grid/style/grid-layout.less +239 -234
- package/lib/pivot-grid/style/variable.less +7 -9
- package/lib/style/index.css +65 -25
- package/lib/style/index.less +43 -42
- package/lib/style/index.min.css +1 -1
- package/lib/table/src/body/useDragSort.d.ts +4 -1
- package/lib/virtual-list/index.d.ts +3 -0
- package/lib/virtual-list/src/core.d.ts +133 -0
- package/lib/virtual-list/src/list-item.d.ts +8 -0
- package/lib/virtual-list/src/useVirtual.d.ts +5 -0
- package/lib/virtual-list/src/utils.d.ts +12 -0
- package/lib/virtual-list/src/virtual-list.d.ts +19 -0
- package/lib/virtual-list/style/index.less +16 -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-12-02 09:06:40
|
|
6
6
|
*/
|
|
7
7
|
/*
|
|
8
8
|
* @Author: 焦质晔
|
|
@@ -31101,7 +31101,7 @@ body {
|
|
|
31101
31101
|
* @Author: 焦质晔
|
|
31102
31102
|
* @Date: 2022-03-16 19:05:30
|
|
31103
31103
|
* @Last Modified by: 焦质晔
|
|
31104
|
-
* @Last Modified time: 2024-
|
|
31104
|
+
* @Last Modified time: 2024-12-02 20:51:13
|
|
31105
31105
|
*/
|
|
31106
31106
|
.qm-pivot-grid__layout {
|
|
31107
31107
|
box-sizing: border-box;
|
|
@@ -31116,10 +31116,7 @@ body {
|
|
|
31116
31116
|
}
|
|
31117
31117
|
.qm-pivot-grid__layout .header,
|
|
31118
31118
|
.qm-pivot-grid__layout .footer {
|
|
31119
|
-
overflow: hidden;
|
|
31120
|
-
background-color: #fff;
|
|
31121
31119
|
border: 1px solid #e8e8e8;
|
|
31122
|
-
border-radius: 6px;
|
|
31123
31120
|
}
|
|
31124
31121
|
.qm-pivot-grid__layout .header .table,
|
|
31125
31122
|
.qm-pivot-grid__layout .footer .table {
|
|
@@ -31146,7 +31143,7 @@ body {
|
|
|
31146
31143
|
.qm-pivot-grid__layout .header {
|
|
31147
31144
|
position: sticky;
|
|
31148
31145
|
top: 0;
|
|
31149
|
-
z-index:
|
|
31146
|
+
z-index: 2;
|
|
31150
31147
|
}
|
|
31151
31148
|
.qm-pivot-grid__layout .header .resize-bar {
|
|
31152
31149
|
position: absolute;
|
|
@@ -31163,9 +31160,8 @@ body {
|
|
|
31163
31160
|
}
|
|
31164
31161
|
.qm-pivot-grid__layout .body .group-card {
|
|
31165
31162
|
margin: 15px 0;
|
|
31166
|
-
border: 1px solid #e8e8e8;
|
|
31167
|
-
border-radius: 6px;
|
|
31168
31163
|
background-color: #fff;
|
|
31164
|
+
border: 1px solid #e8e8e8;
|
|
31169
31165
|
}
|
|
31170
31166
|
.qm-pivot-grid__layout .body .group-card.inner {
|
|
31171
31167
|
margin: 0 12px 12px;
|
|
@@ -31181,6 +31177,7 @@ body {
|
|
|
31181
31177
|
align-self: stretch;
|
|
31182
31178
|
display: inline-flex;
|
|
31183
31179
|
align-items: center;
|
|
31180
|
+
background-color: #fff;
|
|
31184
31181
|
border-bottom: 1px solid #e8e8e8;
|
|
31185
31182
|
}
|
|
31186
31183
|
.qm-pivot-grid__layout .body .group-card .label-row .label-cell.expandable-column {
|
|
@@ -31192,23 +31189,28 @@ body {
|
|
|
31192
31189
|
.qm-pivot-grid__layout .body .group-card .label-row .label-cell.expandable-column .button-icon.expand > .anticon {
|
|
31193
31190
|
transform: rotate(90deg);
|
|
31194
31191
|
}
|
|
31192
|
+
.qm-pivot-grid__layout .body .group-card .label-row .label-cell.col--fix-left {
|
|
31193
|
+
position: sticky;
|
|
31194
|
+
z-index: 1;
|
|
31195
|
+
}
|
|
31196
|
+
.qm-pivot-grid__layout .body .group-card .label-row .label-cell .title {
|
|
31197
|
+
flex-shrink: 0;
|
|
31198
|
+
margin-right: 20px;
|
|
31199
|
+
}
|
|
31195
31200
|
.qm-pivot-grid__layout .body .group-card .grid-list {
|
|
31196
31201
|
margin: 0;
|
|
31197
31202
|
border: 0;
|
|
31198
|
-
border-radius: 0;
|
|
31199
31203
|
background: transparent;
|
|
31200
31204
|
}
|
|
31201
31205
|
.qm-pivot-grid__layout .body .grid-list {
|
|
31202
31206
|
margin: 15px 0;
|
|
31203
31207
|
border: 1px solid #e8e8e8;
|
|
31204
|
-
border-radius: 6px;
|
|
31205
|
-
background-color: #fff;
|
|
31206
31208
|
}
|
|
31207
31209
|
.qm-pivot-grid__layout .body .grid-list .table-row {
|
|
31208
31210
|
display: flex;
|
|
31209
31211
|
align-items: center;
|
|
31210
31212
|
}
|
|
31211
|
-
.qm-pivot-grid__layout .body .grid-list .table-row:hover {
|
|
31213
|
+
.qm-pivot-grid__layout .body .grid-list .table-row:hover .table-cell {
|
|
31212
31214
|
background-color: #f5f5f5;
|
|
31213
31215
|
}
|
|
31214
31216
|
.qm-pivot-grid__layout .body .grid-list .table-row:hover .table-cell .order {
|
|
@@ -31230,30 +31232,40 @@ body {
|
|
|
31230
31232
|
align-self: stretch;
|
|
31231
31233
|
display: inline-flex;
|
|
31232
31234
|
align-items: center;
|
|
31233
|
-
border-right: 1px solid #e8e8e8;
|
|
31234
31235
|
border-bottom: 1px solid #e8e8e8;
|
|
31235
31236
|
}
|
|
31236
|
-
.qm-pivot-grid__layout .
|
|
31237
|
+
.qm-pivot-grid__layout .footer {
|
|
31238
|
+
position: sticky;
|
|
31239
|
+
bottom: 0;
|
|
31240
|
+
z-index: 2;
|
|
31241
|
+
}
|
|
31242
|
+
.qm-pivot-grid__layout .header .table-cell,
|
|
31243
|
+
.qm-pivot-grid__layout .body .table-cell,
|
|
31244
|
+
.qm-pivot-grid__layout .footer .table-cell {
|
|
31245
|
+
background-color: #fff;
|
|
31246
|
+
border-right: 1px solid #e8e8e8;
|
|
31247
|
+
}
|
|
31248
|
+
.qm-pivot-grid__layout .header .table-cell:last-child,
|
|
31249
|
+
.qm-pivot-grid__layout .body .table-cell:last-child,
|
|
31250
|
+
.qm-pivot-grid__layout .footer .table-cell:last-child {
|
|
31237
31251
|
border-right: 0;
|
|
31238
31252
|
}
|
|
31239
|
-
.qm-pivot-grid__layout .
|
|
31253
|
+
.qm-pivot-grid__layout .header .table-cell.selection-column,
|
|
31254
|
+
.qm-pivot-grid__layout .body .table-cell.selection-column,
|
|
31255
|
+
.qm-pivot-grid__layout .footer .table-cell.selection-column {
|
|
31240
31256
|
justify-content: center;
|
|
31241
31257
|
border-right-color: transparent;
|
|
31242
31258
|
}
|
|
31243
|
-
.qm-pivot-grid__layout .
|
|
31259
|
+
.qm-pivot-grid__layout .header .table-cell .order,
|
|
31260
|
+
.qm-pivot-grid__layout .body .table-cell .order,
|
|
31261
|
+
.qm-pivot-grid__layout .footer .table-cell .order {
|
|
31244
31262
|
display: inline-block;
|
|
31245
31263
|
}
|
|
31246
|
-
.qm-pivot-grid__layout .
|
|
31264
|
+
.qm-pivot-grid__layout .header .table-cell .checkbox,
|
|
31265
|
+
.qm-pivot-grid__layout .body .table-cell .checkbox,
|
|
31266
|
+
.qm-pivot-grid__layout .footer .table-cell .checkbox {
|
|
31247
31267
|
display: none;
|
|
31248
31268
|
}
|
|
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
31269
|
.qm-pivot-grid__layout .header .table-cell.col--center,
|
|
31258
31270
|
.qm-pivot-grid__layout .body .table-cell.col--center,
|
|
31259
31271
|
.qm-pivot-grid__layout .footer .table-cell.col--center {
|
|
@@ -31266,6 +31278,12 @@ body {
|
|
|
31266
31278
|
text-align: right !important;
|
|
31267
31279
|
justify-content: flex-end;
|
|
31268
31280
|
}
|
|
31281
|
+
.qm-pivot-grid__layout .header .table-cell.col--fix-left,
|
|
31282
|
+
.qm-pivot-grid__layout .body .table-cell.col--fix-left,
|
|
31283
|
+
.qm-pivot-grid__layout .footer .table-cell.col--fix-left {
|
|
31284
|
+
position: sticky;
|
|
31285
|
+
z-index: 1;
|
|
31286
|
+
}
|
|
31269
31287
|
.qm-pivot-grid__layout .header .table-cell .cell,
|
|
31270
31288
|
.qm-pivot-grid__layout .body .table-cell .cell,
|
|
31271
31289
|
.qm-pivot-grid__layout .footer .table-cell .cell {
|
|
@@ -31274,6 +31292,9 @@ body {
|
|
|
31274
31292
|
white-space: nowrap;
|
|
31275
31293
|
padding: 0 8px;
|
|
31276
31294
|
}
|
|
31295
|
+
.qm-pivot-grid__layout .header .label-cell:hover .count-select,
|
|
31296
|
+
.qm-pivot-grid__layout .body .label-cell:hover .count-select,
|
|
31297
|
+
.qm-pivot-grid__layout .footer .label-cell:hover .count-select,
|
|
31277
31298
|
.qm-pivot-grid__layout .header .table-cell:hover .count-select,
|
|
31278
31299
|
.qm-pivot-grid__layout .body .table-cell:hover .count-select,
|
|
31279
31300
|
.qm-pivot-grid__layout .footer .table-cell:hover .count-select {
|
|
@@ -31342,3 +31363,22 @@ body {
|
|
|
31342
31363
|
.qm-pivot-grid__layout.large .body .group-card > li {
|
|
31343
31364
|
height: 42px;
|
|
31344
31365
|
}
|
|
31366
|
+
/*
|
|
31367
|
+
* @Author: 焦质晔
|
|
31368
|
+
* @Date: 2024-12-02 09:06:20
|
|
31369
|
+
* @Last Modified by: 焦质晔
|
|
31370
|
+
* @Last Modified time: 2024-12-02 13:16:55
|
|
31371
|
+
*/
|
|
31372
|
+
.qm-virtual-list {
|
|
31373
|
+
box-sizing: border-box;
|
|
31374
|
+
margin: 0;
|
|
31375
|
+
padding: 0;
|
|
31376
|
+
color: rgba(0, 0, 0, 0.85);
|
|
31377
|
+
font-variant: tabular-nums;
|
|
31378
|
+
line-height: 1.5715;
|
|
31379
|
+
list-style: none;
|
|
31380
|
+
font-feature-settings: 'tnum';
|
|
31381
|
+
}
|
|
31382
|
+
.qm-virtual-list .list-item {
|
|
31383
|
+
list-style: none;
|
|
31384
|
+
}
|
package/lib/style/index.less
CHANGED
|
@@ -1,42 +1,43 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: 焦质晔
|
|
3
|
-
* @Date: 2021-07-23 18:23:59
|
|
4
|
-
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time: 2024-
|
|
6
|
-
*/
|
|
7
|
-
@import '../antd/index.less';
|
|
8
|
-
@import './var.less';
|
|
9
|
-
@import './reset.less';
|
|
10
|
-
|
|
11
|
-
/* QmDesign */
|
|
12
|
-
@import '../button/style/index.less';
|
|
13
|
-
@import '../space/style/index.less';
|
|
14
|
-
@import '../divider/style/index.less';
|
|
15
|
-
@import '../split/style/index.less';
|
|
16
|
-
@import '../countup/style/index.less';
|
|
17
|
-
@import '../empty/style/index.less';
|
|
18
|
-
@import '../spin/style/index.less';
|
|
19
|
-
@import '../scrollbar/style/index.less';
|
|
20
|
-
@import '../download/style/index.less';
|
|
21
|
-
@import '../anchor/style/index.less';
|
|
22
|
-
@import '../tabs/style/index.less';
|
|
23
|
-
@import '../drawer/style/index.less';
|
|
24
|
-
@import '../modal/style/index.less';
|
|
25
|
-
@import '../form/style/index.less';
|
|
26
|
-
@import '../tinymce/style/index.less';
|
|
27
|
-
@import '../cropper/style/index.less';
|
|
28
|
-
@import '../collapse/style/index.less';
|
|
29
|
-
@import '../upload-file/style/index.less';
|
|
30
|
-
@import '../upload-img/style/index.less';
|
|
31
|
-
@import '../table/style/index.less';
|
|
32
|
-
@import '../search-helper/style/index.less';
|
|
33
|
-
@import '../tree-helper/style/index.less';
|
|
34
|
-
@import '../tree-table-helper/style/index.less';
|
|
35
|
-
@import '../range-table-helper/style/index.less';
|
|
36
|
-
@import '../search-tree/style/index.less';
|
|
37
|
-
@import '../tour/style/index.less';
|
|
38
|
-
@import '../guide-tracker/style/index.less';
|
|
39
|
-
@import '../print/style/index.less';
|
|
40
|
-
@import '../lazy-load/style/index.less';
|
|
41
|
-
@import '../signature/style/index.less';
|
|
42
|
-
@import '../pivot-grid/style/index.less';
|
|
1
|
+
/*
|
|
2
|
+
* @Author: 焦质晔
|
|
3
|
+
* @Date: 2021-07-23 18:23:59
|
|
4
|
+
* @Last Modified by: 焦质晔
|
|
5
|
+
* @Last Modified time: 2024-12-02 09:06:40
|
|
6
|
+
*/
|
|
7
|
+
@import '../antd/index.less';
|
|
8
|
+
@import './var.less';
|
|
9
|
+
@import './reset.less';
|
|
10
|
+
|
|
11
|
+
/* QmDesign */
|
|
12
|
+
@import '../button/style/index.less';
|
|
13
|
+
@import '../space/style/index.less';
|
|
14
|
+
@import '../divider/style/index.less';
|
|
15
|
+
@import '../split/style/index.less';
|
|
16
|
+
@import '../countup/style/index.less';
|
|
17
|
+
@import '../empty/style/index.less';
|
|
18
|
+
@import '../spin/style/index.less';
|
|
19
|
+
@import '../scrollbar/style/index.less';
|
|
20
|
+
@import '../download/style/index.less';
|
|
21
|
+
@import '../anchor/style/index.less';
|
|
22
|
+
@import '../tabs/style/index.less';
|
|
23
|
+
@import '../drawer/style/index.less';
|
|
24
|
+
@import '../modal/style/index.less';
|
|
25
|
+
@import '../form/style/index.less';
|
|
26
|
+
@import '../tinymce/style/index.less';
|
|
27
|
+
@import '../cropper/style/index.less';
|
|
28
|
+
@import '../collapse/style/index.less';
|
|
29
|
+
@import '../upload-file/style/index.less';
|
|
30
|
+
@import '../upload-img/style/index.less';
|
|
31
|
+
@import '../table/style/index.less';
|
|
32
|
+
@import '../search-helper/style/index.less';
|
|
33
|
+
@import '../tree-helper/style/index.less';
|
|
34
|
+
@import '../tree-table-helper/style/index.less';
|
|
35
|
+
@import '../range-table-helper/style/index.less';
|
|
36
|
+
@import '../search-tree/style/index.less';
|
|
37
|
+
@import '../tour/style/index.less';
|
|
38
|
+
@import '../guide-tracker/style/index.less';
|
|
39
|
+
@import '../print/style/index.less';
|
|
40
|
+
@import '../lazy-load/style/index.less';
|
|
41
|
+
@import '../signature/style/index.less';
|
|
42
|
+
@import '../pivot-grid/style/index.less';
|
|
43
|
+
@import '../virtual-list/style/index.less';
|