jb-mobile-ui 1.4.1 → 1.4.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/components/JbMobileButton.vue.d.ts +2 -0
- package/dist/components/JbMobileDatePicker.vue.d.ts +202 -98
- package/dist/components/JbMobileEmpty.vue.d.ts +6 -0
- package/dist/components/JbMobileFilter.vue.d.ts +16 -4
- package/dist/components/JbMobilePopup.vue.d.ts +44 -8
- package/dist/components/JbMobileSearchInput.vue.d.ts +33 -0
- package/dist/components/JbMobileSelect.vue.d.ts +53 -11
- package/dist/components/JbMobileTimePicker.vue.d.ts +222 -64
- package/dist/components/JbMobileTreeSelectPopup.vue.d.ts +71 -11
- package/dist/font/D-DIN-PRO-Bold.otf +0 -0
- package/dist/font/D-DIN-PRO-Regular.woff2 +0 -0
- package/dist/font/Noto-Sans-CJK-Thin.woff2 +0 -0
- package/dist/font/NotoSansSC[wght].woff2 +0 -0
- package/dist/hooks/useInfiniteScroll.d.ts +0 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.css +1 -1
- package/dist/index.d.ts +13 -9
- package/dist/index.es.js +319 -146
- package/package.json +1 -1
- package/dist/components/JbMobileSelectFace.vue.d.ts +0 -22
|
@@ -11,18 +11,30 @@ declare function __VLS_template(): {
|
|
|
11
11
|
};
|
|
12
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
13
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
14
|
+
/**
|
|
15
|
+
* 是否显示弹出层,可通过 v-model 进行双向数据绑定
|
|
16
|
+
*/
|
|
14
17
|
visible: {
|
|
15
18
|
type: BooleanConstructor;
|
|
16
19
|
default: boolean;
|
|
17
20
|
};
|
|
21
|
+
/**
|
|
22
|
+
* 弹出层的高度
|
|
23
|
+
*/
|
|
18
24
|
height: {
|
|
19
25
|
type: NumberConstructor;
|
|
20
26
|
default: number;
|
|
21
27
|
};
|
|
28
|
+
/**
|
|
29
|
+
* 弹出层的上边距
|
|
30
|
+
*/
|
|
22
31
|
paddingTop: {
|
|
23
32
|
type: NumberConstructor;
|
|
24
33
|
default: number;
|
|
25
34
|
};
|
|
35
|
+
/**
|
|
36
|
+
* 树结构的数据
|
|
37
|
+
*/
|
|
26
38
|
dataList: {
|
|
27
39
|
type: {
|
|
28
40
|
(arrayLength: number): Record<string, any>[];
|
|
@@ -40,28 +52,46 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
40
52
|
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
41
53
|
readonly [Symbol.species]: ArrayConstructor;
|
|
42
54
|
};
|
|
43
|
-
default:
|
|
55
|
+
default: never[];
|
|
44
56
|
};
|
|
57
|
+
/**
|
|
58
|
+
* 搜索框的输入值,可通过 v-model 进行双向数据绑定
|
|
59
|
+
*/
|
|
45
60
|
searchValue: {
|
|
46
61
|
type: StringConstructor;
|
|
47
62
|
default: string;
|
|
48
63
|
};
|
|
64
|
+
/**
|
|
65
|
+
* 搜索框的提示文案
|
|
66
|
+
*/
|
|
67
|
+
searchInputPlaceholder: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* 树结构的自定义字段,可修改的字段有 label 、 value 和 child
|
|
73
|
+
*/
|
|
49
74
|
fieldNames: {
|
|
50
75
|
type: ObjectConstructor;
|
|
51
76
|
default: () => {};
|
|
52
77
|
};
|
|
78
|
+
/**
|
|
79
|
+
* 默认选择的树结构的值
|
|
80
|
+
*/
|
|
53
81
|
defaultSelectedValue: {
|
|
54
82
|
type: (StringConstructor | NumberConstructor)[];
|
|
55
83
|
default: number;
|
|
56
84
|
};
|
|
85
|
+
/**
|
|
86
|
+
* 树结构在选择父节点时,是否默认选择其第一个子节点
|
|
87
|
+
*/
|
|
57
88
|
isAutoSelectFirstChildren: {
|
|
58
89
|
type: BooleanConstructor;
|
|
59
90
|
default: boolean;
|
|
60
91
|
};
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
};
|
|
92
|
+
/**
|
|
93
|
+
* 是否显示选中状态的图标
|
|
94
|
+
*/
|
|
65
95
|
isShowTickIcon: {
|
|
66
96
|
type: BooleanConstructor;
|
|
67
97
|
default: boolean;
|
|
@@ -71,18 +101,30 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
71
101
|
confirm: (...args: any[]) => void;
|
|
72
102
|
"update:searchValue": (...args: any[]) => void;
|
|
73
103
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
104
|
+
/**
|
|
105
|
+
* 是否显示弹出层,可通过 v-model 进行双向数据绑定
|
|
106
|
+
*/
|
|
74
107
|
visible: {
|
|
75
108
|
type: BooleanConstructor;
|
|
76
109
|
default: boolean;
|
|
77
110
|
};
|
|
111
|
+
/**
|
|
112
|
+
* 弹出层的高度
|
|
113
|
+
*/
|
|
78
114
|
height: {
|
|
79
115
|
type: NumberConstructor;
|
|
80
116
|
default: number;
|
|
81
117
|
};
|
|
118
|
+
/**
|
|
119
|
+
* 弹出层的上边距
|
|
120
|
+
*/
|
|
82
121
|
paddingTop: {
|
|
83
122
|
type: NumberConstructor;
|
|
84
123
|
default: number;
|
|
85
124
|
};
|
|
125
|
+
/**
|
|
126
|
+
* 树结构的数据
|
|
127
|
+
*/
|
|
86
128
|
dataList: {
|
|
87
129
|
type: {
|
|
88
130
|
(arrayLength: number): Record<string, any>[];
|
|
@@ -100,28 +142,46 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
100
142
|
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
101
143
|
readonly [Symbol.species]: ArrayConstructor;
|
|
102
144
|
};
|
|
103
|
-
default:
|
|
145
|
+
default: never[];
|
|
104
146
|
};
|
|
147
|
+
/**
|
|
148
|
+
* 搜索框的输入值,可通过 v-model 进行双向数据绑定
|
|
149
|
+
*/
|
|
105
150
|
searchValue: {
|
|
106
151
|
type: StringConstructor;
|
|
107
152
|
default: string;
|
|
108
153
|
};
|
|
154
|
+
/**
|
|
155
|
+
* 搜索框的提示文案
|
|
156
|
+
*/
|
|
157
|
+
searchInputPlaceholder: {
|
|
158
|
+
type: StringConstructor;
|
|
159
|
+
default: string;
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* 树结构的自定义字段,可修改的字段有 label 、 value 和 child
|
|
163
|
+
*/
|
|
109
164
|
fieldNames: {
|
|
110
165
|
type: ObjectConstructor;
|
|
111
166
|
default: () => {};
|
|
112
167
|
};
|
|
168
|
+
/**
|
|
169
|
+
* 默认选择的树结构的值
|
|
170
|
+
*/
|
|
113
171
|
defaultSelectedValue: {
|
|
114
172
|
type: (StringConstructor | NumberConstructor)[];
|
|
115
173
|
default: number;
|
|
116
174
|
};
|
|
175
|
+
/**
|
|
176
|
+
* 树结构在选择父节点时,是否默认选择其第一个子节点
|
|
177
|
+
*/
|
|
117
178
|
isAutoSelectFirstChildren: {
|
|
118
179
|
type: BooleanConstructor;
|
|
119
180
|
default: boolean;
|
|
120
181
|
};
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
};
|
|
182
|
+
/**
|
|
183
|
+
* 是否显示选中状态的图标
|
|
184
|
+
*/
|
|
125
185
|
isShowTickIcon: {
|
|
126
186
|
type: BooleanConstructor;
|
|
127
187
|
default: boolean;
|
|
@@ -133,11 +193,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
133
193
|
}>, {
|
|
134
194
|
visible: boolean;
|
|
135
195
|
height: number;
|
|
136
|
-
placeholder: string;
|
|
137
196
|
fieldNames: Record<string, any>;
|
|
138
197
|
paddingTop: number;
|
|
139
198
|
dataList: Record<string, any>[];
|
|
140
199
|
searchValue: string;
|
|
200
|
+
searchInputPlaceholder: string;
|
|
141
201
|
defaultSelectedValue: string | number;
|
|
142
202
|
isAutoSelectFirstChildren: boolean;
|
|
143
203
|
isShowTickIcon: boolean;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -3,7 +3,6 @@ export interface InfiniteScrollOptions {
|
|
|
3
3
|
bottomThreshold?: number;
|
|
4
4
|
topThreshold?: number;
|
|
5
5
|
throttleDelay?: number;
|
|
6
|
-
scrollDirectionThreshold?: number;
|
|
7
6
|
disabled?: Ref<boolean>;
|
|
8
7
|
onLoadMore?: () => Promise<void> | void;
|
|
9
8
|
onLoadPrevious?: () => Promise<void> | void;
|