@jiaozhiye/qm-design-react 1.11.17 → 1.11.19
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/types.d.ts +7 -12
- package/lib/form/src/utils.d.ts +1 -4
- 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 +6 -2
- package/lib/locale/lang/en.js +8 -4
- package/lib/locale/lang/zh-cn.d.ts +6 -2
- package/lib/locale/lang/zh-cn.js +8 -4
- package/lib/pivot-grid/src/grid-layout/Context.d.ts +10 -2
- package/lib/pivot-grid/src/grid-layout/LeftPanel.d.ts +1 -0
- package/lib/pivot-grid/src/grid-layout/MainPanel.d.ts +1 -0
- package/lib/pivot-grid/src/main/Context.d.ts +1 -1
- package/lib/pivot-grid/src/utils/index.d.ts +1 -1
- package/lib/pivot-grid/style/grid-layout.less +93 -5
- package/lib/pivot-grid/style/main.less +1 -1
- package/lib/print/src/setting.d.ts +5 -4
- package/lib/search-tree/style/index.less +35 -34
- package/lib/style/index.css +154 -47
- package/lib/style/index.min.css +1 -1
- package/lib/table/src/context/index.d.ts +2 -1
- package/lib/table/src/hooks/useTableLayout.d.ts +0 -1
- package/lib/table/src/hooks/useTableRef.d.ts +0 -3
- package/lib/table/src/hooks/useTableState.d.ts +4 -1
- package/lib/table/src/table/types.d.ts +7 -0
- package/lib/table/style/fast-search.less +150 -108
- package/lib/table/style/table.less +375 -377
- package/lib/table/style/variable.less +51 -50
- package/lib/transition/src/tools.d.ts +2 -2
- package/lib/virtual-list/style/index.less +0 -1
- package/package.json +2 -2
- package/lib/pivot-grid/src/grid-layout/GroupCard.d.ts +0 -11
package/lib/style/index.css
CHANGED
|
@@ -29081,33 +29081,72 @@ body {
|
|
|
29081
29081
|
}
|
|
29082
29082
|
.qm-table-fast-search__setting .main {
|
|
29083
29083
|
display: flex;
|
|
29084
|
-
flex-direction:
|
|
29084
|
+
flex-direction: row;
|
|
29085
29085
|
height: 100%;
|
|
29086
29086
|
}
|
|
29087
|
-
.qm-table-fast-search__setting .main .
|
|
29088
|
-
display: flex;
|
|
29087
|
+
.qm-table-fast-search__setting .main .container {
|
|
29089
29088
|
flex: 1;
|
|
29090
|
-
|
|
29089
|
+
min-width: 0;
|
|
29090
|
+
display: flex;
|
|
29091
|
+
flex-direction: column;
|
|
29092
|
+
}
|
|
29093
|
+
.qm-table-fast-search__setting .main .container .search-box {
|
|
29094
|
+
display: flex;
|
|
29095
|
+
align-items: center;
|
|
29096
|
+
}
|
|
29097
|
+
.qm-table-fast-search__setting .main .container .search-box .label {
|
|
29098
|
+
width: 100px;
|
|
29099
|
+
}
|
|
29100
|
+
.qm-table-fast-search__setting .main .container .condition {
|
|
29101
|
+
margin-top: 10px;
|
|
29102
|
+
margin-bottom: 10px;
|
|
29103
|
+
}
|
|
29104
|
+
.qm-table-fast-search__setting .main .container .all-list {
|
|
29105
|
+
flex: 1 0;
|
|
29106
|
+
min-height: 0;
|
|
29091
29107
|
overflow-y: auto;
|
|
29092
29108
|
}
|
|
29093
|
-
.qm-table-fast-search__setting .main .
|
|
29094
|
-
|
|
29095
|
-
|
|
29109
|
+
.qm-table-fast-search__setting .main .container .all-list .rtable {
|
|
29110
|
+
width: 100%;
|
|
29111
|
+
border: 1px solid #e8e8e8;
|
|
29096
29112
|
}
|
|
29097
|
-
.qm-table-fast-search__setting .main .
|
|
29098
|
-
|
|
29113
|
+
.qm-table-fast-search__setting .main .container .all-list .rtable thead {
|
|
29114
|
+
position: sticky;
|
|
29115
|
+
top: 0;
|
|
29099
29116
|
}
|
|
29100
|
-
.qm-table-fast-search__setting .main .
|
|
29101
|
-
|
|
29117
|
+
.qm-table-fast-search__setting .main .container .all-list .rtable thead th {
|
|
29118
|
+
background-color: #fafafa;
|
|
29119
|
+
height: 30px;
|
|
29120
|
+
text-align: center;
|
|
29121
|
+
}
|
|
29122
|
+
.qm-table-fast-search__setting .main .container .all-list .rtable tbody tr.active td {
|
|
29123
|
+
background-color: #e6f7ff;
|
|
29124
|
+
color: #1890ff;
|
|
29125
|
+
}
|
|
29126
|
+
.qm-table-fast-search__setting .main .container .all-list .rtable tbody tr:hover td {
|
|
29127
|
+
text-decoration: underline;
|
|
29128
|
+
}
|
|
29129
|
+
.qm-table-fast-search__setting .main .container .all-list .rtable tbody tr td {
|
|
29130
|
+
height: 30px;
|
|
29131
|
+
text-align: center;
|
|
29132
|
+
border-top: 1px solid #e8e8e8;
|
|
29133
|
+
cursor: pointer;
|
|
29134
|
+
overflow: hidden;
|
|
29135
|
+
text-overflow: ellipsis;
|
|
29136
|
+
white-space: nowrap;
|
|
29137
|
+
max-width: 0;
|
|
29138
|
+
}
|
|
29139
|
+
.qm-table-fast-search__setting .main .saved {
|
|
29140
|
+
width: 240px;
|
|
29102
29141
|
}
|
|
29103
|
-
.qm-table-fast-search__setting .main .
|
|
29142
|
+
.qm-table-fast-search__setting .main .saved .form-wrap {
|
|
29104
29143
|
display: flex;
|
|
29105
29144
|
}
|
|
29106
|
-
.qm-table-fast-search__setting .main .
|
|
29145
|
+
.qm-table-fast-search__setting .main .saved .card-wrap {
|
|
29107
29146
|
margin-top: 10px;
|
|
29108
29147
|
border: 1px solid #e8e8e8;
|
|
29109
29148
|
}
|
|
29110
|
-
.qm-table-fast-search__setting .main .
|
|
29149
|
+
.qm-table-fast-search__setting .main .saved .card-wrap > h5 {
|
|
29111
29150
|
display: flex;
|
|
29112
29151
|
align-items: center;
|
|
29113
29152
|
font-size: inherit;
|
|
@@ -29117,10 +29156,10 @@ body {
|
|
|
29117
29156
|
border-bottom: 1px solid #e8e8e8;
|
|
29118
29157
|
background-color: #fafafa;
|
|
29119
29158
|
}
|
|
29120
|
-
.qm-table-fast-search__setting .main .
|
|
29159
|
+
.qm-table-fast-search__setting .main .saved .card-wrap > ul {
|
|
29121
29160
|
margin-bottom: 0;
|
|
29122
29161
|
}
|
|
29123
|
-
.qm-table-fast-search__setting .main .
|
|
29162
|
+
.qm-table-fast-search__setting .main .saved .card-wrap > ul li {
|
|
29124
29163
|
display: flex;
|
|
29125
29164
|
align-items: center;
|
|
29126
29165
|
position: relative;
|
|
@@ -29129,38 +29168,35 @@ body {
|
|
|
29129
29168
|
cursor: pointer;
|
|
29130
29169
|
transition: all 0.3s ease;
|
|
29131
29170
|
}
|
|
29132
|
-
.qm-table-fast-search__setting .main .
|
|
29171
|
+
.qm-table-fast-search__setting .main .saved .card-wrap > ul li:last-of-type {
|
|
29133
29172
|
border-bottom: 0;
|
|
29134
29173
|
}
|
|
29135
|
-
.qm-table-fast-search__setting .main .
|
|
29174
|
+
.qm-table-fast-search__setting .main .saved .card-wrap > ul li:hover {
|
|
29136
29175
|
background-color: #f5f5f5;
|
|
29137
29176
|
}
|
|
29138
|
-
.qm-table-fast-search__setting .main .
|
|
29177
|
+
.qm-table-fast-search__setting .main .saved .card-wrap > ul li:hover .close {
|
|
29139
29178
|
visibility: visible;
|
|
29140
29179
|
}
|
|
29141
|
-
.qm-table-fast-search__setting .main .
|
|
29180
|
+
.qm-table-fast-search__setting .main .saved .card-wrap > ul li.selected {
|
|
29142
29181
|
background-color: #bae7ff;
|
|
29143
29182
|
}
|
|
29144
|
-
.qm-table-fast-search__setting .main .
|
|
29183
|
+
.qm-table-fast-search__setting .main .saved .card-wrap > ul li .title i {
|
|
29145
29184
|
margin-right: 5px;
|
|
29146
29185
|
}
|
|
29147
|
-
.qm-table-fast-search__setting .main .
|
|
29186
|
+
.qm-table-fast-search__setting .main .saved .card-wrap > ul li .close {
|
|
29148
29187
|
position: absolute;
|
|
29149
29188
|
right: 10px;
|
|
29150
29189
|
visibility: hidden;
|
|
29151
29190
|
}
|
|
29152
|
-
.qm-table-fast-search__setting .main .
|
|
29191
|
+
.qm-table-fast-search__setting .main .line {
|
|
29153
29192
|
border-left: 1px dashed #d9d9d9;
|
|
29154
29193
|
padding-left: 10px;
|
|
29155
29194
|
margin-left: 10px;
|
|
29156
29195
|
}
|
|
29157
|
-
.qm-table-fast-search__setting .
|
|
29196
|
+
.qm-table-fast-search__setting .bottom-bar {
|
|
29158
29197
|
display: flex;
|
|
29159
29198
|
justify-content: space-between;
|
|
29160
29199
|
align-items: center;
|
|
29161
|
-
padding: 10px 5px;
|
|
29162
|
-
margin-top: 10px;
|
|
29163
|
-
border-top: 1px dashed #d9d9d9;
|
|
29164
29200
|
}
|
|
29165
29201
|
/*
|
|
29166
29202
|
* @Author: 焦质晔
|
|
@@ -29328,7 +29364,6 @@ body {
|
|
|
29328
29364
|
/* body 填充元素 */
|
|
29329
29365
|
/* 列宽线 */
|
|
29330
29366
|
/* 边框线 */
|
|
29331
|
-
/* 溢出列 */
|
|
29332
29367
|
/* 弹出层 */
|
|
29333
29368
|
}
|
|
29334
29369
|
.qm-table:before,
|
|
@@ -29367,7 +29402,6 @@ body {
|
|
|
29367
29402
|
overflow-x: auto;
|
|
29368
29403
|
}
|
|
29369
29404
|
.qm-table--body-wrapper .virtual-container {
|
|
29370
|
-
contain: paint;
|
|
29371
29405
|
will-change: margin-top, margin-left;
|
|
29372
29406
|
}
|
|
29373
29407
|
.qm-table.c--resize {
|
|
@@ -29416,6 +29450,16 @@ body {
|
|
|
29416
29450
|
.qm-table .footer--column {
|
|
29417
29451
|
position: relative;
|
|
29418
29452
|
text-align: left;
|
|
29453
|
+
/* 溢出列 */
|
|
29454
|
+
}
|
|
29455
|
+
.qm-table .header--column.col--ellipsis .cell,
|
|
29456
|
+
.qm-table .body--column.col--ellipsis .cell,
|
|
29457
|
+
.qm-table .footer--column.col--ellipsis .cell {
|
|
29458
|
+
overflow: hidden;
|
|
29459
|
+
text-overflow: ellipsis;
|
|
29460
|
+
white-space: nowrap;
|
|
29461
|
+
word-break: break-all;
|
|
29462
|
+
white-space: pre;
|
|
29419
29463
|
}
|
|
29420
29464
|
.qm-table .header--column:not(.col--ellipsis),
|
|
29421
29465
|
.qm-table .body--column:not(.col--ellipsis),
|
|
@@ -29437,6 +29481,12 @@ body {
|
|
|
29437
29481
|
.qm-table .footer--column.col--right:not(.header--column) {
|
|
29438
29482
|
text-align: right;
|
|
29439
29483
|
}
|
|
29484
|
+
.qm-table .header--column.col-active,
|
|
29485
|
+
.qm-table .body--column.col-active,
|
|
29486
|
+
.qm-table .footer--column.col-active {
|
|
29487
|
+
box-shadow: inset 0 0 0 2px #1890ff;
|
|
29488
|
+
background-color: rgba(250, 173, 20, 0.3) !important;
|
|
29489
|
+
}
|
|
29440
29490
|
.qm-table .header--column .cell,
|
|
29441
29491
|
.qm-table .body--column .cell,
|
|
29442
29492
|
.qm-table .footer--column .cell {
|
|
@@ -29624,15 +29674,6 @@ body {
|
|
|
29624
29674
|
right: 0;
|
|
29625
29675
|
border-right: 1px solid #e8e8e8;
|
|
29626
29676
|
}
|
|
29627
|
-
.qm-table .header--column.col--ellipsis .cell,
|
|
29628
|
-
.qm-table .body--column.col--ellipsis .cell,
|
|
29629
|
-
.qm-table .footer--column.col--ellipsis .cell {
|
|
29630
|
-
overflow: hidden;
|
|
29631
|
-
text-overflow: ellipsis;
|
|
29632
|
-
white-space: nowrap;
|
|
29633
|
-
word-break: break-all;
|
|
29634
|
-
white-space: pre;
|
|
29635
|
-
}
|
|
29636
29677
|
.qm-table__popper {
|
|
29637
29678
|
padding: 10px;
|
|
29638
29679
|
}
|
|
@@ -30235,6 +30276,7 @@ body {
|
|
|
30235
30276
|
margin-bottom: 8px;
|
|
30236
30277
|
}
|
|
30237
30278
|
.qm-search-tree .topper .trigger {
|
|
30279
|
+
flex-shrink: 0;
|
|
30238
30280
|
margin-left: 8px;
|
|
30239
30281
|
margin-bottom: 8px;
|
|
30240
30282
|
}
|
|
@@ -30994,7 +31036,7 @@ body {
|
|
|
30994
31036
|
}
|
|
30995
31037
|
.qm-pivot-grid:not(.is-from-table) {
|
|
30996
31038
|
border: 1px solid #e8e8e8;
|
|
30997
|
-
border-radius:
|
|
31039
|
+
border-radius: 6px;
|
|
30998
31040
|
}
|
|
30999
31041
|
.qm-pivot-grid .top-bar {
|
|
31000
31042
|
display: flex;
|
|
@@ -31218,12 +31260,28 @@ body {
|
|
|
31218
31260
|
display: flex;
|
|
31219
31261
|
border-left: 1px solid #e8e8e8;
|
|
31220
31262
|
border-bottom: 1px solid #e8e8e8;
|
|
31263
|
+
box-shadow: -5px 0px 0 0px #f5f5f5;
|
|
31264
|
+
}
|
|
31265
|
+
.qm-pivot-grid__layout .header .fixed-left,
|
|
31266
|
+
.qm-pivot-grid__layout .footer .fixed-left,
|
|
31267
|
+
.qm-pivot-grid__layout .header .fixed-left .table-cell:first-child,
|
|
31268
|
+
.qm-pivot-grid__layout .footer .fixed-left .table-cell:first-child {
|
|
31269
|
+
border-top-left-radius: 8px;
|
|
31270
|
+
border-bottom-left-radius: 8px;
|
|
31221
31271
|
}
|
|
31222
31272
|
.qm-pivot-grid__layout .header .no-fixed,
|
|
31223
31273
|
.qm-pivot-grid__layout .footer .no-fixed {
|
|
31224
31274
|
flex: 1 0;
|
|
31225
31275
|
display: flex;
|
|
31226
31276
|
border-bottom: 1px solid #e8e8e8;
|
|
31277
|
+
box-shadow: 5px 0px 0 0px #f5f5f5;
|
|
31278
|
+
}
|
|
31279
|
+
.qm-pivot-grid__layout .header .no-fixed,
|
|
31280
|
+
.qm-pivot-grid__layout .footer .no-fixed,
|
|
31281
|
+
.qm-pivot-grid__layout .header .no-fixed .table-cell:last-child,
|
|
31282
|
+
.qm-pivot-grid__layout .footer .no-fixed .table-cell:last-child {
|
|
31283
|
+
border-top-right-radius: 8px;
|
|
31284
|
+
border-bottom-right-radius: 8px;
|
|
31227
31285
|
}
|
|
31228
31286
|
.qm-pivot-grid__layout .header {
|
|
31229
31287
|
position: sticky;
|
|
@@ -31232,7 +31290,7 @@ body {
|
|
|
31232
31290
|
}
|
|
31233
31291
|
.qm-pivot-grid__layout .header .table-cell {
|
|
31234
31292
|
position: relative;
|
|
31235
|
-
background-color: #
|
|
31293
|
+
background-color: #d7f0ff !important;
|
|
31236
31294
|
cursor: pointer;
|
|
31237
31295
|
}
|
|
31238
31296
|
.qm-pivot-grid__layout .header .resize-bar {
|
|
@@ -31351,11 +31409,6 @@ body {
|
|
|
31351
31409
|
white-space: nowrap;
|
|
31352
31410
|
padding: 0 8px;
|
|
31353
31411
|
}
|
|
31354
|
-
.qm-pivot-grid__layout .header .table-cell .cell.indent,
|
|
31355
|
-
.qm-pivot-grid__layout .body .table-cell .cell.indent,
|
|
31356
|
-
.qm-pivot-grid__layout .footer .table-cell .cell.indent {
|
|
31357
|
-
padding-left: 16px;
|
|
31358
|
-
}
|
|
31359
31412
|
.qm-pivot-grid__layout .header .label-cell:hover .count-select,
|
|
31360
31413
|
.qm-pivot-grid__layout .body .label-cell:hover .count-select,
|
|
31361
31414
|
.qm-pivot-grid__layout .footer .label-cell:hover .count-select,
|
|
@@ -31419,6 +31472,20 @@ body {
|
|
|
31419
31472
|
z-index: 2;
|
|
31420
31473
|
pointer-events: none;
|
|
31421
31474
|
}
|
|
31475
|
+
.qm-pivot-grid__layout .fixed-line::after {
|
|
31476
|
+
content: '';
|
|
31477
|
+
position: absolute;
|
|
31478
|
+
top: 0;
|
|
31479
|
+
right: 0;
|
|
31480
|
+
bottom: -1px;
|
|
31481
|
+
width: 20px;
|
|
31482
|
+
transform: translateX(100%);
|
|
31483
|
+
transition: box-shadow 0.3s;
|
|
31484
|
+
pointer-events: none;
|
|
31485
|
+
}
|
|
31486
|
+
.qm-pivot-grid__layout .fixed-line.active::after {
|
|
31487
|
+
box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, 0.15);
|
|
31488
|
+
}
|
|
31422
31489
|
.qm-pivot-grid__layout .left-panel {
|
|
31423
31490
|
position: sticky;
|
|
31424
31491
|
left: 0;
|
|
@@ -31426,6 +31493,27 @@ body {
|
|
|
31426
31493
|
}
|
|
31427
31494
|
.qm-pivot-grid__layout .left-panel .group-label {
|
|
31428
31495
|
border-right: 0 !important;
|
|
31496
|
+
border-top-left-radius: 8px;
|
|
31497
|
+
border-bottom-left-radius: 8px;
|
|
31498
|
+
}
|
|
31499
|
+
.qm-pivot-grid__layout .left-panel .group-label.level0 {
|
|
31500
|
+
box-shadow: -5px 0px 0 0px #f5f5f5;
|
|
31501
|
+
}
|
|
31502
|
+
.qm-pivot-grid__layout .left-panel .row-item:nth-of-type(1) {
|
|
31503
|
+
border-top-left-radius: 8px;
|
|
31504
|
+
box-shadow: -5px 0px 0 0px #f5f5f5;
|
|
31505
|
+
}
|
|
31506
|
+
.qm-pivot-grid__layout .left-panel .row-item:nth-of-type(1) .table-cell:first-child {
|
|
31507
|
+
border-top-left-radius: 8px;
|
|
31508
|
+
}
|
|
31509
|
+
.qm-pivot-grid__layout .left-panel .row-item.last {
|
|
31510
|
+
border-bottom-left-radius: 8px;
|
|
31511
|
+
}
|
|
31512
|
+
.qm-pivot-grid__layout .left-panel .row-item.last .table-cell:first-child {
|
|
31513
|
+
border-bottom-left-radius: 8px;
|
|
31514
|
+
}
|
|
31515
|
+
.qm-pivot-grid__layout .left-panel .no-group .row-item:last-child {
|
|
31516
|
+
box-shadow: -5px 0px 0 0px #f5f5f5;
|
|
31429
31517
|
}
|
|
31430
31518
|
.qm-pivot-grid__layout .main-panel {
|
|
31431
31519
|
flex: 1 0;
|
|
@@ -31435,6 +31523,22 @@ body {
|
|
|
31435
31523
|
.qm-pivot-grid__layout .main-panel .row-item {
|
|
31436
31524
|
border-left: 0 !important;
|
|
31437
31525
|
}
|
|
31526
|
+
.qm-pivot-grid__layout .main-panel .group-label {
|
|
31527
|
+
border-top-right-radius: 8px;
|
|
31528
|
+
border-bottom-right-radius: 8px;
|
|
31529
|
+
}
|
|
31530
|
+
.qm-pivot-grid__layout .main-panel .row-item:nth-of-type(1) {
|
|
31531
|
+
border-top-right-radius: 8px;
|
|
31532
|
+
}
|
|
31533
|
+
.qm-pivot-grid__layout .main-panel .row-item:nth-of-type(1) .table-cell:last-child {
|
|
31534
|
+
border-top-right-radius: 8px;
|
|
31535
|
+
}
|
|
31536
|
+
.qm-pivot-grid__layout .main-panel .row-item.last {
|
|
31537
|
+
border-bottom-right-radius: 8px;
|
|
31538
|
+
}
|
|
31539
|
+
.qm-pivot-grid__layout .main-panel .row-item.last .table-cell:last-child {
|
|
31540
|
+
border-bottom-right-radius: 8px;
|
|
31541
|
+
}
|
|
31438
31542
|
.qm-pivot-grid__layout .container {
|
|
31439
31543
|
position: relative;
|
|
31440
31544
|
left: 0;
|
|
@@ -31470,7 +31574,11 @@ body {
|
|
|
31470
31574
|
.qm-pivot-grid__layout .container .group-label .label-cell .title {
|
|
31471
31575
|
flex-shrink: 0;
|
|
31472
31576
|
margin-right: 20px;
|
|
31473
|
-
font-weight:
|
|
31577
|
+
font-weight: 600;
|
|
31578
|
+
}
|
|
31579
|
+
.qm-pivot-grid__layout .container .group-label .label-cell .title .empty {
|
|
31580
|
+
color: rgba(0, 0, 0, 0.45);
|
|
31581
|
+
font-weight: 400;
|
|
31474
31582
|
}
|
|
31475
31583
|
.qm-pivot-grid__layout .container .row-item {
|
|
31476
31584
|
position: absolute;
|
|
@@ -31572,7 +31680,6 @@ body {
|
|
|
31572
31680
|
display: block;
|
|
31573
31681
|
}
|
|
31574
31682
|
.qm-virtual-list .container ul {
|
|
31575
|
-
contain: paint;
|
|
31576
31683
|
will-change: transform;
|
|
31577
31684
|
}
|
|
31578
31685
|
.qm-virtual-list .container ul li.list-item {
|