gzkx-package 0.1.60 → 0.1.61
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/components/businessComponent/searchDropdownSelector/index.d.ts +31 -0
- package/dist/components/customComponents/CustomTable.d.ts +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +230 -192
- package/dist/index.mjs.map +1 -1
- package/dist/pages/pacs/check-regist/index.d.ts +2 -12
- package/dist/pages/pacs/check-regist/packageadd/index.d.ts +54 -0
- package/dist/pages/pacs/organization/components/OrDrawer.d.ts +19 -0
- package/dist/pages/pacs/organization/index.d.ts +14 -0
- package/package.json +1 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export interface SearchDropdownSelectorRef {
|
|
2
|
+
clear: () => void;
|
|
3
|
+
setValue: (value: string) => void;
|
|
4
|
+
focus: () => void;
|
|
5
|
+
select: () => void;
|
|
6
|
+
}
|
|
7
|
+
interface SearchDropdownSelectorProps {
|
|
8
|
+
columns: any[];
|
|
9
|
+
fetchData: (keyword: string) => Promise<any[]>;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
defaultValue?: string;
|
|
13
|
+
onSelect?: (record: any) => void;
|
|
14
|
+
virtual?: boolean;
|
|
15
|
+
debounceMs?: number;
|
|
16
|
+
dropdownWidth?: number | string;
|
|
17
|
+
dropdownMaxHeight?: number;
|
|
18
|
+
className?: string;
|
|
19
|
+
style?: React.CSSProperties;
|
|
20
|
+
refreshDeps?: any[];
|
|
21
|
+
displayField?: string;
|
|
22
|
+
rowKey?: string;
|
|
23
|
+
addonAfter?: React.ReactNode;
|
|
24
|
+
addonBefore?: React.ReactNode;
|
|
25
|
+
/** 下拉框关闭时按回车触发的回调(可用于焦点跳转等) */
|
|
26
|
+
onEnter?: () => void;
|
|
27
|
+
/** 输入框内容被清空时触发的回调 */
|
|
28
|
+
onClear?: () => void;
|
|
29
|
+
}
|
|
30
|
+
declare const SearchDropdownSelector: import('react').ForwardRefExoticComponent<SearchDropdownSelectorProps & import('react').RefAttributes<SearchDropdownSelectorRef>>;
|
|
31
|
+
export default SearchDropdownSelector;
|
|
@@ -23,11 +23,11 @@ interface CustomTableProps {
|
|
|
23
23
|
loading?: boolean;
|
|
24
24
|
pagination?: object | false;
|
|
25
25
|
handleTableChange?: (pagination: any, filters?: any, sorter?: any) => void;
|
|
26
|
-
size?: 'small' | 'middle' | 'large';
|
|
27
26
|
tableId?: string;
|
|
28
27
|
onRowClick?: (record: any, event?: any) => void;
|
|
29
28
|
page?: any;
|
|
30
29
|
showTableConfig?: boolean;
|
|
30
|
+
rowKey?: string | ((record: any) => React.Key);
|
|
31
31
|
[key: string]: any;
|
|
32
32
|
}
|
|
33
33
|
declare const CustomTable: React.ForwardRefExoticComponent<Omit<CustomTableProps, "ref"> & React.RefAttributes<CustomTableHandle>>;
|