@fox-js/foxui-pc 4.0.1-63 → 4.0.1-64
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/index.cjs.js +3 -3
- package/dist/index.esm.js +1951 -1929
- package/dist/index.umd.js +3 -3
- package/dist/style.esm.js +1 -1
- package/dist/types/index.d.ts +18 -0
- package/package.json +1 -1
package/dist/style.esm.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -1405,6 +1405,24 @@ export declare function toValue(props: UnwrapRef<Record<string, any>>, name?: st
|
|
|
1405
1405
|
|
|
1406
1406
|
export declare const TreeSelectItem: any;
|
|
1407
1407
|
|
|
1408
|
+
/**
|
|
1409
|
+
* 尝试执行多次函数
|
|
1410
|
+
* @param func 执行函数
|
|
1411
|
+
* @param milliseconds 执行间隔
|
|
1412
|
+
* @param maxLimit 最大尝试次数
|
|
1413
|
+
* @param step 间隔增加步长
|
|
1414
|
+
* @param immediately 是否立刻执行
|
|
1415
|
+
*/
|
|
1416
|
+
export declare function tryTimes(func: TryTimesFunction, milliseconds: number, maxLimit: number, step?: number, immediately?: boolean): void;
|
|
1417
|
+
|
|
1418
|
+
/**
|
|
1419
|
+
* 尝试多次函数
|
|
1420
|
+
* 返回true,代表执行完成,不在需要重试
|
|
1421
|
+
*/
|
|
1422
|
+
export declare interface TryTimesFunction {
|
|
1423
|
+
(): boolean;
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1408
1426
|
/**
|
|
1409
1427
|
* 判断类型
|
|
1410
1428
|
* @param obj
|