dcp-design-react 1.11.24 → 1.12.0

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 (49) hide show
  1. package/lib/collapse/style/index.less +24 -24
  2. package/lib/collapse/style/motion.less +11 -11
  3. package/lib/color-picker/style/index.less +119 -119
  4. package/lib/index.esm.js +1 -1
  5. package/lib/index.full.js +1 -1
  6. package/lib/index.js +1 -1
  7. package/lib/locale/lang/en.d.ts +7 -6
  8. package/lib/locale/lang/en.js +14 -13
  9. package/lib/locale/lang/zh-cn.d.ts +7 -6
  10. package/lib/locale/lang/zh-cn.js +14 -13
  11. package/lib/pivot-grid/style/context-menu.less +28 -28
  12. package/lib/pivot-grid/style/grid-layout.less +409 -409
  13. package/lib/pivot-grid/style/index.less +11 -11
  14. package/lib/pivot-grid/style/main.less +33 -33
  15. package/lib/pivot-grid/style/top-bar.less +189 -189
  16. package/lib/scrollbar/style/index.less +1 -2
  17. package/lib/search-tree/style/index.less +34 -34
  18. package/lib/style/index.css +102 -13
  19. package/lib/style/index.less +44 -44
  20. package/lib/style/index.min.css +1 -1
  21. package/lib/table/src/context/index.d.ts +6 -1
  22. package/lib/table/src/filter/CheckboxPanel.d.ts +7 -0
  23. package/lib/table/src/filter/DatePanel.d.ts +7 -0
  24. package/lib/table/src/filter/FooterPanel.d.ts +12 -0
  25. package/lib/table/src/filter/ListPanel.d.ts +11 -0
  26. package/lib/table/src/filter/NilPanel.d.ts +9 -0
  27. package/lib/table/src/filter/NumberPanel.d.ts +7 -0
  28. package/lib/table/src/filter/TextAreaPanel.d.ts +7 -0
  29. package/lib/table/src/filter/TextPanel.d.ts +7 -0
  30. package/lib/table/src/filter/TreePanel.d.ts +7 -0
  31. package/lib/table/src/filter/context.d.ts +3 -0
  32. package/lib/table/src/filter-sql/index.d.ts +1 -1
  33. package/lib/table/src/filter-sql/lib/filter_string.d.ts +1 -3
  34. package/lib/table/src/hooks/useImperativeMethod.d.ts +1 -0
  35. package/lib/table/src/hooks/useTableCore.d.ts +9 -5
  36. package/lib/table/src/hooks/useTableRef.d.ts +4 -9
  37. package/lib/table/src/hooks/useTableState.d.ts +4 -1
  38. package/lib/table/src/table/props.d.ts +1 -0
  39. package/lib/table/src/table/types.d.ts +6 -1
  40. package/lib/table/src/utils/index.d.ts +4 -1
  41. package/lib/table/style/body.less +1 -0
  42. package/lib/table/style/fast-search.less +151 -150
  43. package/lib/table/style/header.less +108 -10
  44. package/lib/table/style/variable.less +51 -51
  45. package/lib/virtual-list/src/core.d.ts +4 -5
  46. package/lib/virtual-list/src/useVirtual.d.ts +2 -2
  47. package/lib/virtual-list/src/utils.d.ts +1 -2
  48. package/lib/virtual-list/style/index.less +22 -22
  49. package/package.json +1 -1
@@ -27491,9 +27491,8 @@ body {
27491
27491
  }
27492
27492
  .qm-scrollbar__wrap {
27493
27493
  display: grid;
27494
- height: 100%;
27495
- max-height: inherit;
27496
27494
  overflow: auto;
27495
+ max-height: 100%;
27497
27496
  }
27498
27497
  .qm-scrollbar__wrap--hidden {
27499
27498
  scrollbar-width: none;
@@ -29095,9 +29094,10 @@ body {
29095
29094
  align-items: center;
29096
29095
  }
29097
29096
  .qm-table-fast-search__setting .main .container .search-box .label {
29098
- width: 100px;
29097
+ width: 75px;
29099
29098
  }
29100
29099
  .qm-table-fast-search__setting .main .container .condition {
29100
+ padding-left: 75px;
29101
29101
  margin-top: 10px;
29102
29102
  margin-bottom: 10px;
29103
29103
  }
@@ -29681,7 +29681,7 @@ body {
29681
29681
  * @Author: 焦质晔
29682
29682
  * @Date: 2020-02-28 22:11:53
29683
29683
  * @Last Modified by: 焦质晔
29684
- * @Last Modified time: 2022-11-26 21:07:50
29684
+ * @Last Modified time: 2025-06-17 10:44:57
29685
29685
  */
29686
29686
  .TheadAlignCenter .cell--text {
29687
29687
  justify-content: center !important;
@@ -29827,22 +29827,111 @@ body {
29827
29827
  }
29828
29828
  .head-filter__popper {
29829
29829
  padding: 10px !important;
29830
- max-height: 300px;
29830
+ max-height: 424px;
29831
29831
  overflow-y: auto;
29832
29832
  }
29833
- .head-filter--wrap ul {
29834
- margin: 0;
29833
+ .head-filter--wrap .filter-list ul li {
29834
+ display: flex;
29835
+ align-items: center;
29836
+ margin-bottom: 6px;
29835
29837
  }
29836
- .head-filter--wrap ul li {
29838
+ .head-filter--wrap .filter-list ul li .label {
29839
+ width: 20px;
29840
+ }
29841
+ .head-filter--wrap .filter-box {
29837
29842
  display: flex;
29838
29843
  align-items: center;
29839
- margin-bottom: 5px;
29840
29844
  }
29841
- .head-filter--wrap ul li:last-of-type {
29842
- margin-bottom: 0;
29845
+ .head-filter--wrap .filter-box .condition .ant-select-selector {
29846
+ padding: 0 6px;
29843
29847
  }
29844
- .head-filter--wrap ul li > span {
29845
- margin-right: 5px;
29848
+ .head-filter--wrap .filter-box .condition .ant-select-selector .ant-select-selection-item {
29849
+ padding-right: 10px;
29850
+ }
29851
+ .head-filter--wrap .filter-box .condition .ant-select-arrow {
29852
+ right: 6px;
29853
+ }
29854
+ .head-filter--wrap .list-panel .btn {
29855
+ display: inline-block;
29856
+ text-align: center;
29857
+ text-transform: none;
29858
+ text-decoration: none;
29859
+ background: transparent;
29860
+ border: 0;
29861
+ outline: 0;
29862
+ box-shadow: none;
29863
+ cursor: pointer;
29864
+ }
29865
+ .head-filter--wrap .list-panel .select-all {
29866
+ display: flex;
29867
+ align-items: center;
29868
+ justify-content: space-between;
29869
+ margin: 5px 0 2px;
29870
+ }
29871
+ .head-filter--wrap .list-panel .select-all .action {
29872
+ flex: 1 0;
29873
+ }
29874
+ .head-filter--wrap .list-panel .select-all .ant-checkbox + span {
29875
+ padding-right: 4px;
29876
+ }
29877
+ .head-filter--wrap .list-panel .select-all .divider {
29878
+ font-style: normal;
29879
+ color: rgba(0, 0, 0, 0.25);
29880
+ }
29881
+ .head-filter--wrap .list-panel .select-all .invert {
29882
+ padding: 0 4px;
29883
+ cursor: pointer;
29884
+ }
29885
+ .head-filter--wrap .list-panel .select-all .invert:disabled {
29886
+ color: rgba(0, 0, 0, 0.25);
29887
+ cursor: not-allowed;
29888
+ }
29889
+ .head-filter--wrap .list-panel .select-all .total {
29890
+ font-size: 13px;
29891
+ color: rgba(0, 0, 0, 0.45);
29892
+ }
29893
+ .head-filter--wrap .list-panel .select-list {
29894
+ margin-right: -10px;
29895
+ }
29896
+ .head-filter--wrap .list-panel .select-list .list-item {
29897
+ width: 200px;
29898
+ height: 26px;
29899
+ display: flex;
29900
+ align-items: center;
29901
+ }
29902
+ .head-filter--wrap .list-panel .select-list .list-item:hover .right {
29903
+ display: block;
29904
+ }
29905
+ .head-filter--wrap .list-panel .select-list .list-item .ant-checkbox-wrapper {
29906
+ flex: auto;
29907
+ min-width: 0;
29908
+ }
29909
+ .head-filter--wrap .list-panel .select-list .list-item .ant-checkbox-wrapper > span:nth-child(2) {
29910
+ padding-right: 4px;
29911
+ overflow: hidden;
29912
+ text-overflow: ellipsis;
29913
+ white-space: nowrap;
29914
+ }
29915
+ .head-filter--wrap .list-panel .select-list .list-item .right {
29916
+ flex-shrink: 0;
29917
+ padding: 0;
29918
+ font-size: 13px;
29919
+ color: #1890ff;
29920
+ display: none;
29921
+ }
29922
+ .head-filter--wrap .tree-panel {
29923
+ width: 200px;
29924
+ }
29925
+ .head-filter--wrap .tree-panel .ant-tree {
29926
+ margin-right: -5px;
29927
+ }
29928
+ .head-filter--wrap .footer {
29929
+ margin-top: 6px;
29930
+ padding-top: 8px;
29931
+ margin-left: -10px;
29932
+ width: calc(100% + 10px + 10px);
29933
+ padding-right: 10px;
29934
+ border-top: 1px solid #e8e8e8;
29846
29935
  }
29847
29936
  .all-selection__popper .ant-dropdown-menu-item {
29848
29937
  padding-left: 12px;
@@ -1,44 +1,44 @@
1
- /*
2
- * @Author: 焦质晔
3
- * @Date: 2021-07-23 18:23:59
4
- * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2024-12-26 11:04:29
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';
44
- @import '../color-picker/style/index.less';
1
+ /*
2
+ * @Author: 焦质晔
3
+ * @Date: 2021-07-23 18:23:59
4
+ * @Last Modified by: 焦质晔
5
+ * @Last Modified time: 2024-12-26 11:04:29
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';
44
+ @import '../color-picker/style/index.less';