@jiaozhiye/qm-design-react 1.11.2 → 1.11.3

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.
Files changed (45) hide show
  1. package/lib/form/style/index.less +3 -1
  2. package/lib/index.d.ts +2 -2
  3. package/lib/index.esm.js +1 -1
  4. package/lib/index.full.js +1 -1
  5. package/lib/index.js +1 -1
  6. package/lib/locale/lang/en.d.ts +4 -4
  7. package/lib/locale/lang/en.js +4 -4
  8. package/lib/locale/lang/zh-cn.d.ts +4 -4
  9. package/lib/locale/lang/zh-cn.js +4 -4
  10. package/lib/pivot-grid/src/main/Context.d.ts +6 -2
  11. package/lib/pivot-grid/src/utils/index.d.ts +4 -2
  12. package/lib/pivot-grid/style/grid-layout.less +239 -239
  13. package/lib/pivot-grid/style/top-bar.less +34 -3
  14. package/lib/pivot-grid/style/variable.less +7 -7
  15. package/lib/scrollbar/src/scrollbar.d.ts +1 -0
  16. package/lib/scrollbar/style/index.less +1 -0
  17. package/lib/style/index.css +49 -10
  18. package/lib/style/index.less +43 -43
  19. package/lib/style/index.min.css +1 -1
  20. package/lib/table/src/body/DraggableTr.d.ts +2 -1
  21. package/lib/table/src/body/index.d.ts +2 -6
  22. package/lib/table/src/config/index.d.ts +1 -0
  23. package/lib/table/src/context/index.d.ts +3 -8
  24. package/lib/table/src/export/useExport.d.ts +1 -1
  25. package/lib/table/src/footer/index.d.ts +1 -4
  26. package/lib/table/src/header/index.d.ts +1 -3
  27. package/lib/table/src/hooks/useImperativeMethod.d.ts +0 -1
  28. package/lib/table/src/hooks/useTableCore.d.ts +3 -17
  29. package/lib/table/src/hooks/useTableEffect.d.ts +0 -2
  30. package/lib/table/src/hooks/useTableLayout.d.ts +3 -15
  31. package/lib/table/src/hooks/useTableMemo.d.ts +1 -3
  32. package/lib/table/src/hooks/useTableRef.d.ts +4 -33
  33. package/lib/table/src/hooks/useTableState.d.ts +5 -14
  34. package/lib/table/src/hooks/useTableVirtual.d.ts +17 -0
  35. package/lib/table/src/table/props.d.ts +0 -1
  36. package/lib/table/src/table/types.d.ts +3 -2
  37. package/lib/table/style/body.less +103 -103
  38. package/lib/table/style/column-filter.less +5 -5
  39. package/lib/table/style/index.less +31 -31
  40. package/lib/table/style/pivot-grid.less +19 -19
  41. package/lib/virtual-list/index.d.ts +1 -1
  42. package/lib/virtual-list/src/list-item.d.ts +2 -1
  43. package/lib/virtual-list/src/virtual-list.d.ts +5 -4
  44. package/lib/virtual-list/style/index.less +21 -16
  45. package/package.json +1 -1
@@ -13,6 +13,7 @@
13
13
  &__wrap {
14
14
  display: grid;
15
15
  height: 100%;
16
+ max-height: inherit;
16
17
  overflow: auto;
17
18
  &--hidden {
18
19
  scrollbar-width: none;
@@ -27492,6 +27492,7 @@ body {
27492
27492
  .qm-scrollbar__wrap {
27493
27493
  display: grid;
27494
27494
  height: 100%;
27495
+ max-height: inherit;
27495
27496
  overflow: auto;
27496
27497
  }
27497
27498
  .qm-scrollbar__wrap--hidden {
@@ -28143,6 +28144,10 @@ body {
28143
28144
  .qm-form-region-select--sm {
28144
28145
  padding: 15px 10px 5px !important;
28145
28146
  }
28147
+ .qm-form-fields-filter {
28148
+ min-width: 160px;
28149
+ max-width: 220px;
28150
+ }
28146
28151
  .qm-form-fields-filter .reset {
28147
28152
  padding-bottom: 2px;
28148
28153
  margin-bottom: 4px;
@@ -28159,7 +28164,7 @@ body {
28159
28164
  margin: 0;
28160
28165
  }
28161
28166
  .qm-form-fields-filter .fields-list ul li.item {
28162
- line-height: 1.75;
28167
+ line-height: 1.85;
28163
28168
  overflow: hidden;
28164
28169
  text-overflow: ellipsis;
28165
28170
  white-space: nowrap;
@@ -29193,13 +29198,13 @@ body {
29193
29198
  }
29194
29199
  .column-filter__popper {
29195
29200
  padding: 0 !important;
29196
- min-width: 150px;
29197
- max-width: 200px;
29201
+ min-width: 160px;
29202
+ max-width: 220px;
29198
29203
  }
29199
29204
  .column-item__popper {
29200
29205
  padding-right: 10px !important;
29201
- min-width: 150px;
29202
- max-width: 200px;
29206
+ min-width: 160px;
29207
+ max-width: 220px;
29203
29208
  }
29204
29209
  .column-item__popper .ant-popover-arrow {
29205
29210
  display: none;
@@ -29216,7 +29221,7 @@ body {
29216
29221
  .column-filter__popper .column-filter--wrap li.item,
29217
29222
  .column-item__popper .column-filter--wrap li.item {
29218
29223
  position: relative;
29219
- line-height: 1.75;
29224
+ line-height: 1.85;
29220
29225
  overflow: hidden;
29221
29226
  text-overflow: ellipsis;
29222
29227
  white-space: nowrap;
@@ -31009,17 +31014,17 @@ body {
31009
31014
  * @Author: 焦质晔
31010
31015
  * @Date: 2022-03-16 19:05:30
31011
31016
  * @Last Modified by: 焦质晔
31012
- * @Last Modified time: 2024-11-29 10:34:35
31017
+ * @Last Modified time: 2024-12-04 09:17:17
31013
31018
  */
31014
31019
  .button-icon {
31015
- display: inline-block;
31020
+ display: inline-flex;
31016
31021
  text-align: center;
31017
31022
  text-transform: none;
31018
31023
  text-decoration: none;
31019
31024
  background: transparent;
31020
31025
  border: 0;
31021
31026
  outline: 0;
31022
- line-height: 0;
31027
+ line-height: 1;
31023
31028
  padding: 5px;
31024
31029
  color: rgba(0, 0, 0, 0.45);
31025
31030
  border-radius: 4px;
@@ -31032,6 +31037,10 @@ body {
31032
31037
  .qm-pivot-grid__popper .container {
31033
31038
  padding: 6px 15px;
31034
31039
  }
31040
+ .qm-pivot-grid__popper .container.scroll-y {
31041
+ overflow-y: auto;
31042
+ max-height: calc(100vh - 10px);
31043
+ }
31035
31044
  .qm-pivot-grid__popper .container > .label {
31036
31045
  display: flex;
31037
31046
  justify-content: space-between;
@@ -31071,6 +31080,33 @@ body {
31071
31080
  color: #1890ff;
31072
31081
  display: none;
31073
31082
  }
31083
+ .qm-pivot-grid__popper .container > .list li.sort-item {
31084
+ display: flex;
31085
+ align-items: center;
31086
+ border-radius: 4px;
31087
+ transition: none;
31088
+ }
31089
+ .qm-pivot-grid__popper .container > .list li.sort-item .handle {
31090
+ padding: 5px 6px 5px 2px;
31091
+ color: rgba(0, 0, 0, 0.45);
31092
+ cursor: s-resize;
31093
+ }
31094
+ .qm-pivot-grid__popper .container > .list li.sort-item .label {
31095
+ flex: 1 0;
31096
+ display: inline-flex;
31097
+ align-items: center;
31098
+ }
31099
+ .qm-pivot-grid__popper .container > .list li.sort-item .label .title {
31100
+ flex: 1 0;
31101
+ }
31102
+ .qm-pivot-grid__popper .container > .list li.divider {
31103
+ padding: 6px;
31104
+ }
31105
+ .qm-pivot-grid__popper .container > .list li.divider::after {
31106
+ content: '';
31107
+ display: block;
31108
+ border-top: 1px solid #e8e8e8;
31109
+ }
31074
31110
  .qm-pivot-grid__popper .container > .add-record {
31075
31111
  display: flex;
31076
31112
  justify-content: space-between;
@@ -31379,6 +31415,9 @@ body {
31379
31415
  list-style: none;
31380
31416
  font-feature-settings: 'tnum';
31381
31417
  }
31382
- .qm-virtual-list .list-item {
31418
+ .qm-virtual-list .container {
31419
+ display: block;
31420
+ }
31421
+ .qm-virtual-list .container ul li.list-item {
31383
31422
  list-style: none;
31384
31423
  }
@@ -1,43 +1,43 @@
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';
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';