@fox-js/foxui-pc 4.0.1-0 → 4.0.1-2
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 +3356 -2411
- 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 +38 -27
- package/package.json +2 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -123,6 +123,10 @@ export declare interface BroadcastCallback {
|
|
|
123
123
|
|
|
124
124
|
export declare const BroadcastKey: unique symbol;
|
|
125
125
|
|
|
126
|
+
export declare const CascaderItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
127
|
+
|
|
128
|
+
export declare const CheckboxItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
129
|
+
|
|
126
130
|
/**
|
|
127
131
|
* 清理非数字
|
|
128
132
|
*/
|
|
@@ -168,7 +172,7 @@ export declare function debounce(func: GenericFunction, time: number): GenericFu
|
|
|
168
172
|
*/
|
|
169
173
|
export declare function decimalLength(value: string | number): number;
|
|
170
174
|
|
|
171
|
-
declare const _default:
|
|
175
|
+
declare const _default: FoxUIVue;
|
|
172
176
|
export default _default;
|
|
173
177
|
|
|
174
178
|
/**
|
|
@@ -421,9 +425,24 @@ declare interface FoxUI {
|
|
|
421
425
|
}
|
|
422
426
|
|
|
423
427
|
/**
|
|
424
|
-
*
|
|
428
|
+
* UI Options
|
|
425
429
|
*/
|
|
426
|
-
declare
|
|
430
|
+
declare interface FoxUIOptions {
|
|
431
|
+
headerBarHeight?: number;
|
|
432
|
+
footerBarHeight?: number;
|
|
433
|
+
safeAreaInset?: SafeAreaInset;
|
|
434
|
+
pageLayout?: PageLayout;
|
|
435
|
+
headerPadding?: Rect;
|
|
436
|
+
contentPadding?: Rect;
|
|
437
|
+
groupLayout?: GroupLayout;
|
|
438
|
+
labelWidth?: number | string;
|
|
439
|
+
[propName: string]: any;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* Fox UI vue实例
|
|
444
|
+
*/
|
|
445
|
+
declare class FoxUIVue implements FoxUI {
|
|
427
446
|
/**
|
|
428
447
|
* packages
|
|
429
448
|
*/
|
|
@@ -492,21 +511,6 @@ declare class FoxUIApp implements FoxUI {
|
|
|
492
511
|
getRootDomain(): Domain;
|
|
493
512
|
}
|
|
494
513
|
|
|
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
514
|
/**
|
|
511
515
|
* 通用函数接口
|
|
512
516
|
*/
|
|
@@ -684,6 +688,8 @@ export declare const Item: DefineComponent<unknown, object, {}, ComputedOptions,
|
|
|
684
688
|
*/
|
|
685
689
|
export declare function lastIndexOf(x: unknown, arr: unknown[]): number;
|
|
686
690
|
|
|
691
|
+
export declare const Mapping: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
692
|
+
|
|
687
693
|
/**
|
|
688
694
|
* 匹配条件
|
|
689
695
|
*/
|
|
@@ -770,6 +776,8 @@ export declare enum PriorityPolicy {
|
|
|
770
776
|
*/
|
|
771
777
|
export declare function property(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref;
|
|
772
778
|
|
|
779
|
+
export declare const RadioItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
780
|
+
|
|
773
781
|
/**
|
|
774
782
|
* 动画
|
|
775
783
|
*/
|
|
@@ -865,6 +873,8 @@ export declare const SlotItem: DefineComponent<unknown, object, {}, ComputedOpti
|
|
|
865
873
|
|
|
866
874
|
export declare const TableItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
867
875
|
|
|
876
|
+
export declare const TableMappingColumn: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
877
|
+
|
|
868
878
|
/**
|
|
869
879
|
* 节流函数
|
|
870
880
|
* @param func 函数
|
|
@@ -896,9 +906,10 @@ export declare function toPx(value: number | string, size?: number): number;
|
|
|
896
906
|
/**
|
|
897
907
|
* to px desc
|
|
898
908
|
* @param value
|
|
909
|
+
* @parma size
|
|
899
910
|
* @returns
|
|
900
911
|
*/
|
|
901
|
-
export declare const toPxDesc: (value: string | number) => string;
|
|
912
|
+
export declare const toPxDesc: (value: string | number, size?: number) => string;
|
|
902
913
|
|
|
903
914
|
export { toTypeString }
|
|
904
915
|
|
|
@@ -972,6 +983,14 @@ export declare const usePosition: (elementRef: (Element | Window) | Ref<Element
|
|
|
972
983
|
|
|
973
984
|
export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect_2;
|
|
974
985
|
|
|
986
|
+
/**
|
|
987
|
+
* 校验条件
|
|
988
|
+
*/
|
|
989
|
+
export declare interface ValidateCondition {
|
|
990
|
+
exclude?: string[];
|
|
991
|
+
include?: string[];
|
|
992
|
+
}
|
|
993
|
+
|
|
975
994
|
/**
|
|
976
995
|
* 校验器handler
|
|
977
996
|
*/
|
|
@@ -1132,14 +1151,6 @@ export declare class ValidateSchema {
|
|
|
1132
1151
|
*/
|
|
1133
1152
|
export declare const ValidateSchemaKey: unique symbol;
|
|
1134
1153
|
|
|
1135
|
-
/**
|
|
1136
|
-
* 校验条件
|
|
1137
|
-
*/
|
|
1138
|
-
export declare interface ValidateTerm {
|
|
1139
|
-
exclude?: string[];
|
|
1140
|
-
include?: string[];
|
|
1141
|
-
}
|
|
1142
|
-
|
|
1143
1154
|
/**
|
|
1144
1155
|
* value 格式话
|
|
1145
1156
|
*/
|
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-2",
|
|
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": ""
|