@fox-js/foxui-pc 4.0.1-0 → 4.0.1-1
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 +1982 -1768
- package/dist/index.umd.js +4 -4
- package/dist/style.css +1 -1
- package/dist/style.esm.js +1 -1
- package/dist/types/index.d.ts +32 -27
- package/package.json +2 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -168,7 +168,7 @@ export declare function debounce(func: GenericFunction, time: number): GenericFu
|
|
|
168
168
|
*/
|
|
169
169
|
export declare function decimalLength(value: string | number): number;
|
|
170
170
|
|
|
171
|
-
declare const _default:
|
|
171
|
+
declare const _default: FoxUIVue;
|
|
172
172
|
export default _default;
|
|
173
173
|
|
|
174
174
|
/**
|
|
@@ -421,9 +421,24 @@ declare interface FoxUI {
|
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
/**
|
|
424
|
-
*
|
|
424
|
+
* UI Options
|
|
425
425
|
*/
|
|
426
|
-
declare
|
|
426
|
+
declare interface FoxUIOptions {
|
|
427
|
+
headerBarHeight?: number;
|
|
428
|
+
footerBarHeight?: number;
|
|
429
|
+
safeAreaInset?: SafeAreaInset;
|
|
430
|
+
pageLayout?: PageLayout;
|
|
431
|
+
headerPadding?: Rect;
|
|
432
|
+
contentPadding?: Rect;
|
|
433
|
+
groupLayout?: GroupLayout;
|
|
434
|
+
labelWidth?: number | string;
|
|
435
|
+
[propName: string]: any;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Fox UI vue实例
|
|
440
|
+
*/
|
|
441
|
+
declare class FoxUIVue implements FoxUI {
|
|
427
442
|
/**
|
|
428
443
|
* packages
|
|
429
444
|
*/
|
|
@@ -492,21 +507,6 @@ declare class FoxUIApp implements FoxUI {
|
|
|
492
507
|
getRootDomain(): Domain;
|
|
493
508
|
}
|
|
494
509
|
|
|
495
|
-
/**
|
|
496
|
-
* UI Options
|
|
497
|
-
*/
|
|
498
|
-
declare interface FoxUIOptions {
|
|
499
|
-
headerBarHeight?: number;
|
|
500
|
-
footerBarHeight?: number;
|
|
501
|
-
safeAreaInset?: SafeAreaInset;
|
|
502
|
-
pageLayout?: PageLayout;
|
|
503
|
-
headerPadding?: Rect;
|
|
504
|
-
contentPadding?: Rect;
|
|
505
|
-
groupLayout?: GroupLayout;
|
|
506
|
-
labelWidth?: number | string;
|
|
507
|
-
[propName: string]: any;
|
|
508
|
-
}
|
|
509
|
-
|
|
510
510
|
/**
|
|
511
511
|
* 通用函数接口
|
|
512
512
|
*/
|
|
@@ -684,6 +684,8 @@ export declare const Item: DefineComponent<unknown, object, {}, ComputedOptions,
|
|
|
684
684
|
*/
|
|
685
685
|
export declare function lastIndexOf(x: unknown, arr: unknown[]): number;
|
|
686
686
|
|
|
687
|
+
export declare const Mapping: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
688
|
+
|
|
687
689
|
/**
|
|
688
690
|
* 匹配条件
|
|
689
691
|
*/
|
|
@@ -865,6 +867,8 @@ export declare const SlotItem: DefineComponent<unknown, object, {}, ComputedOpti
|
|
|
865
867
|
|
|
866
868
|
export declare const TableItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
867
869
|
|
|
870
|
+
export declare const TableMappingColumn: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
871
|
+
|
|
868
872
|
/**
|
|
869
873
|
* 节流函数
|
|
870
874
|
* @param func 函数
|
|
@@ -896,9 +900,10 @@ export declare function toPx(value: number | string, size?: number): number;
|
|
|
896
900
|
/**
|
|
897
901
|
* to px desc
|
|
898
902
|
* @param value
|
|
903
|
+
* @parma size
|
|
899
904
|
* @returns
|
|
900
905
|
*/
|
|
901
|
-
export declare const toPxDesc: (value: string | number) => string;
|
|
906
|
+
export declare const toPxDesc: (value: string | number, size?: number) => string;
|
|
902
907
|
|
|
903
908
|
export { toTypeString }
|
|
904
909
|
|
|
@@ -972,6 +977,14 @@ export declare const usePosition: (elementRef: (Element | Window) | Ref<Element
|
|
|
972
977
|
|
|
973
978
|
export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect_2;
|
|
974
979
|
|
|
980
|
+
/**
|
|
981
|
+
* 校验条件
|
|
982
|
+
*/
|
|
983
|
+
export declare interface ValidateCondition {
|
|
984
|
+
exclude?: string[];
|
|
985
|
+
include?: string[];
|
|
986
|
+
}
|
|
987
|
+
|
|
975
988
|
/**
|
|
976
989
|
* 校验器handler
|
|
977
990
|
*/
|
|
@@ -1132,14 +1145,6 @@ export declare class ValidateSchema {
|
|
|
1132
1145
|
*/
|
|
1133
1146
|
export declare const ValidateSchemaKey: unique symbol;
|
|
1134
1147
|
|
|
1135
|
-
/**
|
|
1136
|
-
* 校验条件
|
|
1137
|
-
*/
|
|
1138
|
-
export declare interface ValidateTerm {
|
|
1139
|
-
exclude?: string[];
|
|
1140
|
-
include?: string[];
|
|
1141
|
-
}
|
|
1142
|
-
|
|
1143
1148
|
/**
|
|
1144
1149
|
* value 格式话
|
|
1145
1150
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fox-js/foxui-pc",
|
|
3
|
-
"version": "4.0.1-
|
|
3
|
+
"version": "4.0.1-1",
|
|
4
4
|
"description": "FoxUI PC端组件库",
|
|
5
5
|
"author": "jiangcheng",
|
|
6
6
|
"main": "dist/index.umd.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
|
-
"publish:next": "npm version prerelease
|
|
30
|
+
"publish:next": "npm version prerelease && npm publish --tag next"
|
|
31
31
|
},
|
|
32
32
|
"license": "",
|
|
33
33
|
"repository": ""
|