@wx-design/components 1.3.0-alpha.9 → 1.3.0
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/es/core/Table/hooks/useTableCore.d.ts +0 -1
- package/es/core/Table/hooks/useTableData.d.ts +1 -0
- package/es/core/Table/utils/index.d.ts +13 -0
- package/es/index.mjs +32705 -30517
- package/es/style.css +1 -1
- package/lib/core/Table/hooks/useTableCore.d.ts +0 -1
- package/lib/core/Table/hooks/useTableData.d.ts +1 -0
- package/lib/core/Table/utils/index.d.ts +13 -0
- package/lib/index.js +7 -5
- package/lib/style.css +1 -1
- package/package.json +3 -3
|
@@ -8,7 +8,6 @@ export interface UseTableCoreOptions {
|
|
|
8
8
|
export interface UseTableCoreReturn {
|
|
9
9
|
tableRef: Ref<VxeTableInstance | undefined>;
|
|
10
10
|
tableConfig: ComputedRef<any>;
|
|
11
|
-
vxeTableConfig: ComputedRef<any>;
|
|
12
11
|
locale: any;
|
|
13
12
|
showTable: Ref<boolean>;
|
|
14
13
|
getInstance: () => VxeTableInstance | undefined;
|
|
@@ -10,6 +10,7 @@ export interface UseTableDataReturn {
|
|
|
10
10
|
dataSource: Ref<VxeTablePropTypes.Data<any>>;
|
|
11
11
|
checkboxRecords: ComputedRef<any[]>;
|
|
12
12
|
headerFilterModel: ComputedRef<any>;
|
|
13
|
+
processedTableConfig: ComputedRef<any>;
|
|
13
14
|
updateHeaderFilterModel: (newValue: any) => void;
|
|
14
15
|
refreshData: () => void;
|
|
15
16
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const sleep: (ms: number) => Promise<unknown>;
|
|
2
|
+
/**
|
|
3
|
+
* 判断值是否为空(null、undefined、空字符串、空数组)
|
|
4
|
+
* @param value 要判断的值
|
|
5
|
+
* @returns 如果值为空返回 true,否则返回 false
|
|
6
|
+
*/
|
|
7
|
+
export declare const isEmpty: (value: any) => boolean;
|
|
8
|
+
/**
|
|
9
|
+
* 判断值是否不为空
|
|
10
|
+
* @param value 要判断的值
|
|
11
|
+
* @returns 如果值不为空返回 true,否则返回 false
|
|
12
|
+
*/
|
|
13
|
+
export declare const isNotEmpty: (value: any) => boolean;
|