@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jswork/antd-components",
3
- "version": "1.0.164",
3
+ "version": "1.0.166",
4
4
  "main": "dist/main.cjs.js",
5
5
  "module": "dist/main.esm.js",
6
6
  "types": "dist/main.d.ts",
@@ -9,7 +9,6 @@ type StdEventTarget = { target: { value: any } };
9
9
  type StdCallback = (inEvent: StdEventTarget) => void;
10
10
 
11
11
  export type AcSearchProps = {
12
- className?: string;
13
12
  value?: string;
14
13
  onChange?: StdCallback;
15
14
  onSearch?: StdCallback;
@@ -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:11:33
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 = AcSearch & {
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: 'Please enter keywords to search',
29
+ placeholder: 'Search',
31
30
  },
32
31
  };
33
32