@nutui/nutui 4.0.0-beta.22 → 4.0.0-beta.24
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/nutui.es.js +1 -1
- package/dist/nutui.umd.js +2 -2
- package/dist/packages/_es/Badge.js +2 -2
- package/dist/packages/_es/Cascader.js +1 -1
- package/dist/packages/_es/InputNumber.js +4 -4
- package/dist/packages/_es/Overlay.js +10 -4
- package/dist/packages/_es/Tabs.js +3 -3
- package/dist/packages/ecard/index.scss +19 -5
- package/dist/packages/inputnumber/index.scss +6 -0
- package/dist/packages/tabbaritem/index.scss +2 -0
- package/dist/packages/tour/index.scss +3 -0
- package/dist/smartips/web-types.json +15 -6
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +56 -56
- package/dist/styles/themes/jdb.scss +56 -56
- package/dist/styles/themes/jddkh.scss +56 -56
- package/dist/styles/themes/jdt.scss +56 -56
- package/dist/types/__VUE/actionsheet/index.taro.vue.d.ts +310 -0
- package/dist/types/__VUE/address/index.taro.vue.d.ts +397 -0
- package/dist/types/__VUE/addresslist/components/GeneralShell.taro.vue.d.ts +60 -0
- package/dist/types/__VUE/addresslist/components/ItemContents.taro.vue.d.ts +23 -0
- package/dist/types/__VUE/addresslist/index.taro.vue.d.ts +83 -0
- package/dist/types/__VUE/animate/index.taro.vue.d.ts +54 -0
- package/dist/types/__VUE/avatar/index.taro.vue.d.ts +76 -0
- package/dist/types/__VUE/avatargroup/index.taro.vue.d.ts +92 -0
- package/dist/types/__VUE/backtop/index.taro.vue.d.ts +76 -0
- package/dist/types/__VUE/badge/index.taro.vue.d.ts +93 -0
- package/dist/types/__VUE/barrage/index.taro.vue.d.ts +80 -0
- package/dist/types/__VUE/button/index.taro.vue.d.ts +90 -0
- package/dist/types/__VUE/calendar/index.taro.vue.d.ts +187 -0
- package/dist/types/__VUE/calendaritem/index.taro.vue.d.ts +217 -0
- package/dist/types/__VUE/card/index.taro.vue.d.ts +89 -0
- package/dist/types/__VUE/cascader/cascader-item.taro.vue.d.ts +77 -0
- package/dist/types/__VUE/cascader/index.taro.vue.d.ts +263 -0
- package/dist/types/__VUE/category/index.taro.vue.d.ts +42 -0
- package/dist/types/__VUE/categorypane/index.taro.vue.d.ts +54 -0
- package/dist/types/__VUE/cell/index.taro.vue.d.ts +124 -0
- package/dist/types/__VUE/checkbox/index.taro.vue.d.ts +12 -0
- package/dist/types/__VUE/circleprogress/index.taro.vue.d.ts +93 -0
- package/dist/types/__VUE/collapse/index.taro.vue.d.ts +38 -0
- package/dist/types/__VUE/collapseitem/index.taro.vue.d.ts +111 -0
- package/dist/types/__VUE/comment/components/CmtBottom.taro.vue.d.ts +42 -0
- package/dist/types/__VUE/comment/components/CmtHeader.taro.vue.d.ts +27 -0
- package/dist/types/__VUE/comment/components/CmtImages.taro.vue.d.ts +59 -0
- package/dist/types/__VUE/comment/index.taro.vue.d.ts +119 -0
- package/dist/types/__VUE/configprovider/index.taro.vue.d.ts +45 -0
- package/dist/types/__VUE/countdown/index.taro.vue.d.ts +103 -0
- package/dist/types/__VUE/countup/index.taro.vue.d.ts +213 -0
- package/dist/types/__VUE/datepicker/index.taro.vue.d.ts +232 -0
- package/dist/types/__VUE/dialog/index.taro.vue.d.ts +345 -0
- package/dist/types/__VUE/divider/index.taro.vue.d.ts +53 -0
- package/dist/types/__VUE/drag/index.taro.vue.d.ts +62 -0
- package/dist/types/__VUE/ecard/index.taro.vue.d.ts +128 -0
- package/dist/types/__VUE/elevator/index.taro.vue.d.ts +117 -0
- package/dist/types/__VUE/ellipsis/index.taro.vue.d.ts +103 -0
- package/dist/types/__VUE/empty/index.taro.vue.d.ts +46 -0
- package/dist/types/__VUE/fixednav/index.taro.vue.d.ts +105 -0
- package/dist/types/__VUE/form/index.taro.vue.d.ts +40 -0
- package/dist/types/__VUE/formitem/index.taro.vue.d.ts +114 -0
- package/dist/types/__VUE/grid/index.taro.vue.d.ts +84 -0
- package/dist/types/__VUE/griditem/index.taro.vue.d.ts +22 -0
- package/dist/types/__VUE/icon/index.taro.vue.d.ts +12 -0
- package/dist/types/__VUE/image/index.taro.vue.d.ts +32 -0
- package/dist/types/__VUE/imagepreview/index.taro.vue.d.ts +163 -0
- package/dist/types/__VUE/indicator/index.taro.vue.d.ts +70 -0
- package/dist/types/__VUE/input/index.taro.vue.d.ts +224 -0
- package/dist/types/__VUE/inputnumber/index.taro.vue.d.ts +116 -0
- package/dist/types/__VUE/invoice/index.taro.vue.d.ts +52 -0
- package/dist/types/__VUE/layout/index.taro.vue.d.ts +12 -0
- package/dist/types/__VUE/list/index.taro.vue.d.ts +58 -0
- package/dist/types/__VUE/menu/index.taro.vue.d.ts +93 -0
- package/dist/types/__VUE/menuitem/index.taro.vue.d.ts +89 -0
- package/dist/types/__VUE/navbar/index.taro.vue.d.ts +121 -0
- package/dist/types/__VUE/noticebar/index.taro.vue.d.ts +207 -0
- package/dist/types/__VUE/noticebar/index.vue.d.ts +2 -2
- package/dist/types/__VUE/notify/index.taro.vue.d.ts +110 -0
- package/dist/types/__VUE/numberkeyboard/index.taro.vue.d.ts +132 -0
- package/dist/types/__VUE/overlay/index.taro.vue.d.ts +85 -0
- package/dist/types/__VUE/pagination/index.taro.vue.d.ts +111 -0
- package/dist/types/__VUE/picker/index.taro.vue.d.ts +14 -0
- package/dist/types/__VUE/popover/index.taro.vue.d.ts +192 -0
- package/dist/types/__VUE/popup/index.taro.vue.d.ts +219 -0
- package/dist/types/__VUE/price/index.taro.vue.d.ts +87 -0
- package/dist/types/__VUE/progress/index.taro.vue.d.ts +128 -0
- package/dist/types/__VUE/radio/index.taro.vue.d.ts +53 -0
- package/dist/types/__VUE/range/index.taro.vue.d.ts +158 -0
- package/dist/types/__VUE/rate/index.taro.vue.d.ts +121 -0
- package/dist/types/__VUE/scrollView/index.taro.vue.d.ts +14 -0
- package/dist/types/__VUE/searchbar/index.taro.vue.d.ts +177 -0
- package/dist/types/__VUE/shortpassword/index.taro.vue.d.ts +103 -0
- package/dist/types/__VUE/sidenavbar/index.taro.vue.d.ts +31 -0
- package/dist/types/__VUE/signature/index.taro.vue.d.ts +84 -0
- package/dist/types/__VUE/skeleton/index.taro.vue.d.ts +115 -0
- package/dist/types/__VUE/sku/components/SkuHeader.taro.vue.d.ts +28 -0
- package/dist/types/__VUE/sku/components/SkuStepper.taro.vue.d.ts +56 -0
- package/dist/types/__VUE/sku/index.taro.vue.d.ts +146 -0
- package/dist/types/__VUE/steps/index.taro.vue.d.ts +46 -0
- package/dist/types/__VUE/sticky/index.taro.vue.d.ts +47 -0
- package/dist/types/__VUE/subsidenavbar/index.taro.vue.d.ts +53 -0
- package/dist/types/__VUE/swipe/index.taro.vue.d.ts +71 -0
- package/dist/types/__VUE/swiper/index.taro.vue.d.ts +168 -0
- package/dist/types/__VUE/swiperitem/index.taro.vue.d.ts +18 -0
- package/dist/types/__VUE/switch/index.taro.vue.d.ts +108 -0
- package/dist/types/__VUE/tabbar/index.taro.vue.d.ts +93 -0
- package/dist/types/__VUE/tabbaritem/index.taro.vue.d.ts +59 -0
- package/dist/types/__VUE/table/index.taro.vue.d.ts +80 -0
- package/dist/types/__VUE/tabs/index.taro.vue.d.ts +164 -0
- package/dist/types/__VUE/tag/index.taro.vue.d.ts +90 -0
- package/dist/types/__VUE/textarea/index.taro.vue.d.ts +127 -0
- package/dist/types/__VUE/timedetail/index.taro.vue.d.ts +38 -0
- package/dist/types/__VUE/timepannel/index.taro.vue.d.ts +42 -0
- package/dist/types/__VUE/timeselect/index.taro.vue.d.ts +91 -0
- package/dist/types/__VUE/toast/index.taro.vue.d.ts +184 -0
- package/dist/types/__VUE/tour/index.taro.vue.d.ts +192 -0
- package/dist/types/__VUE/trendarrow/index.taro.vue.d.ts +105 -0
- package/dist/types/__VUE/uploader/index.taro.vue.d.ts +260 -0
- package/dist/types/__VUE/watermark/index.taro.vue.d.ts +175 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/nutui.taro.vue.build.d.ts +106 -0
- package/package.json +2 -1
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
stepperMax: {
|
|
3
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
stepperMin: {
|
|
7
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
stepperExtraText: {
|
|
11
|
+
type: (BooleanConstructor | FunctionConstructor)[];
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
stepperTitle: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
}, {
|
|
19
|
+
goodsCount: any;
|
|
20
|
+
add: (value: number) => void;
|
|
21
|
+
reduce: (value: number) => void;
|
|
22
|
+
overlimit: (e: Event, action: string) => void;
|
|
23
|
+
getExtraText: () => any;
|
|
24
|
+
changeStepper: (value: number) => void;
|
|
25
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reduce" | "click" | "add" | "changeSku" | "changeStepper" | "clickBtnOptions" | "overLimit")[], "reduce" | "click" | "add" | "changeSku" | "changeStepper" | "clickBtnOptions" | "overLimit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
stepperMax: {
|
|
27
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
28
|
+
default: number;
|
|
29
|
+
};
|
|
30
|
+
stepperMin: {
|
|
31
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
32
|
+
default: number;
|
|
33
|
+
};
|
|
34
|
+
stepperExtraText: {
|
|
35
|
+
type: (BooleanConstructor | FunctionConstructor)[];
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
stepperTitle: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
}>> & {
|
|
43
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
44
|
+
onAdd?: ((...args: any[]) => any) | undefined;
|
|
45
|
+
onReduce?: ((...args: any[]) => any) | undefined;
|
|
46
|
+
onChangeSku?: ((...args: any[]) => any) | undefined;
|
|
47
|
+
onChangeStepper?: ((...args: any[]) => any) | undefined;
|
|
48
|
+
onClickBtnOptions?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
onOverLimit?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
stepperMax: string | number;
|
|
52
|
+
stepperMin: string | number;
|
|
53
|
+
stepperExtraText: boolean | Function;
|
|
54
|
+
stepperTitle: string;
|
|
55
|
+
}>;
|
|
56
|
+
export default _default;
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
declare type Install<T> = T & {
|
|
4
|
+
install(app: import('vue').App): void;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: Install< import("vue").DefineComponent<{
|
|
7
|
+
visible: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
sku: {
|
|
12
|
+
type: ArrayConstructor;
|
|
13
|
+
default: never[];
|
|
14
|
+
};
|
|
15
|
+
goods: {
|
|
16
|
+
type: ObjectConstructor;
|
|
17
|
+
default: {};
|
|
18
|
+
};
|
|
19
|
+
stepperMax: {
|
|
20
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
stepperMin: {
|
|
24
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
25
|
+
default: number;
|
|
26
|
+
};
|
|
27
|
+
btnOptions: {
|
|
28
|
+
type: PropType<string[]>;
|
|
29
|
+
default: () => string[];
|
|
30
|
+
};
|
|
31
|
+
stepperTitle: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
stepperExtraText: {
|
|
36
|
+
type: (BooleanConstructor | FunctionConstructor)[];
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
btnExtraText: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
buyText: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
addCartText: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
confirmText: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
}, {
|
|
56
|
+
showPopup: any;
|
|
57
|
+
closePopup: (type: string) => void;
|
|
58
|
+
selectSku: (skus: any) => void;
|
|
59
|
+
changeStepper: (value: number) => void;
|
|
60
|
+
stepperOverLimit: (count: any) => void;
|
|
61
|
+
clickBtnOperate: (btn: string) => void;
|
|
62
|
+
add: (value: number) => void;
|
|
63
|
+
reduce: (value: number) => void;
|
|
64
|
+
getSlots: (name: string) => import("vue").Slot | undefined;
|
|
65
|
+
translate: (keyPath: string, ...args: unknown[]) => string;
|
|
66
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reduce" | "close" | "click-close-icon" | "click-overlay" | "update:visible" | "add" | "select-sku" | "change-stepper" | "click-btn-operate" | "over-limit")[], "reduce" | "close" | "click-close-icon" | "click-overlay" | "update:visible" | "add" | "select-sku" | "change-stepper" | "click-btn-operate" | "over-limit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
67
|
+
visible: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
sku: {
|
|
72
|
+
type: ArrayConstructor;
|
|
73
|
+
default: never[];
|
|
74
|
+
};
|
|
75
|
+
goods: {
|
|
76
|
+
type: ObjectConstructor;
|
|
77
|
+
default: {};
|
|
78
|
+
};
|
|
79
|
+
stepperMax: {
|
|
80
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
81
|
+
default: number;
|
|
82
|
+
};
|
|
83
|
+
stepperMin: {
|
|
84
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
85
|
+
default: number;
|
|
86
|
+
};
|
|
87
|
+
btnOptions: {
|
|
88
|
+
type: PropType<string[]>;
|
|
89
|
+
default: () => string[];
|
|
90
|
+
};
|
|
91
|
+
stepperTitle: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
stepperExtraText: {
|
|
96
|
+
type: (BooleanConstructor | FunctionConstructor)[];
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
btnExtraText: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
buyText: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
addCartText: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
confirmText: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
115
|
+
}>> & {
|
|
116
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
117
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
118
|
+
onAdd?: ((...args: any[]) => any) | undefined;
|
|
119
|
+
onReduce?: ((...args: any[]) => any) | undefined;
|
|
120
|
+
"onClick-close-icon"?: ((...args: any[]) => any) | undefined;
|
|
121
|
+
"onClick-overlay"?: ((...args: any[]) => any) | undefined;
|
|
122
|
+
"onSelect-sku"?: ((...args: any[]) => any) | undefined;
|
|
123
|
+
"onChange-stepper"?: ((...args: any[]) => any) | undefined;
|
|
124
|
+
"onClick-btn-operate"?: ((...args: any[]) => any) | undefined;
|
|
125
|
+
"onOver-limit"?: ((...args: any[]) => any) | undefined;
|
|
126
|
+
}, {
|
|
127
|
+
visible: boolean;
|
|
128
|
+
confirmText: string;
|
|
129
|
+
sku: unknown[];
|
|
130
|
+
goods: Record<string, any>;
|
|
131
|
+
stepperMax: string | number;
|
|
132
|
+
stepperMin: string | number;
|
|
133
|
+
stepperExtraText: boolean | Function;
|
|
134
|
+
stepperTitle: string;
|
|
135
|
+
btnOptions: string[];
|
|
136
|
+
btnExtraText: string;
|
|
137
|
+
buyText: string;
|
|
138
|
+
addCartText: string;
|
|
139
|
+
}>>;
|
|
140
|
+
export default _default;
|
|
141
|
+
|
|
142
|
+
declare module 'vue' {
|
|
143
|
+
interface GlobalComponents {
|
|
144
|
+
NutSku: typeof _default;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
|
|
2
|
+
declare type Install<T> = T & {
|
|
3
|
+
install(app: import('vue').App): void;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
|
+
direction: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
current: {
|
|
11
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
progressDot: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click-step"[], "click-step", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
direction: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
current: {
|
|
26
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
progressDot: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
}>> & {
|
|
34
|
+
"onClick-step"?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
direction: string;
|
|
37
|
+
current: string | number;
|
|
38
|
+
progressDot: boolean;
|
|
39
|
+
}>>;
|
|
40
|
+
export default _default;
|
|
41
|
+
|
|
42
|
+
declare module 'vue' {
|
|
43
|
+
interface GlobalComponents {
|
|
44
|
+
NutSteps: typeof _default;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
|
|
2
|
+
declare type Install<T> = T & {
|
|
3
|
+
install(app: import('vue').App): void;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
|
+
top: {
|
|
7
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
zIndex: {
|
|
11
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
parentHeight: {
|
|
15
|
+
type: NumberConstructor[];
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "change")[], "scroll" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
top: {
|
|
22
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
23
|
+
default: number;
|
|
24
|
+
};
|
|
25
|
+
zIndex: {
|
|
26
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
parentHeight: {
|
|
30
|
+
type: NumberConstructor[];
|
|
31
|
+
default: number;
|
|
32
|
+
};
|
|
33
|
+
}>> & {
|
|
34
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
onScroll?: ((...args: any[]) => any) | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
zIndex: string | number;
|
|
38
|
+
top: string | number;
|
|
39
|
+
parentHeight: number;
|
|
40
|
+
}>>;
|
|
41
|
+
export default _default;
|
|
42
|
+
|
|
43
|
+
declare module 'vue' {
|
|
44
|
+
interface GlobalComponents {
|
|
45
|
+
NutSticky: typeof _default;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
|
|
2
|
+
declare type Install<T> = T & {
|
|
3
|
+
install(app: import('vue').App): void;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
|
+
title: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
ikey: {
|
|
11
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
open: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
}, {
|
|
19
|
+
classes: import("vue").ComputedRef<{
|
|
20
|
+
[x: string]: boolean;
|
|
21
|
+
}>;
|
|
22
|
+
style: import("vue").ComputedRef<{
|
|
23
|
+
height: string;
|
|
24
|
+
}>;
|
|
25
|
+
handleClick: () => void;
|
|
26
|
+
direction: import("vue").Ref<string>;
|
|
27
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "title-click"[], "title-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
title: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
ikey: {
|
|
33
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
open: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
}>> & {
|
|
41
|
+
"onTitle-click"?: ((...args: any[]) => any) | undefined;
|
|
42
|
+
}, {
|
|
43
|
+
title: string;
|
|
44
|
+
open: boolean;
|
|
45
|
+
ikey: string | number;
|
|
46
|
+
}>>;
|
|
47
|
+
export default _default;
|
|
48
|
+
|
|
49
|
+
declare module 'vue' {
|
|
50
|
+
interface GlobalComponents {
|
|
51
|
+
NutSubSideNavbar: typeof _default;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export type SwipePosition = 'left' | 'right' | '';
|
|
3
|
+
|
|
4
|
+
declare type Install<T> = T & {
|
|
5
|
+
install(app: import('vue').App): void;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
|
+
name: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
touchMoveStopPropagation: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
touchMovePreventDefault: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
disabled: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
}, {
|
|
25
|
+
leftRef: Ref<HTMLElement | undefined>;
|
|
26
|
+
rightRef: Ref<HTMLElement | undefined>;
|
|
27
|
+
refRandomId: string;
|
|
28
|
+
open: (p?: SwipePosition) => void;
|
|
29
|
+
close: () => void;
|
|
30
|
+
onTouchStart(event: Event): void;
|
|
31
|
+
onTouchMove(event: Event): Promise<void>;
|
|
32
|
+
onTouchEnd(): void;
|
|
33
|
+
classes: import("vue").ComputedRef<{
|
|
34
|
+
[x: string]: boolean;
|
|
35
|
+
}>;
|
|
36
|
+
touchStyle: import("vue").ComputedRef<{
|
|
37
|
+
transform: string;
|
|
38
|
+
}>;
|
|
39
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "open")[], "close" | "open", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
+
name: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
touchMoveStopPropagation: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
touchMovePreventDefault: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
disabled: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
}>> & {
|
|
57
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
58
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
59
|
+
}, {
|
|
60
|
+
name: string;
|
|
61
|
+
disabled: boolean;
|
|
62
|
+
touchMoveStopPropagation: boolean;
|
|
63
|
+
touchMovePreventDefault: boolean;
|
|
64
|
+
}>>;
|
|
65
|
+
export default _default;
|
|
66
|
+
|
|
67
|
+
declare module 'vue' {
|
|
68
|
+
interface GlobalComponents {
|
|
69
|
+
NutSwipe: typeof _default;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import { ComponentPublicInstance, VNode } from 'vue';
|
|
2
|
+
|
|
3
|
+
declare type Install<T> = T & {
|
|
4
|
+
install(app: import('vue').App): void;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: Install< import("vue").DefineComponent<{
|
|
7
|
+
width: {
|
|
8
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
height: {
|
|
12
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
direction: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
paginationVisible: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
paginationColor: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
loop: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
duration: {
|
|
32
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
33
|
+
default: number;
|
|
34
|
+
};
|
|
35
|
+
autoPlay: {
|
|
36
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
37
|
+
default: number;
|
|
38
|
+
};
|
|
39
|
+
initPage: {
|
|
40
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
41
|
+
default: number;
|
|
42
|
+
};
|
|
43
|
+
touchable: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
isPreventDefault: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
isStopPropagation: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
}, {
|
|
56
|
+
state: {
|
|
57
|
+
active: number;
|
|
58
|
+
num: number;
|
|
59
|
+
rect: {
|
|
60
|
+
height: number;
|
|
61
|
+
width: number;
|
|
62
|
+
x: number;
|
|
63
|
+
y: number;
|
|
64
|
+
readonly bottom: number;
|
|
65
|
+
readonly left: number;
|
|
66
|
+
readonly right: number;
|
|
67
|
+
readonly top: number;
|
|
68
|
+
toJSON: () => any;
|
|
69
|
+
} | null;
|
|
70
|
+
width: number;
|
|
71
|
+
height: number;
|
|
72
|
+
moving: boolean;
|
|
73
|
+
offset: number;
|
|
74
|
+
touchTime: number;
|
|
75
|
+
autoplayTimer: number | undefined;
|
|
76
|
+
children: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>[];
|
|
77
|
+
childrenVNode: VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
78
|
+
[key: string]: any;
|
|
79
|
+
}>[];
|
|
80
|
+
style: {};
|
|
81
|
+
};
|
|
82
|
+
refRandomId: string;
|
|
83
|
+
classes: import("vue").ComputedRef<{
|
|
84
|
+
[x: string]: boolean;
|
|
85
|
+
}>;
|
|
86
|
+
classesPagination: import("vue").ComputedRef<{
|
|
87
|
+
[x: string]: boolean;
|
|
88
|
+
}>;
|
|
89
|
+
classesInner: import("vue").ComputedRef<{
|
|
90
|
+
[x: string]: boolean;
|
|
91
|
+
}>;
|
|
92
|
+
container: import("vue").Ref<HTMLElement | undefined>;
|
|
93
|
+
activePagination: import("vue").ComputedRef<number>;
|
|
94
|
+
onTouchStart: (e: TouchEvent) => void;
|
|
95
|
+
onTouchMove: (e: TouchEvent) => void;
|
|
96
|
+
onTouchEnd: (e: TouchEvent) => void;
|
|
97
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
98
|
+
width: {
|
|
99
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
100
|
+
default: number;
|
|
101
|
+
};
|
|
102
|
+
height: {
|
|
103
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
104
|
+
default: number;
|
|
105
|
+
};
|
|
106
|
+
direction: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
paginationVisible: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
paginationColor: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
loop: {
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
default: boolean;
|
|
121
|
+
};
|
|
122
|
+
duration: {
|
|
123
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
124
|
+
default: number;
|
|
125
|
+
};
|
|
126
|
+
autoPlay: {
|
|
127
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
128
|
+
default: number;
|
|
129
|
+
};
|
|
130
|
+
initPage: {
|
|
131
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
132
|
+
default: number;
|
|
133
|
+
};
|
|
134
|
+
touchable: {
|
|
135
|
+
type: BooleanConstructor;
|
|
136
|
+
default: boolean;
|
|
137
|
+
};
|
|
138
|
+
isPreventDefault: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
142
|
+
isStopPropagation: {
|
|
143
|
+
type: BooleanConstructor;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
146
|
+
}>> & {
|
|
147
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
148
|
+
}, {
|
|
149
|
+
duration: string | number;
|
|
150
|
+
height: string | number;
|
|
151
|
+
width: string | number;
|
|
152
|
+
loop: boolean;
|
|
153
|
+
direction: string;
|
|
154
|
+
paginationVisible: boolean;
|
|
155
|
+
paginationColor: string;
|
|
156
|
+
autoPlay: string | number;
|
|
157
|
+
initPage: string | number;
|
|
158
|
+
touchable: boolean;
|
|
159
|
+
isPreventDefault: boolean;
|
|
160
|
+
isStopPropagation: boolean;
|
|
161
|
+
}>>;
|
|
162
|
+
export default _default;
|
|
163
|
+
|
|
164
|
+
declare module 'vue' {
|
|
165
|
+
interface GlobalComponents {
|
|
166
|
+
NutSwiper: typeof _default;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
|
|
3
|
+
declare type Install<T> = T & {
|
|
4
|
+
install(app: import('vue').App): void;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: Install< import("vue").DefineComponent<{}, {
|
|
7
|
+
style: ComputedRef<any>;
|
|
8
|
+
classes: ComputedRef<{
|
|
9
|
+
[x: string]: boolean;
|
|
10
|
+
}>;
|
|
11
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
12
|
+
export default _default;
|
|
13
|
+
|
|
14
|
+
declare module 'vue' {
|
|
15
|
+
interface GlobalComponents {
|
|
16
|
+
NutSwiperItem: typeof _default;
|
|
17
|
+
}
|
|
18
|
+
}
|