@para-ui/core 2.2.30 → 2.2.32
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/AutoTips/index.js +1 -1
- package/Breadcrumbs/index.js +1 -1
- package/CollapseBox/index.js +1 -1
- package/ComboSelect/index.js +2 -2
- package/Form/index.js +2 -2
- package/FormItem/index.js +2 -2
- package/InputLang/index.js +1 -1
- package/Menu/index.js +1 -1
- package/MultiBox/index.js +1 -1
- package/OperateBtn/index.js +1 -1
- package/Pagination/index.js +2 -2
- package/README.md +20 -0
- package/Search/index.js +1 -1
- package/Select/index.js +2 -2
- package/SelectInput/index.js +2 -2
- package/Selector/index.js +2 -2
- package/Selector/interface.d.ts +17 -1
- package/SelectorPicker/index.js +2 -2
- package/SingleBox/index.js +1 -1
- package/Table/index.js +2 -2
- package/TextField/index.js +1 -1
- package/Transfer/index.js +1 -1
- package/Tree/index.js +1 -1
- package/cdn/AutoTips/index.js +3 -3
- package/cdn/Breadcrumbs/index.js +5 -5
- package/cdn/CollapseBox/index.js +1 -1
- package/cdn/ComboSelect/index.js +2 -2
- package/cdn/Form/index.js +2 -2
- package/cdn/FormItem/index.js +2 -2
- package/cdn/InputLang/index.js +1 -1
- package/cdn/Menu/index.js +2 -2
- package/cdn/MultiBox/index.js +1 -1
- package/cdn/OperateBtn/index.js +1 -1
- package/cdn/Pagination/index.js +2 -2
- package/cdn/Search/index.js +5 -5
- package/cdn/Select/index.js +2 -2
- package/cdn/SelectInput/index.js +2 -2
- package/cdn/Selector/index.js +3 -3
- package/cdn/SelectorPicker/index.js +7 -7
- package/cdn/SingleBox/index.js +1 -1
- package/cdn/Table/index.js +2 -2
- package/cdn/TextField/index.js +1 -1
- package/cdn/Transfer/index.js +5 -5
- package/cdn/Tree/index.js +1 -1
- package/index.js +2 -2
- package/package.json +1 -1
- package/style.css +2 -2
package/Selector/interface.d.ts
CHANGED
|
@@ -9,7 +9,21 @@ export interface SearchFuncProps {
|
|
|
9
9
|
}
|
|
10
10
|
/** 搜索接口返回数据 */
|
|
11
11
|
export interface SearchReqDataProps {
|
|
12
|
-
data?:
|
|
12
|
+
data?: {
|
|
13
|
+
/**
|
|
14
|
+
* 分页
|
|
15
|
+
* data => {list: any[], total: number}
|
|
16
|
+
*
|
|
17
|
+
* 不分页
|
|
18
|
+
* data => any[]
|
|
19
|
+
* */
|
|
20
|
+
data?: any;
|
|
21
|
+
/**
|
|
22
|
+
* 接口数据是否生成树, 默认false,不生成树,平铺数据
|
|
23
|
+
* 一般用户传死数据这种情况
|
|
24
|
+
* */
|
|
25
|
+
isTree?: boolean;
|
|
26
|
+
};
|
|
13
27
|
err?: any;
|
|
14
28
|
}
|
|
15
29
|
/** 面包屑 */
|
|
@@ -386,6 +400,8 @@ export interface SelectorProps {
|
|
|
386
400
|
* @return [] 返回平铺数组
|
|
387
401
|
* */
|
|
388
402
|
onSearch?: (val: string, reqParams: SearchFuncProps) => (Promise<SearchReqDataProps> | SearchReqDataProps);
|
|
403
|
+
/** 刷新事件 */
|
|
404
|
+
onRefresh?: () => void;
|
|
389
405
|
/** 选择事件 返回true不触发onChange事件
|
|
390
406
|
* item 点击数据, 全选时候的数据
|
|
391
407
|
* bol 选中/不选中
|