@fox-js/foxui 4.0.1-0 → 4.0.1-3
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/foxui.es.js +4481 -2636
- package/dist/foxui.umd.js +14 -14
- package/dist/locale/index.cjs.js +1 -0
- package/dist/locale/index.d.ts +48 -0
- package/dist/locale/index.js +58 -20
- package/dist/style.css +1 -1
- package/dist/types/components/actionsheet/index.vue.d.ts +9 -2
- package/dist/types/components/address/index.vue.d.ts +9 -2
- package/dist/types/components/addresslist/components/GeneralShell.vue.d.ts +9 -2
- package/dist/types/components/addresslist/components/ItemContents.vue.d.ts +9 -2
- package/dist/types/components/addresslist/components/LongPressShell.vue.d.ts +9 -2
- package/dist/types/components/addresslist/components/SwipeShell.vue.d.ts +9 -2
- package/dist/types/components/addresslist/index.vue.d.ts +9 -2
- package/dist/types/components/animate/index.vue.d.ts +13 -0
- package/dist/types/components/animate/type.d.ts +2 -0
- package/dist/types/components/audio/index.vue.d.ts +9 -2
- package/dist/types/components/audiooperate/index.vue.d.ts +13 -0
- package/dist/types/components/avatar/index.vue.d.ts +9 -2
- package/dist/types/components/avatargroup/index.vue.d.ts +9 -2
- package/dist/types/components/backtop/index.vue.d.ts +9 -2
- package/dist/types/components/badge/index.vue.d.ts +9 -2
- package/dist/types/components/barrage/index.vue.d.ts +9 -2
- package/dist/types/components/button/index.vue.d.ts +9 -5
- package/dist/types/components/button/type.d.ts +3 -0
- package/dist/types/components/calendar/common.d.ts +61 -0
- package/dist/types/components/calendar/index.vue.d.ts +9 -63
- package/dist/types/components/calendar/pane.vue.d.ts +9 -2
- package/dist/types/components/calendar/types.d.ts +13 -0
- package/dist/types/components/calendaritem/common.d.ts +201 -0
- package/dist/types/components/calendaritem/index.vue.d.ts +9 -4
- package/dist/types/components/card/index.vue.d.ts +9 -2
- package/dist/types/components/cascader/cascader-pane.vue.d.ts +9 -2
- package/dist/types/components/cascader/common.d.ts +98 -0
- package/dist/types/components/cascader/index.vue.d.ts +9 -100
- package/dist/types/components/cascaderitem/index.vue.d.ts +9 -2
- package/dist/types/components/category/index.vue.d.ts +9 -2
- package/dist/types/components/categorypane/index.vue.d.ts +9 -2
- package/dist/types/components/cell/index.vue.d.ts +9 -2
- package/dist/types/components/cellgroup/index.vue.d.ts +9 -2
- package/dist/types/components/checkbox/{base-props.d.ts → common.d.ts} +9 -0
- package/dist/types/components/checkbox/index.vue.d.ts +9 -4
- package/dist/types/components/checkboxitem/common.d.ts +107 -0
- package/dist/types/components/checkboxitem/index.vue.d.ts +9 -2
- package/dist/types/components/circleprogress/index.vue.d.ts +9 -2
- package/dist/types/components/col/index.vue.d.ts +9 -2
- package/dist/types/components/collapse/index.vue.d.ts +9 -2
- package/dist/types/components/collapseitem/index.vue.d.ts +9 -2
- package/dist/types/components/comment/components/CmtBottom.vue.d.ts +9 -2
- package/dist/types/components/comment/components/CmtHeader.vue.d.ts +9 -2
- package/dist/types/components/comment/components/CmtImages.vue.d.ts +9 -2
- package/dist/types/components/comment/index.vue.d.ts +9 -2
- package/dist/types/components/content/index.vue.d.ts +9 -2
- package/dist/types/components/countdown/index.vue.d.ts +9 -2
- package/dist/types/components/countup/index.vue.d.ts +9 -2
- package/dist/types/components/dateitem/index.vue.d.ts +9 -2
- package/dist/types/components/datepicker/common.d.ts +55 -0
- package/dist/types/components/datepicker/index.vue.d.ts +9 -56
- package/dist/types/components/dialog/index.d.ts +11 -2
- package/dist/types/components/dialog/index.vue.d.ts +9 -2
- package/dist/types/components/divider/index.vue.d.ts +9 -2
- package/dist/types/components/drag/index.vue.d.ts +9 -2
- package/dist/types/components/ecard/index.vue.d.ts +9 -2
- package/dist/types/components/elevator/index.vue.d.ts +9 -2
- package/dist/types/components/ellipsis/index.vue.d.ts +13 -0
- package/dist/types/components/ellipsis/type.d.ts +1 -0
- package/dist/types/components/empty/index.vue.d.ts +9 -2
- package/dist/types/components/fixednav/index.vue.d.ts +9 -2
- package/dist/types/components/footer/index.vue.d.ts +9 -2
- package/dist/types/components/grid/common.d.ts +3 -3
- package/dist/types/components/grid/index.vue.d.ts +9 -2
- package/dist/types/components/griditem/index.vue.d.ts +9 -2
- package/dist/types/components/group/index.vue.d.ts +9 -2
- package/dist/types/components/header/index.vue.d.ts +8 -10
- package/dist/types/components/header/types.d.ts +9 -0
- package/dist/types/components/hinttext/index.vue.d.ts +9 -2
- package/dist/types/components/icon/index.vue.d.ts +9 -2
- package/dist/types/components/image/index.vue.d.ts +13 -0
- package/dist/types/components/image/type.d.ts +2 -0
- package/dist/types/components/imagepreview/imagePreviewItem.vue.d.ts +13 -0
- package/dist/types/components/imagepreview/index.d.ts +4 -4
- package/dist/types/components/imagepreview/index.vue.d.ts +9 -2
- package/dist/types/components/indicator/index.vue.d.ts +9 -2
- package/dist/types/components/infiniteloading/index.vue.d.ts +9 -2
- package/dist/types/components/inputitem/index.vue.d.ts +9 -2
- package/dist/types/components/inputnumber/index.vue.d.ts +9 -2
- package/dist/types/components/item/{item-props.d.ts → common.d.ts} +0 -0
- package/dist/types/components/item/index.vue.d.ts +9 -2
- package/dist/types/components/layout/index.vue.d.ts +9 -2
- package/dist/types/components/linkitem/common.d.ts +132 -0
- package/dist/types/components/linkitem/index.vue.d.ts +9 -2
- package/dist/types/components/list/index.vue.d.ts +9 -2
- package/dist/types/components/menu/index.vue.d.ts +9 -2
- package/dist/types/components/menuitem/index.vue.d.ts +9 -2
- package/dist/types/components/menuitem/type.d.ts +4 -0
- package/dist/types/components/moneyitem/index.vue.d.ts +9 -2
- package/dist/types/components/navbar/index.vue.d.ts +9 -2
- package/dist/types/components/noticebar/index.vue.d.ts +9 -2
- package/dist/types/components/notify/index.vue.d.ts +9 -2
- package/dist/types/components/numberkeyboard/index.vue.d.ts +9 -2
- package/dist/types/components/overlay/common.d.ts +30 -0
- package/dist/types/components/overlay/index.taro.vue.d.ts +9 -33
- package/dist/types/components/overlay/index.vue.d.ts +9 -33
- package/dist/types/components/page/index.vue.d.ts +9 -2
- package/dist/types/components/pagination/index.vue.d.ts +9 -2
- package/dist/types/components/picker/column.vue.d.ts +9 -2
- package/dist/types/components/picker/{common-props.d.ts → common-column.d.ts} +0 -0
- package/dist/types/components/picker/common.d.ts +143 -0
- package/dist/types/components/picker/index.vue.d.ts +9 -145
- package/dist/types/components/pickeritem/index.vue.d.ts +9 -2
- package/dist/types/components/placeholder/index.vue.d.ts +9 -2
- package/dist/types/components/popover/index.vue.d.ts +9 -4
- package/dist/types/components/popover/type.d.ts +2 -0
- package/dist/types/components/popup/common.d.ts +81 -0
- package/dist/types/components/popup/index.vue.d.ts +9 -83
- package/dist/types/components/price/index.vue.d.ts +9 -2
- package/dist/types/components/progress/index.vue.d.ts +9 -2
- package/dist/types/components/radio/common.d.ts +125 -0
- package/dist/types/components/radio/index.vue.d.ts +9 -4
- package/dist/types/components/radioitem/common.d.ts +99 -0
- package/dist/types/components/radioitem/index.vue.d.ts +9 -2
- package/dist/types/components/range/index.vue.d.ts +9 -2
- package/dist/types/components/rate/index.vue.d.ts +9 -2
- package/dist/types/components/row/index.vue.d.ts +9 -2
- package/dist/types/components/searchbar/index.vue.d.ts +9 -2
- package/dist/types/components/searchbar/type.d.ts +5 -0
- package/dist/types/components/shortpassword/index.vue.d.ts +9 -2
- package/dist/types/components/sidenavbar/index.vue.d.ts +9 -2
- package/dist/types/components/sidenavbaritem/index.vue.d.ts +9 -2
- package/dist/types/components/signature/index.vue.d.ts +9 -2
- package/dist/types/components/skeleton/common.d.ts +2 -4
- package/dist/types/components/skeleton/index.vue.d.ts +9 -2
- package/dist/types/components/sku/components/SkuHeader.vue.d.ts +9 -2
- package/dist/types/components/sku/components/SkuOperate.vue.d.ts +9 -2
- package/dist/types/components/sku/components/SkuSelect.vue.d.ts +9 -2
- package/dist/types/components/sku/components/SkuStepper.vue.d.ts +9 -2
- package/dist/types/components/sku/index.vue.d.ts +9 -2
- package/dist/types/components/step/index.vue.d.ts +9 -2
- package/dist/types/components/steps/index.vue.d.ts +9 -2
- package/dist/types/components/sticky/index.vue.d.ts +9 -2
- package/dist/types/components/subsidenavbar/index.vue.d.ts +9 -2
- package/dist/types/components/swipe/index.vue.d.ts +9 -3
- package/dist/types/components/swipe/type.d.ts +1 -0
- package/dist/types/components/swiper/index.vue.d.ts +9 -2
- package/dist/types/components/swiperitem/index.vue.d.ts +9 -2
- package/dist/types/components/switch/common.d.ts +50 -0
- package/dist/types/components/switch/index.vue.d.ts +9 -52
- package/dist/types/components/switchitem/index.vue.d.ts +9 -2
- package/dist/types/components/tabbar/index.vue.d.ts +9 -2
- package/dist/types/components/tabbaritem/index.vue.d.ts +9 -2
- package/dist/types/components/table/index.vue.d.ts +9 -2
- package/dist/types/components/tabpane/index.vue.d.ts +9 -2
- package/dist/types/components/tabs/index.vue.d.ts +9 -3
- package/dist/types/components/tabs/type.d.ts +1 -0
- package/dist/types/components/tag/index.vue.d.ts +9 -3
- package/dist/types/components/tag/type.d.ts +1 -0
- package/dist/types/components/textarea/index.vue.d.ts +9 -44
- package/dist/types/components/textareaitem/index.vue.d.ts +9 -2
- package/dist/types/components/timedetail/index.vue.d.ts +9 -2
- package/dist/types/components/timepannel/index.vue.d.ts +9 -2
- package/dist/types/components/timeselect/index.vue.d.ts +9 -2
- package/dist/types/components/toast/index.vue.d.ts +9 -2
- package/dist/types/components/uploader/index.vue.d.ts +8 -12
- package/dist/types/components/uploader/type.d.ts +14 -0
- package/dist/types/components/uploader/uploader.d.ts +1 -0
- package/dist/types/components/video/index.vue.d.ts +9 -2
- package/dist/types/components/watermark/index.vue.d.ts +13 -0
- package/dist/types/index.d.ts +7 -1
- package/dist/types/utils/commons.d.ts +1 -0
- package/dist/types/utils/domain/page.d.ts +1 -1
- package/dist/types/utils/use-touch/index.d.ts +18 -1
- package/package.json +9 -2
- package/dist/types/components/radio/base-props.d.ts +0 -55
- package/dist/types/shims-vue.d.ts +0 -15
- package/dist/types/vite-env.d.ts +0 -6
|
@@ -2,5 +2,12 @@ import { App, PropType, CSSProperties } from 'vue';
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
3
|
install(app: App): void;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
export default
|
|
5
|
+
declare const _sfc_main: Install< import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>>;
|
|
6
|
+
export default _sfc_main;
|
|
7
|
+
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
Fox : typeof _sfc_main;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
@@ -2,5 +2,12 @@ import { App, PropType, CSSProperties } from 'vue';
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
3
|
install(app: App): void;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
export default
|
|
5
|
+
declare const _sfc_main: Install< import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>>;
|
|
6
|
+
export default _sfc_main;
|
|
7
|
+
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
Fox : typeof _sfc_main;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
@@ -2,5 +2,12 @@ import { App, PropType, CSSProperties } from 'vue';
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
3
|
install(app: App): void;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
export default
|
|
5
|
+
declare const _sfc_main: Install< import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>>;
|
|
6
|
+
export default _sfc_main;
|
|
7
|
+
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
Fox : typeof _sfc_main;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
@@ -2,5 +2,12 @@ import { App, PropType, CSSProperties } from 'vue';
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
3
|
install(app: App): void;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
export default
|
|
5
|
+
declare const _sfc_main: Install< import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>>;
|
|
6
|
+
export default _sfc_main;
|
|
7
|
+
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
Fox : typeof _sfc_main;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
@@ -2,5 +2,12 @@ import { App, PropType, CSSProperties } from 'vue';
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
3
|
install(app: App): void;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
export default
|
|
5
|
+
declare const _sfc_main: Install< import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>>;
|
|
6
|
+
export default _sfc_main;
|
|
7
|
+
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
Fox : typeof _sfc_main;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
@@ -2,6 +2,12 @@ import { App, PropType, CSSProperties } from 'vue';
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
3
|
install(app: App): void;
|
|
4
4
|
};
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
declare const _sfc_main: Install< import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>>;
|
|
6
|
+
export default _sfc_main;
|
|
7
|
+
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
Fox : typeof _sfc_main;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type TabsSize = 'large' | 'normal' | 'small';
|
|
@@ -2,6 +2,12 @@ import { App, PropType, CSSProperties } from 'vue';
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
3
|
install(app: App): void;
|
|
4
4
|
};
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
declare const _sfc_main: Install< import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>>;
|
|
6
|
+
export default _sfc_main;
|
|
7
|
+
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
Fox : typeof _sfc_main;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type TagType = 'primary' | 'success' | 'danger' | 'warning';
|
|
@@ -2,47 +2,12 @@ import { App, PropType, CSSProperties } from 'vue';
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
3
|
install(app: App): void;
|
|
4
4
|
};
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
limitShow: {
|
|
15
|
-
type: BooleanConstructor;
|
|
16
|
-
default: boolean;
|
|
17
|
-
};
|
|
18
|
-
maxLength: {
|
|
19
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
20
|
-
default: string;
|
|
21
|
-
};
|
|
22
|
-
rows: {
|
|
23
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
24
|
-
default: string;
|
|
25
|
-
};
|
|
26
|
-
placeholder: {
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
default: string;
|
|
29
|
-
};
|
|
30
|
-
readonly: {
|
|
31
|
-
type: BooleanConstructor;
|
|
32
|
-
default: boolean;
|
|
33
|
-
};
|
|
34
|
-
disabled: {
|
|
35
|
-
type: BooleanConstructor;
|
|
36
|
-
default: boolean;
|
|
37
|
-
};
|
|
38
|
-
autosize: {
|
|
39
|
-
type: (BooleanConstructor | ObjectConstructor)[];
|
|
40
|
-
default: boolean;
|
|
41
|
-
};
|
|
42
|
-
autofocus: {
|
|
43
|
-
type: BooleanConstructor;
|
|
44
|
-
default: boolean;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
declare const _default: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
48
|
-
export default _default;
|
|
5
|
+
declare const _sfc_main: Install< import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>>;
|
|
6
|
+
export default _sfc_main;
|
|
7
|
+
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
Fox : typeof _sfc_main;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
@@ -2,5 +2,12 @@ import { App, PropType, CSSProperties } from 'vue';
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
3
|
install(app: App): void;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
export default
|
|
5
|
+
declare const _sfc_main: Install< import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>>;
|
|
6
|
+
export default _sfc_main;
|
|
7
|
+
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
Fox : typeof _sfc_main;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
@@ -2,5 +2,12 @@ import { App, PropType, CSSProperties } from 'vue';
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
3
|
install(app: App): void;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
export default
|
|
5
|
+
declare const _sfc_main: Install< import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>>;
|
|
6
|
+
export default _sfc_main;
|
|
7
|
+
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
Fox : typeof _sfc_main;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
@@ -2,5 +2,12 @@ import { App, PropType, CSSProperties } from 'vue';
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
3
|
install(app: App): void;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
export default
|
|
5
|
+
declare const _sfc_main: Install< import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>>;
|
|
6
|
+
export default _sfc_main;
|
|
7
|
+
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
Fox : typeof _sfc_main;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
@@ -2,5 +2,12 @@ import { App, PropType, CSSProperties } from 'vue';
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
3
|
install(app: App): void;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
export default
|
|
5
|
+
declare const _sfc_main: Install< import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>>;
|
|
6
|
+
export default _sfc_main;
|
|
7
|
+
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
Fox : typeof _sfc_main;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
@@ -2,5 +2,12 @@ import { App, PropType, CSSProperties } from 'vue';
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
3
|
install(app: App): void;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
export default
|
|
5
|
+
declare const _sfc_main: Install< import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>>;
|
|
6
|
+
export default _sfc_main;
|
|
7
|
+
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
Fox : typeof _sfc_main;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
@@ -2,16 +2,12 @@ import { App, PropType, CSSProperties } from 'vue';
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
3
|
install(app: App): void;
|
|
4
4
|
};
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
type?: string;
|
|
13
|
-
percentage: string | number;
|
|
14
|
-
formData: FormData;
|
|
5
|
+
declare const _sfc_main: Install< import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>>;
|
|
6
|
+
export default _sfc_main;
|
|
7
|
+
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
Fox : typeof _sfc_main;
|
|
11
|
+
}
|
|
15
12
|
}
|
|
16
|
-
|
|
17
|
-
export default _default;
|
|
13
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare type SizeType = 'original' | 'compressed';
|
|
2
|
+
export declare type SourceType = 'album' | 'camera' | 'user' | 'environment';
|
|
3
|
+
export declare type FileItemStatus = 'ready' | 'uploading' | 'success' | 'error';
|
|
4
|
+
export declare class FileItem {
|
|
5
|
+
status: FileItemStatus;
|
|
6
|
+
message: string;
|
|
7
|
+
uid: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
url?: string;
|
|
10
|
+
type?: string;
|
|
11
|
+
path?: string;
|
|
12
|
+
percentage: string | number;
|
|
13
|
+
formData: any;
|
|
14
|
+
}
|
|
@@ -2,5 +2,12 @@ import { App, PropType, CSSProperties } from 'vue';
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
3
|
install(app: App): void;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
export default
|
|
5
|
+
declare const _sfc_main: Install< import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>>;
|
|
6
|
+
export default _sfc_main;
|
|
7
|
+
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
Fox : typeof _sfc_main;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { App, PropType, CSSProperties } from 'vue';
|
|
2
|
+
declare type Install<T> = T & {
|
|
3
|
+
install(app: App): void;
|
|
4
|
+
};
|
|
5
|
+
declare const _sfc_main: Install< import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>>;
|
|
6
|
+
export default _sfc_main;
|
|
7
|
+
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
Fox : typeof _sfc_main;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
package/dist/types/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ import CellGroup from './components/cellgroup/index.vue';
|
|
|
27
27
|
import Icon from './components/icon/index.vue';
|
|
28
28
|
import OverLay from './components/overlay/index.vue';
|
|
29
29
|
import Popup from './components/popup/index.vue';
|
|
30
|
+
import Image from './components/image/index.vue';
|
|
30
31
|
import Layout from './components/layout/index.vue';
|
|
31
32
|
import Col from './components/col/index.vue';
|
|
32
33
|
import Row from './components/row/index.vue';
|
|
@@ -69,6 +70,7 @@ import Notify from './components/notify/index';
|
|
|
69
70
|
import Switch from './components/switch/index.vue';
|
|
70
71
|
import Toast from './components/toast/index';
|
|
71
72
|
import Audio from './components/audio/index.vue';
|
|
73
|
+
import AudioOperate from './components/audiooperate/index.vue';
|
|
72
74
|
import Avatar from './components/avatar/index.vue';
|
|
73
75
|
import AvatarGroup from './components/avatargroup/index.vue';
|
|
74
76
|
import List from './components/list/index.vue';
|
|
@@ -92,6 +94,9 @@ import Skeleton from './components/skeleton/index.vue';
|
|
|
92
94
|
import Collapse from './components/collapse/index.vue';
|
|
93
95
|
import CollapseItem from './components/collapseitem/index.vue';
|
|
94
96
|
import Table from './components/table/index.vue';
|
|
97
|
+
import Ellipsis from './components/ellipsis/index.vue';
|
|
98
|
+
import Animate from './components/animate/index.vue';
|
|
99
|
+
import WaterMark from './components/watermark/index.vue';
|
|
95
100
|
import Address from './components/address/index.vue';
|
|
96
101
|
import Barrage from './components/barrage/index.vue';
|
|
97
102
|
import Signature from './components/signature/index.vue';
|
|
@@ -108,6 +113,7 @@ import Comment from './components/comment/index.vue';
|
|
|
108
113
|
export * from './utils/commons';
|
|
109
114
|
export * from './utils/functions';
|
|
110
115
|
export * from './utils/date';
|
|
111
|
-
export
|
|
116
|
+
export * from './utils/unique-id';
|
|
117
|
+
export { Page, Header, Footer, Content, Group, Item, Placeholder, InputItem, MoneyItem, TextareaItem, Textarea, PickerItem, CascaderItem, DateItem, CalendarItem, Radio, RadioItem, Checkbox, CheckboxItem, SwitchItem, hinttext, LinkItem, Button, Cell, CellGroup, Icon, OverLay, Popup, Image, Layout, Col, Row, Sticky, Divider, Grid, GridItem, Navbar, FixedNav, Menu, MenuItem, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavBar, SideNavBarItem, SubSideNavBar, Range, SearchBar, Cascader, Calendar, DatePicker, InputNumber, Rate, Picker, ShortPassword, Uploader, NumberKeyboard, Swipe, ActionSheet, BackTop, Drag, Dialog, InfiniteLoading, Notify, Switch, Toast, Audio, AudioOperate, Avatar, AvatarGroup, List, Progress, CircleProgress, NoticeBar, Empty, Video, Steps, Step, Swiper, SwiperItem, Price, ImagePreview, CountUp, CountDown, Badge, Tag, Popover, Skeleton, Collapse, CollapseItem, Table, Ellipsis, Animate, WaterMark, Address, Barrage, Signature, TimeSelect, TimePannel, TimeDetail, Sku, Card, Ecard, AddressList, Category, CategoryPane, Comment };
|
|
112
118
|
declare const _default: FoxUIApp;
|
|
113
119
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { isArray, isMap, isSet, isDate, isFunction, isString, isSymbol, isObject, isPromise, isPlainObject, isESModule, isEqual, toTypeString, toBoolean, toNumber, extend, clone } from '@fox-js/fox';
|
|
2
2
|
export { numberFormat, unNumberFormat, multiply, divide, negate, compareTo } from '@fox-js/big-decimal';
|
|
3
|
+
export declare const isBrowser: boolean;
|
|
3
4
|
export declare const raf: (((callback: FrameRequestCallback) => number) & typeof requestAnimationFrame) | typeof setTimeout;
|
|
4
5
|
export declare function isRegExp(v: unknown): v is RegExp;
|
|
5
6
|
export declare const isEmptyString: (v: unknown) => boolean;
|
|
@@ -11,7 +11,7 @@ export interface PageLayout {
|
|
|
11
11
|
headerHeight: number | string;
|
|
12
12
|
footerHeight: number | string;
|
|
13
13
|
}
|
|
14
|
-
export declare function createPageState(domain: Domain, source?:
|
|
14
|
+
export declare function createPageState(domain: Domain, source?: Record<string, number>): any;
|
|
15
15
|
export declare function getPageHeaderHeight(domain: Domain): number;
|
|
16
16
|
export declare function setPageHeaderHeight(domain: Domain, height: number): void;
|
|
17
17
|
export declare function getPageFooterHeight(domain: Domain): number;
|
|
@@ -1 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
declare type Direction = '' | 'vertical' | 'horizontal';
|
|
2
|
+
export declare function useTouch(): {
|
|
3
|
+
move: EventListener;
|
|
4
|
+
start: EventListener;
|
|
5
|
+
reset: () => void;
|
|
6
|
+
startX: import("vue").Ref<number>;
|
|
7
|
+
startY: import("vue").Ref<number>;
|
|
8
|
+
moveX: import("vue").Ref<number>;
|
|
9
|
+
moveY: import("vue").Ref<number>;
|
|
10
|
+
deltaX: import("vue").Ref<number>;
|
|
11
|
+
deltaY: import("vue").Ref<number>;
|
|
12
|
+
offsetX: import("vue").Ref<number>;
|
|
13
|
+
offsetY: import("vue").Ref<number>;
|
|
14
|
+
direction: import("vue").Ref<Direction>;
|
|
15
|
+
isVertical: () => boolean;
|
|
16
|
+
isHorizontal: () => boolean;
|
|
17
|
+
};
|
|
18
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fox-js/foxui",
|
|
3
|
-
"version": "4.0.1-
|
|
3
|
+
"version": "4.0.1-3",
|
|
4
4
|
"description": "FoxUI轻量级移动端组件库(支持小程序开发)",
|
|
5
5
|
"author": "jiangcheng",
|
|
6
6
|
"main": "dist/foxui.umd.js",
|
|
@@ -12,7 +12,14 @@
|
|
|
12
12
|
},
|
|
13
13
|
"./style.css": "./dist/style.css",
|
|
14
14
|
"./dist/locale": {
|
|
15
|
-
"import":
|
|
15
|
+
"import": {
|
|
16
|
+
"node": "./dist/locale/index.cjs.js",
|
|
17
|
+
"default": "./dist/locale/index.js"
|
|
18
|
+
},
|
|
19
|
+
"require": {
|
|
20
|
+
"node": "./dist/locale/index.cjs.js",
|
|
21
|
+
"default": "./dist/locale/index.cjs.js"
|
|
22
|
+
}
|
|
16
23
|
}
|
|
17
24
|
},
|
|
18
25
|
"style": "dist/style.css",
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
export declare const baseProps: {
|
|
2
|
-
justify: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
align: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
wrap: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
labelWidth: {
|
|
15
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
16
|
-
};
|
|
17
|
-
labelPosition: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
};
|
|
20
|
-
position: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
shape: {
|
|
25
|
-
type: StringConstructor;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
disabled: {
|
|
29
|
-
type: BooleanConstructor;
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
|
-
iconName: {
|
|
33
|
-
type: StringConstructor;
|
|
34
|
-
required: boolean;
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
|
-
iconActiveName: {
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
required: boolean;
|
|
40
|
-
default: string;
|
|
41
|
-
};
|
|
42
|
-
iconSize: {
|
|
43
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
44
|
-
required: boolean;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
iconClassPrefix: {
|
|
48
|
-
type: StringConstructor;
|
|
49
|
-
default: string;
|
|
50
|
-
};
|
|
51
|
-
iconFontClassName: {
|
|
52
|
-
type: StringConstructor;
|
|
53
|
-
default: string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @version: 1.0
|
|
3
|
-
* @Author: 江成
|
|
4
|
-
* @Date: 2022-04-21 11:18:45
|
|
5
|
-
*/
|
|
6
|
-
/*
|
|
7
|
-
* @version: 1.0
|
|
8
|
-
* @Author: 江成
|
|
9
|
-
* @Date: 2022-04-21 11:03:58
|
|
10
|
-
*/
|
|
11
|
-
declare module '*.vue' {
|
|
12
|
-
import type { DefineComponent } from 'vue'
|
|
13
|
-
const component: DefineComponent<{}, {}, any>
|
|
14
|
-
export default component
|
|
15
|
-
}
|