@jiaozhiye/qm-design-react 1.9.20 → 1.9.22

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.
@@ -10,6 +10,7 @@ type IProps = {
10
10
  wrapClassName?: string;
11
11
  wrapStyle?: CSSProperties;
12
12
  barWidth?: number;
13
+ showTopScrollbar?: boolean;
13
14
  always?: boolean;
14
15
  minSize?: number;
15
16
  native?: boolean;
@@ -7,6 +7,7 @@ export type IThumbOption = {
7
7
  type IProps = {
8
8
  thumb: IThumbOption;
9
9
  direction?: 'horizontal' | 'vertical';
10
+ className?: string;
10
11
  barSize?: number;
11
12
  always?: boolean;
12
13
  onDrag?: (value: boolean) => void;
@@ -40,6 +40,10 @@
40
40
  &.is-horizontal {
41
41
  height: 6px;
42
42
  left: 2px;
43
+ &.top {
44
+ top: 2px;
45
+ bottom: auto;
46
+ }
43
47
  & > div {
44
48
  height: 100%;
45
49
  }
@@ -27516,6 +27516,10 @@ table {
27516
27516
  height: 6px;
27517
27517
  left: 2px;
27518
27518
  }
27519
+ .qm-scrollbar__bar.is-horizontal.top {
27520
+ top: 2px;
27521
+ bottom: auto;
27522
+ }
27519
27523
  .qm-scrollbar__bar.is-horizontal > div {
27520
27524
  height: 100%;
27521
27525
  }
@@ -28546,7 +28550,7 @@ table {
28546
28550
  * @Author: 焦质晔
28547
28551
  * @Date: 2021-07-23 19:05:57
28548
28552
  * @Last Modified by: 焦质晔
28549
- * @Last Modified time: 2022-03-16 19:06:00
28553
+ * @Last Modified time: 2024-07-23 09:28:50
28550
28554
  */
28551
28555
  /*
28552
28556
  * @Author: 焦质晔
@@ -29196,7 +29200,7 @@ table {
29196
29200
  * @Author: 焦质晔
29197
29201
  * @Date: 2021-07-23 19:05:57
29198
29202
  * @Last Modified by: 焦质晔
29199
- * @Last Modified time: 2024-07-02 09:33:48
29203
+ * @Last Modified time: 2024-07-24 10:41:26
29200
29204
  */
29201
29205
  .qm-table--wrapper {
29202
29206
  box-sizing: border-box;
@@ -29266,22 +29270,6 @@ table {
29266
29270
  overflow-y: auto;
29267
29271
  overflow-x: auto;
29268
29272
  }
29269
- .qm-table--merge-cell {
29270
- position: absolute;
29271
- display: none;
29272
- border: 2px solid #1890ff;
29273
- border-radius: 2px;
29274
- background-color: rgba(255, 255, 255, 0.3);
29275
- z-index: 9;
29276
- }
29277
- .qm-table--merge-cell .btn {
29278
- position: absolute;
29279
- right: -54px;
29280
- bottom: 0;
29281
- }
29282
- .qm-table--merge-cell .cancel {
29283
- bottom: 30px;
29284
- }
29285
29273
  .qm-table.c--resize {
29286
29274
  cursor: col-resize;
29287
29275
  }
@@ -29462,8 +29450,13 @@ table {
29462
29450
  .qm-table:not(.is--border) .body--column {
29463
29451
  border-bottom: 1px solid #e8e8e8;
29464
29452
  }
29465
- .qm-table.is--merge-cell .qm-table--body-wrapper > table > tbody {
29466
- pointer-events: none;
29453
+ .qm-table.is--area-select .qm-table--body-wrapper > div {
29454
+ position: relative;
29455
+ }
29456
+ .qm-table.is--area-select .qm-table--body-wrapper table td {
29457
+ -webkit-user-select: none;
29458
+ -moz-user-select: none;
29459
+ user-select: none;
29467
29460
  }
29468
29461
  .qm-table .body--x-space {
29469
29462
  height: 0;
@@ -29788,6 +29781,30 @@ table {
29788
29781
  .qm-table--footer-wrapper .qm-table--footer .footer--row:last-of-type .footer--column {
29789
29782
  border-bottom: 0;
29790
29783
  }
29784
+ /*
29785
+ * @Author: 焦质晔
29786
+ * @Date: 2024-07-23 09:27:27
29787
+ * @Last Modified by: 焦质晔
29788
+ * @Last Modified time: 2024-07-24 13:32:48
29789
+ */
29790
+ .qm-table--area-select {
29791
+ position: static;
29792
+ height: 0;
29793
+ font-size: 0;
29794
+ }
29795
+ .qm-table--area-select .checked-area {
29796
+ border: 1px solid #40a9ff;
29797
+ background-color: rgba(186, 231, 255, 0.35);
29798
+ position: absolute;
29799
+ z-index: 2;
29800
+ pointer-events: none;
29801
+ }
29802
+ .qm-table--area-select .active-area {
29803
+ border: 2px solid #40a9ff;
29804
+ position: absolute;
29805
+ z-index: 2;
29806
+ pointer-events: none;
29807
+ }
29791
29808
  /*
29792
29809
  * @Author: 焦质晔
29793
29810
  * @Date: 2020-03-26 11:45:02