@fox-js/foxui 3.0.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/foxui.es.js +24764 -0
- package/dist/foxui.umd.js +21 -0
- package/dist/locale/index.cjs.js +1 -0
- package/dist/locale/index.d.ts +396 -0
- package/dist/locale/index.js +405 -0
- package/dist/style.css +1 -0
- package/dist/style.es.js +2 -0
- package/dist/types/api/index.d.ts +9 -0
- package/dist/types/components/actionsheet/index.vue.d.ts +13 -0
- package/dist/types/components/address/index.vue.d.ts +13 -0
- package/dist/types/components/addresslist/components/GeneralShell.vue.d.ts +13 -0
- package/dist/types/components/addresslist/components/ItemContents.vue.d.ts +13 -0
- package/dist/types/components/addresslist/components/LongPressShell.vue.d.ts +13 -0
- package/dist/types/components/addresslist/components/SwipeShell.vue.d.ts +13 -0
- package/dist/types/components/addresslist/index.vue.d.ts +13 -0
- 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 +13 -0
- package/dist/types/components/audiooperate/index.vue.d.ts +13 -0
- package/dist/types/components/avatar/index.vue.d.ts +13 -0
- package/dist/types/components/avatargroup/index.vue.d.ts +13 -0
- package/dist/types/components/backtop/index.vue.d.ts +13 -0
- package/dist/types/components/badge/index.vue.d.ts +13 -0
- package/dist/types/components/barrage/index.vue.d.ts +13 -0
- package/dist/types/components/button/index.vue.d.ts +13 -0
- 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 +13 -0
- package/dist/types/components/calendar/pane.vue.d.ts +13 -0
- 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 +13 -0
- package/dist/types/components/card/index.vue.d.ts +13 -0
- package/dist/types/components/cascader/cascader-pane.vue.d.ts +13 -0
- package/dist/types/components/cascader/common.d.ts +98 -0
- package/dist/types/components/cascader/helper.d.ts +4 -0
- package/dist/types/components/cascader/index.vue.d.ts +13 -0
- package/dist/types/components/cascader/tree.d.ts +12 -0
- package/dist/types/components/cascader/types.d.ts +26 -0
- package/dist/types/components/cascaderitem/index.vue.d.ts +13 -0
- package/dist/types/components/cascaderitem/model.d.ts +34 -0
- package/dist/types/components/category/index.vue.d.ts +13 -0
- package/dist/types/components/categorypane/index.vue.d.ts +13 -0
- package/dist/types/components/cell/index.vue.d.ts +13 -0
- package/dist/types/components/cellgroup/index.vue.d.ts +13 -0
- package/dist/types/components/checkbox/common.d.ts +64 -0
- package/dist/types/components/checkbox/index.vue.d.ts +13 -0
- package/dist/types/components/checkboxitem/common.d.ts +107 -0
- package/dist/types/components/checkboxitem/index.vue.d.ts +13 -0
- package/dist/types/components/checkboxitem/model.d.ts +33 -0
- package/dist/types/components/circleprogress/index.vue.d.ts +13 -0
- package/dist/types/components/col/index.vue.d.ts +13 -0
- package/dist/types/components/collapse/index.vue.d.ts +13 -0
- package/dist/types/components/collapseitem/index.vue.d.ts +13 -0
- package/dist/types/components/comment/components/CmtBottom.vue.d.ts +13 -0
- package/dist/types/components/comment/components/CmtHeader.vue.d.ts +13 -0
- package/dist/types/components/comment/components/CmtImages.vue.d.ts +13 -0
- package/dist/types/components/comment/index.vue.d.ts +13 -0
- package/dist/types/components/content/index.vue.d.ts +13 -0
- package/dist/types/components/countdown/index.vue.d.ts +13 -0
- package/dist/types/components/countdown/util.d.ts +2 -0
- package/dist/types/components/countup/index.vue.d.ts +13 -0
- package/dist/types/components/dateitem/index.vue.d.ts +13 -0
- package/dist/types/components/datepicker/common.d.ts +55 -0
- package/dist/types/components/datepicker/index.vue.d.ts +13 -0
- package/dist/types/components/dialog/index.d.ts +44 -0
- package/dist/types/components/dialog/index.vue.d.ts +13 -0
- package/dist/types/components/divider/index.vue.d.ts +13 -0
- package/dist/types/components/drag/index.vue.d.ts +13 -0
- package/dist/types/components/ecard/index.vue.d.ts +13 -0
- package/dist/types/components/elevator/index.vue.d.ts +13 -0
- 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 +13 -0
- package/dist/types/components/fixednav/index.vue.d.ts +13 -0
- package/dist/types/components/footer/index.vue.d.ts +13 -0
- package/dist/types/components/grid/common.d.ts +87 -0
- package/dist/types/components/grid/index.vue.d.ts +13 -0
- package/dist/types/components/griditem/index.vue.d.ts +13 -0
- package/dist/types/components/group/group-props.d.ts +34 -0
- package/dist/types/components/group/index.vue.d.ts +13 -0
- package/dist/types/components/header/index.vue.d.ts +13 -0
- package/dist/types/components/header/types.d.ts +9 -0
- package/dist/types/components/hinttext/index.d.ts +8 -0
- package/dist/types/components/hinttext/index.vue.d.ts +13 -0
- package/dist/types/components/icon/index.vue.d.ts +13 -0
- 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 +20 -0
- package/dist/types/components/imagepreview/index.vue.d.ts +13 -0
- package/dist/types/components/indicator/index.vue.d.ts +13 -0
- package/dist/types/components/infiniteloading/index.vue.d.ts +13 -0
- package/dist/types/components/inputitem/index.vue.d.ts +13 -0
- package/dist/types/components/inputnumber/index.vue.d.ts +13 -0
- package/dist/types/components/item/common.d.ts +121 -0
- package/dist/types/components/item/index.vue.d.ts +13 -0
- package/dist/types/components/layout/index.vue.d.ts +13 -0
- package/dist/types/components/linkitem/common.d.ts +132 -0
- package/dist/types/components/linkitem/index.vue.d.ts +13 -0
- package/dist/types/components/list/index.vue.d.ts +13 -0
- package/dist/types/components/menu/index.vue.d.ts +13 -0
- package/dist/types/components/menuitem/index.vue.d.ts +13 -0
- package/dist/types/components/menuitem/type.d.ts +4 -0
- package/dist/types/components/moneyitem/index.vue.d.ts +13 -0
- package/dist/types/components/moneyitem/util.d.ts +15 -0
- package/dist/types/components/navbar/index.vue.d.ts +13 -0
- package/dist/types/components/noticebar/index.vue.d.ts +13 -0
- package/dist/types/components/notify/index.d.ts +12 -0
- package/dist/types/components/notify/index.vue.d.ts +13 -0
- package/dist/types/components/numberkeyboard/index.vue.d.ts +13 -0
- package/dist/types/components/overlay/common.d.ts +30 -0
- package/dist/types/components/overlay/index.taro.vue.d.ts +13 -0
- package/dist/types/components/overlay/index.vue.d.ts +13 -0
- package/dist/types/components/page/index.vue.d.ts +13 -0
- package/dist/types/components/pagination/index.vue.d.ts +13 -0
- package/dist/types/components/picker/column.vue.d.ts +13 -0
- package/dist/types/components/picker/common-column.d.ts +26 -0
- package/dist/types/components/picker/common.d.ts +143 -0
- package/dist/types/components/picker/index.vue.d.ts +13 -0
- package/dist/types/components/picker/model.d.ts +55 -0
- package/dist/types/components/pickeritem/index.vue.d.ts +13 -0
- package/dist/types/components/placeholder/index.vue.d.ts +13 -0
- package/dist/types/components/popover/index.vue.d.ts +13 -0
- 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 +13 -0
- package/dist/types/components/popup/use-lock-scroll.d.ts +1 -0
- package/dist/types/components/price/index.vue.d.ts +13 -0
- package/dist/types/components/price/price-props.d.ts +37 -0
- package/dist/types/components/progress/index.vue.d.ts +13 -0
- package/dist/types/components/radio/common.d.ts +125 -0
- package/dist/types/components/radio/index.vue.d.ts +13 -0
- package/dist/types/components/radioitem/common.d.ts +99 -0
- package/dist/types/components/radioitem/index.vue.d.ts +13 -0
- package/dist/types/components/radioitem/model.d.ts +33 -0
- package/dist/types/components/range/index.vue.d.ts +13 -0
- package/dist/types/components/rate/index.vue.d.ts +13 -0
- package/dist/types/components/row/index.vue.d.ts +13 -0
- package/dist/types/components/searchbar/index.vue.d.ts +13 -0
- package/dist/types/components/searchbar/type.d.ts +5 -0
- package/dist/types/components/shortpassword/index.vue.d.ts +13 -0
- package/dist/types/components/sidenavbar/index.vue.d.ts +13 -0
- package/dist/types/components/sidenavbaritem/index.vue.d.ts +13 -0
- package/dist/types/components/signature/index.vue.d.ts +13 -0
- package/dist/types/components/skeleton/common.d.ts +57 -0
- package/dist/types/components/skeleton/index.vue.d.ts +13 -0
- package/dist/types/components/sku/components/SkuHeader.vue.d.ts +13 -0
- package/dist/types/components/sku/components/SkuOperate.vue.d.ts +13 -0
- package/dist/types/components/sku/components/SkuSelect.vue.d.ts +13 -0
- package/dist/types/components/sku/components/SkuStepper.vue.d.ts +13 -0
- package/dist/types/components/sku/index.vue.d.ts +13 -0
- package/dist/types/components/step/index.vue.d.ts +13 -0
- package/dist/types/components/steps/index.vue.d.ts +13 -0
- package/dist/types/components/sticky/index.vue.d.ts +13 -0
- package/dist/types/components/subsidenavbar/index.vue.d.ts +13 -0
- package/dist/types/components/swipe/index.vue.d.ts +13 -0
- package/dist/types/components/swipe/type.d.ts +1 -0
- package/dist/types/components/swiper/index.vue.d.ts +13 -0
- package/dist/types/components/swiper/use-touch.d.ts +16 -0
- package/dist/types/components/swiperitem/index.vue.d.ts +13 -0
- package/dist/types/components/switch/common.d.ts +50 -0
- package/dist/types/components/switch/index.vue.d.ts +13 -0
- package/dist/types/components/switchitem/index.vue.d.ts +13 -0
- package/dist/types/components/tabbar/index.vue.d.ts +13 -0
- package/dist/types/components/tabbaritem/index.vue.d.ts +13 -0
- package/dist/types/components/table/common.d.ts +52 -0
- package/dist/types/components/table/index.vue.d.ts +13 -0
- package/dist/types/components/table/renderColumn.d.ts +11 -0
- package/dist/types/components/table/types.d.ts +15 -0
- package/dist/types/components/tabpane/index.vue.d.ts +13 -0
- package/dist/types/components/tabs/index.vue.d.ts +13 -0
- package/dist/types/components/tabs/type.d.ts +1 -0
- package/dist/types/components/tag/index.vue.d.ts +13 -0
- package/dist/types/components/tag/type.d.ts +1 -0
- package/dist/types/components/textarea/index.vue.d.ts +13 -0
- package/dist/types/components/textareaitem/index.vue.d.ts +13 -0
- package/dist/types/components/timedetail/index.vue.d.ts +13 -0
- package/dist/types/components/timepannel/index.vue.d.ts +13 -0
- package/dist/types/components/timeselect/index.vue.d.ts +13 -0
- package/dist/types/components/toast/index.d.ts +12 -0
- package/dist/types/components/toast/index.vue.d.ts +13 -0
- package/dist/types/components/uploader/index.vue.d.ts +13 -0
- package/dist/types/components/uploader/type.d.ts +14 -0
- package/dist/types/components/uploader/uploader.d.ts +22 -0
- package/dist/types/components/video/index.vue.d.ts +13 -0
- package/dist/types/components/watermark/index.vue.d.ts +13 -0
- package/dist/types/index.d.ts +119 -0
- package/dist/types/interface.d.ts +24 -0
- package/dist/types/main.d.ts +17 -0
- package/dist/types/utils/commons.d.ts +16 -0
- package/dist/types/utils/create/component.d.ts +18 -0
- package/dist/types/utils/create/index.d.ts +1 -0
- package/dist/types/utils/date.d.ts +16 -0
- package/dist/types/utils/domain/broadcast.d.ts +28 -0
- package/dist/types/utils/domain/domain.d.ts +46 -0
- package/dist/types/utils/domain/events.d.ts +14 -0
- package/dist/types/utils/domain/group.d.ts +17 -0
- package/dist/types/utils/domain/index.d.ts +5 -0
- package/dist/types/utils/domain/item.d.ts +15 -0
- package/dist/types/utils/domain/page.d.ts +25 -0
- package/dist/types/utils/domain/validator.d.ts +56 -0
- package/dist/types/utils/functions.d.ts +3 -0
- package/dist/types/utils/px.d.ts +2 -0
- package/dist/types/utils/types.d.ts +9 -0
- package/dist/types/utils/unique-id.d.ts +5 -0
- package/dist/types/utils/use-expose/index.d.ts +1 -0
- package/dist/types/utils/use-rect/index.d.ts +11 -0
- package/dist/types/utils/use-relation/index.d.ts +3 -0
- package/dist/types/utils/use-relation/useInject.d.ts +14 -0
- package/dist/types/utils/use-relation/useProvide.d.ts +8 -0
- package/dist/types/utils/use-relation/useRelation.d.ts +1 -0
- package/dist/types/utils/use-touch/index.d.ts +18 -0
- package/package.json +36 -75
- package/README.md +0 -73
- package/dist/index.js +0 -2
- package/dist/index.js.LICENSE.txt +0 -3
- package/dist/static/font/2a312d2206af9eefb8dc.ttf +0 -0
- package/dist/static/font/4fd20882d9cbe2fdc5b8.ttf +0 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
export declare let cascaderProps: {
|
|
2
|
+
modelValue: ArrayConstructor;
|
|
3
|
+
visible: BooleanConstructor;
|
|
4
|
+
title: StringConstructor;
|
|
5
|
+
options: {
|
|
6
|
+
type: ArrayConstructor;
|
|
7
|
+
default: () => never[];
|
|
8
|
+
};
|
|
9
|
+
lazy: BooleanConstructor;
|
|
10
|
+
lazyLoad: FunctionConstructor;
|
|
11
|
+
valueKey: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
textKey: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
childrenKey: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
convertConfig: ObjectConstructor;
|
|
24
|
+
position: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
transition: StringConstructor;
|
|
29
|
+
style: {
|
|
30
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
31
|
+
};
|
|
32
|
+
popClass: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
closeable: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
closeIconPosition: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
closeIcon: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
destroyOnClose: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
teleport: {
|
|
53
|
+
type: (StringConstructor | {
|
|
54
|
+
new (): Element;
|
|
55
|
+
prototype: Element;
|
|
56
|
+
})[];
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
overlay: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
round: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
isWrapTeleport: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
safeAreaInsetBottom: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
zIndex: {
|
|
76
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
77
|
+
default: number;
|
|
78
|
+
};
|
|
79
|
+
duration: {
|
|
80
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
81
|
+
default: number;
|
|
82
|
+
};
|
|
83
|
+
overlayClass: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
lockScroll: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
overlayStyle: {
|
|
92
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
93
|
+
};
|
|
94
|
+
closeOnClickOverlay: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CascaderOption, CascaderConfig, convertConfig } from './types';
|
|
2
|
+
export declare const formatTree: (tree: CascaderOption[], parent: CascaderOption | null, config: CascaderConfig) => CascaderOption[];
|
|
3
|
+
export declare const eachTree: (tree: CascaderOption[], cb: (node: CascaderOption) => any) => void;
|
|
4
|
+
export declare const convertListToOptions: (list: CascaderOption[], options: convertConfig) => CascaderOption[];
|
|
@@ -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
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CascaderOption, CascaderConfig, CascaderValue } from './types';
|
|
2
|
+
declare class Tree {
|
|
3
|
+
nodes: CascaderOption[];
|
|
4
|
+
readonly config: CascaderConfig;
|
|
5
|
+
constructor(nodes: CascaderOption[], config?: CascaderConfig);
|
|
6
|
+
updateChildren(nodes: CascaderOption[], parent: CascaderOption | null): void;
|
|
7
|
+
getNodeByValue(value: CascaderOption['value']): CascaderOption | void;
|
|
8
|
+
getPathNodesByValue(value: CascaderValue): CascaderOption[];
|
|
9
|
+
isLeaf(node: CascaderOption, lazy: boolean): boolean;
|
|
10
|
+
hasChildren(node: CascaderOption, lazy: boolean): boolean;
|
|
11
|
+
}
|
|
12
|
+
export default Tree;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare type CascaderPane = {
|
|
2
|
+
nodes: CascaderOption[];
|
|
3
|
+
selectedNode: CascaderOption | null;
|
|
4
|
+
};
|
|
5
|
+
export declare type CascaderConfig = {
|
|
6
|
+
value?: string;
|
|
7
|
+
text?: string;
|
|
8
|
+
children?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare type CascaderOption = {
|
|
11
|
+
text?: string;
|
|
12
|
+
value?: number | string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
children?: CascaderOption[];
|
|
15
|
+
leaf?: boolean;
|
|
16
|
+
level?: number;
|
|
17
|
+
loading?: boolean;
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
};
|
|
20
|
+
export declare type CascaderValue = CascaderOption['value'][];
|
|
21
|
+
export declare type convertConfig = {
|
|
22
|
+
topId?: string | number | null;
|
|
23
|
+
idKey?: string;
|
|
24
|
+
pidKey?: string;
|
|
25
|
+
sortKey?: string;
|
|
26
|
+
};
|
|
@@ -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
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from 'vue';
|
|
2
|
+
export declare type CascaderOption = {
|
|
3
|
+
text?: string;
|
|
4
|
+
value?: number | string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
children?: CascaderOption[];
|
|
7
|
+
leaf?: boolean;
|
|
8
|
+
level?: number;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
};
|
|
12
|
+
export declare type ValueType = 'value' | 'text' | 'item';
|
|
13
|
+
export interface SourceFunction {
|
|
14
|
+
(params?: any): Promise<CascaderOption[]>;
|
|
15
|
+
}
|
|
16
|
+
export declare type CascaderValue = CascaderOption['value'];
|
|
17
|
+
interface Result {
|
|
18
|
+
texts: string[];
|
|
19
|
+
values: CascaderValue[];
|
|
20
|
+
}
|
|
21
|
+
export declare function getOptionText(props: Record<string, any>, option: CascaderOption): string;
|
|
22
|
+
export declare function getOptionValue(props: Record<string, any>, option: CascaderOption): CascaderValue;
|
|
23
|
+
export declare function getOptionChildren(props: Record<string, any>, option: CascaderOption): CascaderOption[] | undefined;
|
|
24
|
+
export declare function pathNodesToResult(props: Record<string, any>, pathNodes?: CascaderOption[]): Result;
|
|
25
|
+
export declare function textsToPathNodes(props: Record<string, any>, options: CascaderOption[], texts: string[], index: number, pathNodes?: CascaderOption[]): void;
|
|
26
|
+
export declare function valuesToPathNodes(props: Record<string, any>, options: CascaderOption[], values: CascaderValue[], index: number, pathNodes?: CascaderOption[]): void;
|
|
27
|
+
export declare function isSamePathNode(props: Record<string, any>, x: CascaderOption[], y: CascaderOption[]): boolean;
|
|
28
|
+
export declare class Model {
|
|
29
|
+
private proxy;
|
|
30
|
+
constructor(proxy: ComponentPublicInstance);
|
|
31
|
+
load(src: SourceFunction | CascaderOption[] | string, params?: any): Promise<CascaderOption[]>;
|
|
32
|
+
}
|
|
33
|
+
export declare function useModel(): Model;
|
|
34
|
+
export {};
|
|
@@ -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
|
+
|
|
@@ -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
|
+
|
|
@@ -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
|
+
|
|
@@ -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
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
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
|
+
iconIndeterminateName: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
iconSize: {
|
|
47
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
48
|
+
required: boolean;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
iconClassPrefix: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
iconFontClassName: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
indeterminate: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
export declare const component: (componentName: string, foxIcon: object) => any;
|
|
@@ -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
|
+
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { SetupContext, PropType, VNode } from 'vue';
|
|
2
|
+
import { ItemType, ItemOptions, SourceFunction, ValueType } from './model';
|
|
3
|
+
export declare function component(componentName: string, checkbox: any): {
|
|
4
|
+
props: {
|
|
5
|
+
source: {
|
|
6
|
+
type: PropType<string | ItemType[] | SourceFunction>;
|
|
7
|
+
required: boolean;
|
|
8
|
+
};
|
|
9
|
+
params: {
|
|
10
|
+
type: PropType<Record<string, any>>;
|
|
11
|
+
required: boolean;
|
|
12
|
+
};
|
|
13
|
+
valueType: {
|
|
14
|
+
type: PropType<ValueType>;
|
|
15
|
+
required: boolean;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
textName: {
|
|
19
|
+
type: PropType<string>;
|
|
20
|
+
required: boolean;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
valueName: {
|
|
24
|
+
type: PropType<string>;
|
|
25
|
+
required: boolean;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
itemOptions: {
|
|
29
|
+
type: PropType<ItemOptions>;
|
|
30
|
+
required: boolean;
|
|
31
|
+
};
|
|
32
|
+
column: {
|
|
33
|
+
type: PropType<string | number>;
|
|
34
|
+
required: boolean;
|
|
35
|
+
default: number;
|
|
36
|
+
};
|
|
37
|
+
disabled: {
|
|
38
|
+
type: PropType<string | boolean>;
|
|
39
|
+
required: boolean;
|
|
40
|
+
};
|
|
41
|
+
modelValue: {
|
|
42
|
+
type: PropType<string[] | ItemType[] | number[] | boolean[]>;
|
|
43
|
+
default: never[];
|
|
44
|
+
};
|
|
45
|
+
justify: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
align: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
wrap: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
labelWidth: {
|
|
58
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
59
|
+
};
|
|
60
|
+
labelPosition: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
};
|
|
63
|
+
position: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
shape: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
iconName: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
required: boolean;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
iconActiveName: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
required: boolean;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
iconIndeterminateName: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
iconSize: {
|
|
86
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
87
|
+
required: boolean;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
iconClassPrefix: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
iconFontClassName: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
indeterminate: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
emits: string[];
|
|
104
|
+
setup(props: Record<string, any>, context: SetupContext): () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
105
|
+
[key: string]: any;
|
|
106
|
+
}>;
|
|
107
|
+
};
|
|
@@ -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
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from 'vue';
|
|
2
|
+
export interface ItemType {
|
|
3
|
+
text: string;
|
|
4
|
+
value: any;
|
|
5
|
+
[propName: string]: any;
|
|
6
|
+
}
|
|
7
|
+
export declare function getItemIndex(props: Record<string, any>, items: ItemType[], value: number | string | boolean | ItemType, valueType?: ValueType): number;
|
|
8
|
+
export declare function getItemText(props: Record<string, any>, item: ItemType): string;
|
|
9
|
+
export declare function getItemValue(props: Record<string, any>, item: ItemType): string | boolean | number;
|
|
10
|
+
export interface ItemOptionsObject {
|
|
11
|
+
iconName?: string;
|
|
12
|
+
iconActiveName?: string;
|
|
13
|
+
iconSize?: string | number;
|
|
14
|
+
class?: string;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface ItemOptionsFunction {
|
|
18
|
+
(item: ItemType, index: number): ItemOptions | null;
|
|
19
|
+
}
|
|
20
|
+
export declare type ItemOptions = ItemOptionsObject | ItemOptionsFunction;
|
|
21
|
+
export declare function getItemOptions(props: {
|
|
22
|
+
[propName: string]: any;
|
|
23
|
+
}, item: ItemType, index: number): Record<string, any> | null;
|
|
24
|
+
export interface SourceFunction {
|
|
25
|
+
(params?: any): Promise<ItemType[]>;
|
|
26
|
+
}
|
|
27
|
+
export declare type ValueType = 'value' | 'text' | 'item';
|
|
28
|
+
export declare class Model {
|
|
29
|
+
private proxy;
|
|
30
|
+
constructor(proxy: ComponentPublicInstance);
|
|
31
|
+
load(componentType: string, src: SourceFunction | ItemType[] | string, params?: any): Promise<ItemType[]>;
|
|
32
|
+
}
|
|
33
|
+
export declare function useModel(): Model;
|
|
@@ -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
|
+
|
|
@@ -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
|
+
|
|
@@ -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
|
+
|
|
@@ -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
|
+
|
|
@@ -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
|
+
|
|
@@ -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
|
+
|
|
@@ -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
|
+
|
|
@@ -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
|
+
|
|
@@ -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
|
+
|
|
@@ -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
|
+
|