@jiaozhiye/qm-design-react 1.11.25 → 1.11.26
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/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 +7 -6
- package/lib/locale/lang/en.js +10 -9
- package/lib/locale/lang/zh-cn.d.ts +7 -6
- package/lib/locale/lang/zh-cn.js +10 -9
- package/lib/scrollbar/style/index.less +1 -2
- package/lib/style/index.css +102 -16
- package/lib/style/index.min.css +1 -1
- package/lib/table/src/context/index.d.ts +6 -1
- package/lib/table/src/filter/CheckboxPanel.d.ts +7 -0
- package/lib/table/src/filter/DatePanel.d.ts +7 -0
- package/lib/table/src/filter/FooterPanel.d.ts +12 -0
- package/lib/table/src/filter/ListPanel.d.ts +11 -0
- package/lib/table/src/filter/NilPanel.d.ts +9 -0
- package/lib/table/src/filter/NumberPanel.d.ts +7 -0
- package/lib/table/src/filter/TextAreaPanel.d.ts +7 -0
- package/lib/table/src/filter/TextPanel.d.ts +7 -0
- package/lib/table/src/filter/TreePanel.d.ts +7 -0
- package/lib/table/src/filter/context.d.ts +3 -0
- package/lib/table/src/filter-sql/index.d.ts +1 -1
- package/lib/table/src/filter-sql/lib/filter_string.d.ts +1 -3
- package/lib/table/src/hooks/useImperativeMethod.d.ts +1 -0
- package/lib/table/src/hooks/useTableCore.d.ts +9 -5
- package/lib/table/src/hooks/useTableRef.d.ts +4 -9
- package/lib/table/src/hooks/useTableState.d.ts +4 -1
- package/lib/table/src/table/props.d.ts +1 -0
- package/lib/table/src/table/types.d.ts +6 -1
- package/lib/table/src/utils/index.d.ts +4 -1
- package/lib/table/style/body.less +105 -105
- package/lib/table/style/fast-search.less +2 -1
- package/lib/table/style/header.less +108 -10
- package/lib/virtual-list/src/core.d.ts +4 -5
- package/lib/virtual-list/src/useVirtual.d.ts +2 -2
- package/lib/virtual-list/src/utils.d.ts +1 -2
- package/package.json +140 -140
package/lib/locale/lang/en.d.ts
CHANGED
|
@@ -186,12 +186,11 @@ declare const _default: {
|
|
|
186
186
|
reset: string;
|
|
187
187
|
searchText: string;
|
|
188
188
|
searchAreaText: string;
|
|
189
|
-
gtPlaceholder: string;
|
|
190
|
-
ltPlaceholder: string;
|
|
191
|
-
eqPlaceholder: string;
|
|
192
|
-
neqPlaceholder: string;
|
|
193
189
|
text: string;
|
|
194
|
-
|
|
190
|
+
selectAll: string;
|
|
191
|
+
invert: string;
|
|
192
|
+
onlyItem: string;
|
|
193
|
+
keywordSearch: string;
|
|
195
194
|
};
|
|
196
195
|
screen: {
|
|
197
196
|
full: string;
|
|
@@ -290,8 +289,10 @@ declare const _default: {
|
|
|
290
289
|
neqText: string;
|
|
291
290
|
inText: string;
|
|
292
291
|
ninText: string;
|
|
293
|
-
likeText: string;
|
|
294
292
|
nullText: string;
|
|
293
|
+
notNullText: string;
|
|
294
|
+
startsWithText: string;
|
|
295
|
+
endsWithText: string;
|
|
295
296
|
configText: string;
|
|
296
297
|
saveButton: string;
|
|
297
298
|
savedSetting: string;
|
package/lib/locale/lang/en.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: 焦质晔
|
|
3
3
|
* @Date: 2021-06-19 08:46:00
|
|
4
4
|
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time:
|
|
5
|
+
* @Last Modified time: 2025-06-13 15:26:45
|
|
6
6
|
*/
|
|
7
7
|
export default {
|
|
8
8
|
name: 'en',
|
|
@@ -190,14 +190,13 @@ export default {
|
|
|
190
190
|
filter: {
|
|
191
191
|
search: 'Search',
|
|
192
192
|
reset: 'Reset',
|
|
193
|
-
searchText: '
|
|
194
|
-
searchAreaText: '
|
|
195
|
-
gtPlaceholder: 'is greater than',
|
|
196
|
-
ltPlaceholder: 'is lesser than',
|
|
197
|
-
eqPlaceholder: 'is equal to',
|
|
198
|
-
neqPlaceholder: 'is not equal to',
|
|
193
|
+
searchText: 'Filter {text}',
|
|
194
|
+
searchAreaText: 'Filter {text}, separated by commas',
|
|
199
195
|
text: 'Filter',
|
|
200
|
-
|
|
196
|
+
selectAll: 'Select all',
|
|
197
|
+
invert: 'Invert',
|
|
198
|
+
onlyItem: 'Only item',
|
|
199
|
+
keywordSearch: 'Keyword Search'
|
|
201
200
|
},
|
|
202
201
|
screen: {
|
|
203
202
|
full: 'Full Screen',
|
|
@@ -296,8 +295,10 @@ export default {
|
|
|
296
295
|
neqText: 'is not equal to',
|
|
297
296
|
inText: 'include',
|
|
298
297
|
ninText: 'not include',
|
|
299
|
-
likeText: 'fuzzy matching',
|
|
300
298
|
nullText: 'null value',
|
|
299
|
+
notNullText: 'not null value',
|
|
300
|
+
startsWithText: 'beginning is',
|
|
301
|
+
endsWithText: 'ending is',
|
|
301
302
|
configText: 'Configuration name',
|
|
302
303
|
saveButton: 'Save',
|
|
303
304
|
savedSetting: 'Saved configuration',
|
|
@@ -186,12 +186,11 @@ declare const _default: {
|
|
|
186
186
|
reset: string;
|
|
187
187
|
searchText: string;
|
|
188
188
|
searchAreaText: string;
|
|
189
|
-
gtPlaceholder: string;
|
|
190
|
-
ltPlaceholder: string;
|
|
191
|
-
eqPlaceholder: string;
|
|
192
|
-
neqPlaceholder: string;
|
|
193
189
|
text: string;
|
|
194
|
-
|
|
190
|
+
selectAll: string;
|
|
191
|
+
invert: string;
|
|
192
|
+
onlyItem: string;
|
|
193
|
+
keywordSearch: string;
|
|
195
194
|
};
|
|
196
195
|
screen: {
|
|
197
196
|
full: string;
|
|
@@ -290,8 +289,10 @@ declare const _default: {
|
|
|
290
289
|
neqText: string;
|
|
291
290
|
inText: string;
|
|
292
291
|
ninText: string;
|
|
293
|
-
likeText: string;
|
|
294
292
|
nullText: string;
|
|
293
|
+
notNullText: string;
|
|
294
|
+
startsWithText: string;
|
|
295
|
+
endsWithText: string;
|
|
295
296
|
configText: string;
|
|
296
297
|
saveButton: string;
|
|
297
298
|
savedSetting: string;
|
package/lib/locale/lang/zh-cn.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: 焦质晔
|
|
3
3
|
* @Date: 2021-06-19 08:45:54
|
|
4
4
|
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time:
|
|
5
|
+
* @Last Modified time: 2025-06-13 15:26:18
|
|
6
6
|
*/
|
|
7
7
|
export default {
|
|
8
8
|
name: 'zh-cn',
|
|
@@ -190,14 +190,13 @@ export default {
|
|
|
190
190
|
filter: {
|
|
191
191
|
search: '搜 索',
|
|
192
192
|
reset: '重 置',
|
|
193
|
-
searchText: '
|
|
194
|
-
searchAreaText: '
|
|
195
|
-
gtPlaceholder: '大于',
|
|
196
|
-
ltPlaceholder: '小于',
|
|
197
|
-
eqPlaceholder: '等于',
|
|
198
|
-
neqPlaceholder: '不等于',
|
|
193
|
+
searchText: '过滤{text}',
|
|
194
|
+
searchAreaText: '过滤{text},用逗号隔开',
|
|
199
195
|
text: '筛选',
|
|
200
|
-
|
|
196
|
+
selectAll: '全选',
|
|
197
|
+
invert: '反选',
|
|
198
|
+
onlyItem: '仅此项',
|
|
199
|
+
keywordSearch: '关键词搜索'
|
|
201
200
|
},
|
|
202
201
|
screen: {
|
|
203
202
|
full: '全屏',
|
|
@@ -296,8 +295,10 @@ export default {
|
|
|
296
295
|
neqText: '不等于',
|
|
297
296
|
inText: '包含',
|
|
298
297
|
ninText: '不包含',
|
|
299
|
-
likeText: '模糊匹配',
|
|
300
298
|
nullText: '空值',
|
|
299
|
+
notNullText: '非空值',
|
|
300
|
+
startsWithText: '开头是',
|
|
301
|
+
endsWithText: '结尾是',
|
|
301
302
|
configText: '配置名称',
|
|
302
303
|
saveButton: '保 存',
|
|
303
304
|
savedSetting: '保存的高级检索设置',
|
package/lib/style/index.css
CHANGED
|
@@ -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:
|
|
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:
|
|
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:
|
|
29830
|
+
max-height: 424px;
|
|
29831
29831
|
overflow-y: auto;
|
|
29832
29832
|
}
|
|
29833
|
-
.head-filter--wrap ul {
|
|
29834
|
-
|
|
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
|
|
29842
|
-
|
|
29845
|
+
.head-filter--wrap .filter-box .condition .ant-select-selector {
|
|
29846
|
+
padding: 0 6px;
|
|
29843
29847
|
}
|
|
29844
|
-
.head-filter--wrap
|
|
29845
|
-
|
|
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;
|
|
@@ -29854,9 +29943,6 @@ body {
|
|
|
29854
29943
|
* @Last Modified by: 焦质晔
|
|
29855
29944
|
* @Last Modified time: 2024-12-01 18:48:00
|
|
29856
29945
|
*/
|
|
29857
|
-
.body--row {
|
|
29858
|
-
position: sticky;
|
|
29859
|
-
}
|
|
29860
29946
|
.body--row-draggable {
|
|
29861
29947
|
position: relative;
|
|
29862
29948
|
}
|