@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/style.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @fox-js/foxui-desktop v4.0.0 Tue Aug 22 2023 22:23:44 GMT+0800 (中国标准时间)
2
+ * @fox-js/foxui-desktop v4.0.0 Wed Aug 23 2023 19:02:58 GMT+0800 (中国标准时间)
3
3
  */
4
4
  const t = "";
5
5
  export {
@@ -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
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fox-js/foxui-pc",
3
3
  "type": "module",
4
- "version": "4.0.1-63",
4
+ "version": "4.0.1-64",
5
5
  "description": "FoxUI PC端组件库",
6
6
  "author": "jiangcheng",
7
7
  "main": "./dist/index.umd.js",