@jswork/antd-components 1.0.164 → 1.0.166
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/dist/main.cjs.js +1 -1
- package/dist/main.d.mts +8 -2
- package/dist/main.d.ts +8 -2
- package/dist/main.esm.js +1 -1
- package/dist/main.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/search.tsx +0 -1
- package/src/lib/table-extra-search.tsx +6 -7
package/package.json
CHANGED
package/src/lib/search.tsx
CHANGED
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
* @Author: aric.zheng 1290657123@qq.com
|
|
3
3
|
* @Date: 2025-10-29 10:54:41
|
|
4
4
|
* @LastEditors: aric.zheng 1290657123@qq.com
|
|
5
|
-
* @LastEditTime: 2025-10-29 11:
|
|
5
|
+
* @LastEditTime: 2025-10-29 11:23:07
|
|
6
6
|
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import { AcSearch } from './search';
|
|
9
|
-
import { FC } from 'react';
|
|
7
|
+
import React, { FC } from 'react';
|
|
8
|
+
import { AcSearch, AcSearchProps } from './search';
|
|
10
9
|
|
|
11
10
|
|
|
12
11
|
declare global {
|
|
@@ -16,7 +15,7 @@ declare global {
|
|
|
16
15
|
}
|
|
17
16
|
}
|
|
18
17
|
|
|
19
|
-
export type AcTableExtraSearchProps =
|
|
18
|
+
export type AcTableExtraSearchProps = AcSearchProps & {
|
|
20
19
|
name: string;
|
|
21
20
|
lang?: string;
|
|
22
21
|
queryKey?: string;
|
|
@@ -24,10 +23,10 @@ export type AcTableExtraSearchProps = AcSearch & {
|
|
|
24
23
|
|
|
25
24
|
const locales = {
|
|
26
25
|
'zh-CN': {
|
|
27
|
-
placeholder: '
|
|
26
|
+
placeholder: '搜索',
|
|
28
27
|
},
|
|
29
28
|
'en-US': {
|
|
30
|
-
placeholder: '
|
|
29
|
+
placeholder: 'Search',
|
|
31
30
|
},
|
|
32
31
|
};
|
|
33
32
|
|