dcp-design-react 1.11.6 → 1.11.8

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.
@@ -31014,7 +31014,7 @@ body {
31014
31014
  * @Author: 焦质晔
31015
31015
  * @Date: 2022-03-16 19:05:30
31016
31016
  * @Last Modified by: 焦质晔
31017
- * @Last Modified time: 2024-12-04 09:17:17
31017
+ * @Last Modified time: 2024-12-13 14:07:07
31018
31018
  */
31019
31019
  .button-icon {
31020
31020
  display: inline-flex;
@@ -31136,11 +31136,17 @@ body {
31136
31136
  color: rgba(0, 0, 0, 0.45);
31137
31137
  line-height: 1;
31138
31138
  }
31139
+ .qm-pivot-grid__popper .ant-dropdown-menu-root {
31140
+ padding: 5px;
31141
+ }
31142
+ .qm-pivot-grid__popper .ant-dropdown-menu-root .ant-dropdown-menu-item {
31143
+ border-radius: 4px;
31144
+ }
31139
31145
  /*
31140
31146
  * @Author: 焦质晔
31141
31147
  * @Date: 2022-03-16 19:05:30
31142
31148
  * @Last Modified by: 焦质晔
31143
- * @Last Modified time: 2024-12-11 17:28:36
31149
+ * @Last Modified time: 2024-12-21 19:46:45
31144
31150
  */
31145
31151
  .qm-pivot-grid__layout {
31146
31152
  box-sizing: border-box;
@@ -31157,29 +31163,23 @@ body {
31157
31163
  }
31158
31164
  .qm-pivot-grid__layout .header,
31159
31165
  .qm-pivot-grid__layout .footer {
31160
- border: 1px solid #e8e8e8;
31161
- }
31162
- .qm-pivot-grid__layout .header .table,
31163
- .qm-pivot-grid__layout .footer .table {
31164
- table-layout: fixed;
31165
- display: contents;
31166
+ display: flex;
31167
+ flex-direction: row;
31166
31168
  }
31167
- .qm-pivot-grid__layout .header .table thead th,
31168
- .qm-pivot-grid__layout .footer .table thead th,
31169
- .qm-pivot-grid__layout .header .table tfoot td,
31170
- .qm-pivot-grid__layout .footer .table tfoot td {
31171
- text-align: left;
31172
- font-weight: normal;
31173
- border-right: 1px solid #e8e8e8;
31174
- position: relative;
31169
+ .qm-pivot-grid__layout .header .fixed-left,
31170
+ .qm-pivot-grid__layout .footer .fixed-left {
31171
+ position: sticky;
31172
+ left: 0;
31173
+ z-index: 1;
31174
+ display: flex;
31175
+ border-left: 1px solid #e8e8e8;
31176
+ border-bottom: 1px solid #e8e8e8;
31175
31177
  }
31176
- .qm-pivot-grid__layout .header .table thead th.selection-column,
31177
- .qm-pivot-grid__layout .footer .table thead th.selection-column,
31178
- .qm-pivot-grid__layout .header .table tfoot td.selection-column,
31179
- .qm-pivot-grid__layout .footer .table tfoot td.selection-column {
31180
- text-align: center;
31181
- justify-content: center;
31182
- border-right-color: transparent;
31178
+ .qm-pivot-grid__layout .header .no-fixed,
31179
+ .qm-pivot-grid__layout .footer .no-fixed {
31180
+ flex: 1 0;
31181
+ display: flex;
31182
+ border-bottom: 1px solid #e8e8e8;
31183
31183
  }
31184
31184
  .qm-pivot-grid__layout .header {
31185
31185
  position: sticky;
@@ -31187,7 +31187,9 @@ body {
31187
31187
  z-index: 2;
31188
31188
  }
31189
31189
  .qm-pivot-grid__layout .header .table-cell {
31190
+ position: relative;
31190
31191
  background-color: #d6f2ff !important;
31192
+ cursor: pointer;
31191
31193
  }
31192
31194
  .qm-pivot-grid__layout .header .resize-bar {
31193
31195
  position: absolute;
@@ -31199,90 +31201,11 @@ body {
31199
31201
  cursor: col-resize;
31200
31202
  }
31201
31203
  .qm-pivot-grid__layout .body {
31204
+ display: flex;
31205
+ flex-direction: row;
31202
31206
  min-height: -moz-fit-content;
31203
31207
  min-height: fit-content;
31204
31208
  }
31205
- .qm-pivot-grid__layout .body .group-card {
31206
- margin: 15px 0;
31207
- background-color: #fff;
31208
- border: 1px solid #e8e8e8;
31209
- }
31210
- .qm-pivot-grid__layout .body .group-card.inner {
31211
- margin: 0 12px 12px;
31212
- }
31213
- .qm-pivot-grid__layout .body .group-card:has(.inner) > .label-row > .label-cell {
31214
- border-bottom: 0;
31215
- }
31216
- .qm-pivot-grid__layout .body .group-card .label-row {
31217
- display: flex;
31218
- align-items: center;
31219
- }
31220
- .qm-pivot-grid__layout .body .group-card .label-row .label-cell {
31221
- align-self: stretch;
31222
- display: inline-flex;
31223
- align-items: center;
31224
- background-color: #fff;
31225
- border-bottom: 1px solid #e8e8e8;
31226
- }
31227
- .qm-pivot-grid__layout .body .group-card .label-row .label-cell.expandable-column {
31228
- justify-content: center;
31229
- }
31230
- .qm-pivot-grid__layout .body .group-card .label-row .label-cell.expandable-column .button-icon > .anticon {
31231
- transition: transform 0.3s ease;
31232
- }
31233
- .qm-pivot-grid__layout .body .group-card .label-row .label-cell.expandable-column .button-icon.expand > .anticon {
31234
- transform: rotate(90deg);
31235
- }
31236
- .qm-pivot-grid__layout .body .group-card .label-row .label-cell.col--fix-left {
31237
- position: sticky;
31238
- z-index: 1;
31239
- }
31240
- .qm-pivot-grid__layout .body .group-card .label-row .label-cell .title {
31241
- flex-shrink: 0;
31242
- margin-right: 20px;
31243
- font-weight: 700;
31244
- }
31245
- .qm-pivot-grid__layout .body .group-card .grid-list {
31246
- margin: 0;
31247
- border: 0;
31248
- background: transparent;
31249
- }
31250
- .qm-pivot-grid__layout .body .grid-list {
31251
- margin: 15px 0;
31252
- border: 1px solid #e8e8e8;
31253
- }
31254
- .qm-pivot-grid__layout .body .grid-list .table-row {
31255
- display: flex;
31256
- align-items: center;
31257
- }
31258
- .qm-pivot-grid__layout .body .grid-list .table-row:hover .table-cell {
31259
- background-color: #f5f5f5;
31260
- }
31261
- .qm-pivot-grid__layout .body .grid-list .table-row:hover .table-cell .order {
31262
- display: none;
31263
- }
31264
- .qm-pivot-grid__layout .body .grid-list .table-row:hover .table-cell .checkbox {
31265
- display: inline-flex;
31266
- }
31267
- .qm-pivot-grid__layout .body .grid-list .table-row.row--selection {
31268
- background-color: #e6f7ff;
31269
- }
31270
- .qm-pivot-grid__layout .body .grid-list .table-row.row--selection .table-cell .order {
31271
- display: none;
31272
- }
31273
- .qm-pivot-grid__layout .body .grid-list .table-row.row--selection .table-cell .checkbox {
31274
- display: inline-flex;
31275
- }
31276
- .qm-pivot-grid__layout .body .grid-list .table-row .table-cell {
31277
- align-self: stretch;
31278
- display: inline-flex;
31279
- align-items: center;
31280
- border-bottom: 1px solid #e8e8e8;
31281
- }
31282
- .qm-pivot-grid__layout .body .grid-list .table-row .table-cell.active {
31283
- box-shadow: inset 0 0 0 2px #1890ff;
31284
- background-color: #ffeb8c;
31285
- }
31286
31209
  .qm-pivot-grid__layout .footer {
31287
31210
  position: sticky;
31288
31211
  bottom: 0;
@@ -31291,13 +31214,12 @@ body {
31291
31214
  .qm-pivot-grid__layout .header .table-cell,
31292
31215
  .qm-pivot-grid__layout .body .table-cell,
31293
31216
  .qm-pivot-grid__layout .footer .table-cell {
31294
- background-color: #fff;
31217
+ align-self: stretch;
31218
+ display: inline-flex;
31219
+ align-items: center;
31220
+ border-top: 1px solid #e8e8e8;
31295
31221
  border-right: 1px solid #e8e8e8;
31296
- }
31297
- .qm-pivot-grid__layout .header .table-cell:last-child,
31298
- .qm-pivot-grid__layout .body .table-cell:last-child,
31299
- .qm-pivot-grid__layout .footer .table-cell:last-child {
31300
- border-right: 0;
31222
+ background-color: #fff;
31301
31223
  }
31302
31224
  .qm-pivot-grid__layout .header .table-cell.selection-column,
31303
31225
  .qm-pivot-grid__layout .body .table-cell.selection-column,
@@ -31318,13 +31240,13 @@ body {
31318
31240
  .qm-pivot-grid__layout .header .table-cell.col--center,
31319
31241
  .qm-pivot-grid__layout .body .table-cell.col--center,
31320
31242
  .qm-pivot-grid__layout .footer .table-cell.col--center {
31321
- text-align: center !important;
31243
+ text-align: center;
31322
31244
  justify-content: center;
31323
31245
  }
31324
31246
  .qm-pivot-grid__layout .header .table-cell.col--right,
31325
31247
  .qm-pivot-grid__layout .body .table-cell.col--right,
31326
31248
  .qm-pivot-grid__layout .footer .table-cell.col--right {
31327
- text-align: right !important;
31249
+ text-align: right;
31328
31250
  justify-content: flex-end;
31329
31251
  }
31330
31252
  .qm-pivot-grid__layout .header .table-cell.col--fix-left,
@@ -31333,6 +31255,17 @@ body {
31333
31255
  position: sticky;
31334
31256
  z-index: 1;
31335
31257
  }
31258
+ .qm-pivot-grid__layout .header .table-cell.col--checked,
31259
+ .qm-pivot-grid__layout .body .table-cell.col--checked,
31260
+ .qm-pivot-grid__layout .footer .table-cell.col--checked {
31261
+ background-color: #e6f7ff;
31262
+ }
31263
+ .qm-pivot-grid__layout .header .table-cell.active,
31264
+ .qm-pivot-grid__layout .body .table-cell.active,
31265
+ .qm-pivot-grid__layout .footer .table-cell.active {
31266
+ box-shadow: inset 0 0 0 2px #1890ff;
31267
+ background-color: #ffeb8c;
31268
+ }
31336
31269
  .qm-pivot-grid__layout .header .table-cell .cell,
31337
31270
  .qm-pivot-grid__layout .body .table-cell .cell,
31338
31271
  .qm-pivot-grid__layout .footer .table-cell .cell {
@@ -31341,6 +31274,11 @@ body {
31341
31274
  white-space: nowrap;
31342
31275
  padding: 0 8px;
31343
31276
  }
31277
+ .qm-pivot-grid__layout .header .table-cell .cell.indent,
31278
+ .qm-pivot-grid__layout .body .table-cell .cell.indent,
31279
+ .qm-pivot-grid__layout .footer .table-cell .cell.indent {
31280
+ padding-left: 16px;
31281
+ }
31344
31282
  .qm-pivot-grid__layout .header .label-cell:hover .count-select,
31345
31283
  .qm-pivot-grid__layout .body .label-cell:hover .count-select,
31346
31284
  .qm-pivot-grid__layout .footer .label-cell:hover .count-select,
@@ -31394,22 +31332,114 @@ body {
31394
31332
  cursor: col-resize;
31395
31333
  z-index: 2;
31396
31334
  }
31397
- .qm-pivot-grid__layout.small .header .table th,
31398
- .qm-pivot-grid__layout.small .footer .table td,
31399
- .qm-pivot-grid__layout.small .body .grid-list > li,
31400
- .qm-pivot-grid__layout.small .body .group-card > li {
31335
+ .qm-pivot-grid__layout .fixed-line {
31336
+ position: absolute;
31337
+ left: -1px;
31338
+ top: 0;
31339
+ width: 0;
31340
+ height: 100%;
31341
+ border-left: 1px solid #91d5ff;
31342
+ z-index: 2;
31343
+ pointer-events: none;
31344
+ }
31345
+ .qm-pivot-grid__layout .left-panel {
31346
+ position: sticky;
31347
+ left: 0;
31348
+ z-index: 1;
31349
+ }
31350
+ .qm-pivot-grid__layout .left-panel .group-label {
31351
+ border-right: 0 !important;
31352
+ }
31353
+ .qm-pivot-grid__layout .main-panel {
31354
+ flex: 1 0;
31355
+ z-index: 0;
31356
+ }
31357
+ .qm-pivot-grid__layout .main-panel .group-label,
31358
+ .qm-pivot-grid__layout .main-panel .row-item {
31359
+ border-left: 0 !important;
31360
+ }
31361
+ .qm-pivot-grid__layout .container {
31362
+ position: relative;
31363
+ left: 0;
31364
+ top: 0;
31365
+ }
31366
+ .qm-pivot-grid__layout .container .group-label {
31367
+ position: absolute;
31368
+ border: 1px solid #e8e8e8;
31369
+ background-color: #fff;
31370
+ }
31371
+ .qm-pivot-grid__layout .container .group-label .label-row {
31372
+ display: flex;
31373
+ align-items: center;
31374
+ }
31375
+ .qm-pivot-grid__layout .container .group-label .label-cell {
31376
+ align-self: stretch;
31377
+ display: inline-flex;
31378
+ align-items: center;
31379
+ }
31380
+ .qm-pivot-grid__layout .container .group-label .label-cell.expandable-column {
31381
+ justify-content: center;
31382
+ }
31383
+ .qm-pivot-grid__layout .container .group-label .label-cell.expandable-column .button-icon > .anticon {
31384
+ transition: transform 0.3s ease;
31385
+ }
31386
+ .qm-pivot-grid__layout .container .group-label .label-cell.expandable-column .button-icon.expand > .anticon {
31387
+ transform: rotate(90deg);
31388
+ }
31389
+ .qm-pivot-grid__layout .container .group-label .label-cell.col--fix-left {
31390
+ position: sticky;
31391
+ z-index: 1;
31392
+ }
31393
+ .qm-pivot-grid__layout .container .group-label .label-cell .title {
31394
+ flex-shrink: 0;
31395
+ margin-right: 20px;
31396
+ font-weight: 700;
31397
+ }
31398
+ .qm-pivot-grid__layout .container .row-item {
31399
+ position: absolute;
31400
+ border-left: 1px solid #e8e8e8;
31401
+ }
31402
+ .qm-pivot-grid__layout .container .row-item.last .table-cell {
31403
+ border-bottom: 1px solid #e8e8e8;
31404
+ }
31405
+ .qm-pivot-grid__layout .container .row-item .table-row {
31406
+ display: flex;
31407
+ align-items: center;
31408
+ height: inherit;
31409
+ }
31410
+ .qm-pivot-grid__layout .container .row-item .table-row.row--hover .table-cell,
31411
+ .qm-pivot-grid__layout .container .row-item .table-row.row--selection .table-cell {
31412
+ background-color: #f5f5f5;
31413
+ }
31414
+ .qm-pivot-grid__layout .container .row-item .table-row.row--hover .table-cell .order,
31415
+ .qm-pivot-grid__layout .container .row-item .table-row.row--selection .table-cell .order {
31416
+ display: none;
31417
+ }
31418
+ .qm-pivot-grid__layout .container .row-item .table-row.row--hover .table-cell .checkbox,
31419
+ .qm-pivot-grid__layout .container .row-item .table-row.row--selection .table-cell .checkbox {
31420
+ display: inline-flex;
31421
+ }
31422
+ .qm-pivot-grid__layout .container .row-item .table-row .cell--expand {
31423
+ display: inline-flex;
31424
+ padding: 4px;
31425
+ font-size: 13px;
31426
+ color: rgba(0, 0, 0, 0.45);
31427
+ cursor: pointer;
31428
+ transition: transform 0.3s ease;
31429
+ }
31430
+ .qm-pivot-grid__layout .container .row-item .table-row .cell--expand.fold {
31431
+ transform: rotate(-90deg);
31432
+ }
31433
+ .qm-pivot-grid__layout.small .label-row,
31434
+ .qm-pivot-grid__layout.small .table-cell {
31401
31435
  height: 26px;
31402
31436
  }
31403
- .qm-pivot-grid__layout.middle .header .table th,
31404
- .qm-pivot-grid__layout.middle .footer .table td,
31405
- .qm-pivot-grid__layout.middle .body .grid-list > li,
31406
- .qm-pivot-grid__layout.middle .body .group-card > li {
31437
+ .qm-pivot-grid__layout.middle .label-row,
31438
+ .qm-pivot-grid__layout.middle .table-cell {
31407
31439
  height: 34px;
31408
31440
  }
31409
- .qm-pivot-grid__layout.large .header .table th,
31410
- .qm-pivot-grid__layout.large .footer .table td,
31411
- .qm-pivot-grid__layout.large .body .grid-list > li,
31412
- .qm-pivot-grid__layout.large .body .group-card > li {
31441
+ .qm-pivot-grid__layout.large .label-row,
31442
+ .qm-pivot-grid__layout.large .table-cell {
31413
31443
  height: 42px;
31414
31444
  }
31415
31445
  /*