@fox-js/foxui-pc 4.0.1-34 → 4.0.1-35
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 +2 -2
- package/dist/index.esm.js +1892 -1857
- package/dist/index.umd.js +2 -2
- package/dist/style.esm.js +1 -1
- package/dist/types/index.d.ts +16 -2
- package/package.json +1 -1
package/dist/style.esm.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -931,6 +931,12 @@ declare interface Installer {
|
|
|
931
931
|
(app: App, options?: any): void;
|
|
932
932
|
}
|
|
933
933
|
|
|
934
|
+
/**
|
|
935
|
+
* 安装校验规则
|
|
936
|
+
* @param proxy
|
|
937
|
+
*/
|
|
938
|
+
export declare function installRules(proxy: FoxComponentPublicInstance, validateScheme: ValidateSchema, name: string): void;
|
|
939
|
+
|
|
934
940
|
/**
|
|
935
941
|
* 获取整数长度
|
|
936
942
|
* @param value
|
|
@@ -990,6 +996,12 @@ export declare function isESModule(obj: any): obj is Object;
|
|
|
990
996
|
*/
|
|
991
997
|
export declare const isFunction: (val: unknown) => val is Function;
|
|
992
998
|
|
|
999
|
+
/**
|
|
1000
|
+
* 是否是隐藏element
|
|
1001
|
+
* @param el
|
|
1002
|
+
*/
|
|
1003
|
+
export declare function isHidden(el: any): boolean;
|
|
1004
|
+
|
|
993
1005
|
/**
|
|
994
1006
|
* 是否为内嵌页面
|
|
995
1007
|
* 内嵌页面为内嵌在容器内,如dialog,不需要设置content的高度
|
|
@@ -1409,7 +1421,7 @@ export declare function useBroadcast(proxy?: FoxComponentPublicInstance | null):
|
|
|
1409
1421
|
* 获取当前domain
|
|
1410
1422
|
* @returns
|
|
1411
1423
|
*/
|
|
1412
|
-
export declare function useDomain(
|
|
1424
|
+
export declare function useDomain(proxy?: ComponentPublicInstance | null): Domain | null;
|
|
1413
1425
|
|
|
1414
1426
|
/**
|
|
1415
1427
|
* use expose
|
|
@@ -1456,8 +1468,10 @@ export declare function useTouch(): {
|
|
|
1456
1468
|
* 校验条件
|
|
1457
1469
|
*/
|
|
1458
1470
|
export declare interface ValidateCondition {
|
|
1459
|
-
|
|
1471
|
+
deep?: boolean;
|
|
1460
1472
|
include?: string[];
|
|
1473
|
+
exclude?: string[];
|
|
1474
|
+
ignoreHidden?: boolean;
|
|
1461
1475
|
}
|
|
1462
1476
|
|
|
1463
1477
|
/**
|