jb-mobile-ui 1.5.2 → 1.5.4
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/JbMobileDatePicker.vue.d.ts +3 -3
- package/dist/components/JbMobilePopup.vue.d.ts +30 -0
- package/dist/components/JbMobileSteps.vue.d.ts +61 -0
- package/dist/components/JbMobileTimePicker.vue.d.ts +3 -3
- package/dist/index.cjs.js +2 -2
- package/dist/index.css +1 -1
- package/dist/index.es.js +114 -60
- package/package.json +1 -1
|
@@ -281,6 +281,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
281
281
|
}> & Omit<{
|
|
282
282
|
readonly type: import('vant').CalendarType;
|
|
283
283
|
readonly round: boolean;
|
|
284
|
+
readonly showTitle: boolean;
|
|
284
285
|
readonly safeAreaInsetBottom: boolean;
|
|
285
286
|
readonly show: boolean;
|
|
286
287
|
readonly lazyRender: boolean;
|
|
@@ -294,7 +295,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
294
295
|
readonly poppable: boolean;
|
|
295
296
|
readonly maxRange: string | number;
|
|
296
297
|
readonly showMark: boolean;
|
|
297
|
-
readonly showTitle: boolean;
|
|
298
298
|
readonly showConfirm: boolean;
|
|
299
299
|
readonly allowSameDay: boolean;
|
|
300
300
|
readonly showSubtitle: boolean;
|
|
@@ -360,7 +360,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
360
360
|
* 日期选择组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
|
|
361
361
|
*/
|
|
362
362
|
...args: any[]) => any) | undefined | undefined;
|
|
363
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "round" | "safeAreaInsetBottom" | "show" | "lazyRender" | "closeOnClickOverlay" | "position" | "closeOnPopstate" | "safeAreaInsetTop" | "firstDayOfWeek" | "switchMode" | "readonly" | "poppable" | "maxRange" | "showMark" | "
|
|
363
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "round" | "showTitle" | "safeAreaInsetBottom" | "show" | "lazyRender" | "closeOnClickOverlay" | "position" | "closeOnPopstate" | "safeAreaInsetTop" | "firstDayOfWeek" | "switchMode" | "readonly" | "poppable" | "maxRange" | "showMark" | "showConfirm" | "allowSameDay" | "showSubtitle" | "showRangePrompt">;
|
|
364
364
|
$attrs: {
|
|
365
365
|
[x: string]: unknown;
|
|
366
366
|
};
|
|
@@ -713,7 +713,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
713
713
|
* 日期选择组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
|
|
714
714
|
*/
|
|
715
715
|
...args: any[]) => any) | undefined;
|
|
716
|
-
}>, "type" | "round" | "safeAreaInsetBottom" | "show" | "lazyRender" | "closeOnClickOverlay" | "position" | "closeOnPopstate" | "safeAreaInsetTop" | "firstDayOfWeek" | "switchMode" | "readonly" | "poppable" | "maxRange" | "showMark" | "
|
|
716
|
+
}>, "type" | "round" | "showTitle" | "safeAreaInsetBottom" | "show" | "lazyRender" | "closeOnClickOverlay" | "position" | "closeOnPopstate" | "safeAreaInsetTop" | "firstDayOfWeek" | "switchMode" | "readonly" | "poppable" | "maxRange" | "showMark" | "showConfirm" | "allowSameDay" | "showSubtitle" | "showRangePrompt"> & import('vue').ShallowUnwrapRef<() => import("vue/jsx-runtime").JSX.Element> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
717
717
|
$props: {
|
|
718
718
|
onClick
|
|
719
719
|
/**
|
|
@@ -17,6 +17,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
17
17
|
type: BooleanConstructor;
|
|
18
18
|
default: boolean;
|
|
19
19
|
};
|
|
20
|
+
/**
|
|
21
|
+
* 是否显示弹出层的标题
|
|
22
|
+
*/
|
|
23
|
+
showTitle: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
20
27
|
/**
|
|
21
28
|
* 弹出层的标题
|
|
22
29
|
*/
|
|
@@ -24,6 +31,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
24
31
|
type: StringConstructor;
|
|
25
32
|
default: string;
|
|
26
33
|
};
|
|
34
|
+
/**
|
|
35
|
+
* 弹出层的副标题
|
|
36
|
+
*/
|
|
37
|
+
subTitle: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
27
41
|
/**
|
|
28
42
|
* 弹出层的标题是否为白色背景
|
|
29
43
|
*/
|
|
@@ -92,6 +106,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
92
106
|
type: BooleanConstructor;
|
|
93
107
|
default: boolean;
|
|
94
108
|
};
|
|
109
|
+
/**
|
|
110
|
+
* 是否显示弹出层的标题
|
|
111
|
+
*/
|
|
112
|
+
showTitle: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
95
116
|
/**
|
|
96
117
|
* 弹出层的标题
|
|
97
118
|
*/
|
|
@@ -99,6 +120,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
99
120
|
type: StringConstructor;
|
|
100
121
|
default: string;
|
|
101
122
|
};
|
|
123
|
+
/**
|
|
124
|
+
* 弹出层的副标题
|
|
125
|
+
*/
|
|
126
|
+
subTitle: {
|
|
127
|
+
type: StringConstructor;
|
|
128
|
+
default: string;
|
|
129
|
+
};
|
|
102
130
|
/**
|
|
103
131
|
* 弹出层的标题是否为白色背景
|
|
104
132
|
*/
|
|
@@ -162,6 +190,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
162
190
|
}>, {
|
|
163
191
|
title: string;
|
|
164
192
|
visible: boolean;
|
|
193
|
+
showTitle: boolean;
|
|
194
|
+
subTitle: string;
|
|
165
195
|
titleWhiteBg: boolean;
|
|
166
196
|
contentHeight: string | number;
|
|
167
197
|
greyBg: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
2
|
attrs: Partial<{}>;
|
|
3
3
|
slots: {
|
|
4
|
+
title?(_: {}): any;
|
|
4
5
|
default?(_: {}): any;
|
|
5
6
|
};
|
|
6
7
|
refs: {};
|
|
@@ -22,6 +23,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
22
23
|
type: NumberConstructor;
|
|
23
24
|
default: number;
|
|
24
25
|
};
|
|
26
|
+
/**
|
|
27
|
+
* 步骤条的序号的类名,type 为 1 时有效
|
|
28
|
+
*/
|
|
29
|
+
numClass: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
25
33
|
/**
|
|
26
34
|
* 步骤条的标题
|
|
27
35
|
*/
|
|
@@ -29,6 +37,27 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
29
37
|
type: StringConstructor;
|
|
30
38
|
default: string;
|
|
31
39
|
};
|
|
40
|
+
/**
|
|
41
|
+
* 步骤条左侧步骤的样式
|
|
42
|
+
*/
|
|
43
|
+
stepLeftStyle: {
|
|
44
|
+
type: ObjectConstructor;
|
|
45
|
+
default: {};
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* 步骤条右侧内容的样式
|
|
49
|
+
*/
|
|
50
|
+
stepRightStyle: {
|
|
51
|
+
type: ObjectConstructor;
|
|
52
|
+
default: {};
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* 步骤条内容的样式
|
|
56
|
+
*/
|
|
57
|
+
stepContentStyle: {
|
|
58
|
+
type: ObjectConstructor;
|
|
59
|
+
default: {};
|
|
60
|
+
};
|
|
32
61
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
33
62
|
/**
|
|
34
63
|
* 步骤条的类型,0 - 无序号,1 - 有序号
|
|
@@ -44,6 +73,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
44
73
|
type: NumberConstructor;
|
|
45
74
|
default: number;
|
|
46
75
|
};
|
|
76
|
+
/**
|
|
77
|
+
* 步骤条的序号的类名,type 为 1 时有效
|
|
78
|
+
*/
|
|
79
|
+
numClass: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
47
83
|
/**
|
|
48
84
|
* 步骤条的标题
|
|
49
85
|
*/
|
|
@@ -51,10 +87,35 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
51
87
|
type: StringConstructor;
|
|
52
88
|
default: string;
|
|
53
89
|
};
|
|
90
|
+
/**
|
|
91
|
+
* 步骤条左侧步骤的样式
|
|
92
|
+
*/
|
|
93
|
+
stepLeftStyle: {
|
|
94
|
+
type: ObjectConstructor;
|
|
95
|
+
default: {};
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* 步骤条右侧内容的样式
|
|
99
|
+
*/
|
|
100
|
+
stepRightStyle: {
|
|
101
|
+
type: ObjectConstructor;
|
|
102
|
+
default: {};
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* 步骤条内容的样式
|
|
106
|
+
*/
|
|
107
|
+
stepContentStyle: {
|
|
108
|
+
type: ObjectConstructor;
|
|
109
|
+
default: {};
|
|
110
|
+
};
|
|
54
111
|
}>> & Readonly<{}>, {
|
|
55
112
|
type: number;
|
|
56
113
|
title: string;
|
|
57
114
|
num: number;
|
|
115
|
+
numClass: string;
|
|
116
|
+
stepLeftStyle: Record<string, any>;
|
|
117
|
+
stepRightStyle: Record<string, any>;
|
|
118
|
+
stepContentStyle: Record<string, any>;
|
|
58
119
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
59
120
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
60
121
|
export default _default;
|
|
@@ -254,6 +254,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
254
254
|
}> & Omit<{
|
|
255
255
|
readonly type: import('vant').CalendarType;
|
|
256
256
|
readonly round: boolean;
|
|
257
|
+
readonly showTitle: boolean;
|
|
257
258
|
readonly safeAreaInsetBottom: boolean;
|
|
258
259
|
readonly show: boolean;
|
|
259
260
|
readonly lazyRender: boolean;
|
|
@@ -267,7 +268,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
267
268
|
readonly poppable: boolean;
|
|
268
269
|
readonly maxRange: string | number;
|
|
269
270
|
readonly showMark: boolean;
|
|
270
|
-
readonly showTitle: boolean;
|
|
271
271
|
readonly showConfirm: boolean;
|
|
272
272
|
readonly allowSameDay: boolean;
|
|
273
273
|
readonly showSubtitle: boolean;
|
|
@@ -333,7 +333,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
333
333
|
* 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
|
|
334
334
|
*/
|
|
335
335
|
...args: any[]) => any) | undefined | undefined;
|
|
336
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "round" | "safeAreaInsetBottom" | "show" | "lazyRender" | "closeOnClickOverlay" | "position" | "closeOnPopstate" | "safeAreaInsetTop" | "firstDayOfWeek" | "switchMode" | "readonly" | "poppable" | "maxRange" | "showMark" | "
|
|
336
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "round" | "showTitle" | "safeAreaInsetBottom" | "show" | "lazyRender" | "closeOnClickOverlay" | "position" | "closeOnPopstate" | "safeAreaInsetTop" | "firstDayOfWeek" | "switchMode" | "readonly" | "poppable" | "maxRange" | "showMark" | "showConfirm" | "allowSameDay" | "showSubtitle" | "showRangePrompt">;
|
|
337
337
|
$attrs: {
|
|
338
338
|
[x: string]: unknown;
|
|
339
339
|
};
|
|
@@ -702,7 +702,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
702
702
|
* 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
|
|
703
703
|
*/
|
|
704
704
|
...args: any[]) => any) | undefined;
|
|
705
|
-
}>, "type" | "round" | "safeAreaInsetBottom" | "show" | "lazyRender" | "closeOnClickOverlay" | "position" | "closeOnPopstate" | "safeAreaInsetTop" | "firstDayOfWeek" | "switchMode" | "readonly" | "poppable" | "maxRange" | "showMark" | "
|
|
705
|
+
}>, "type" | "round" | "showTitle" | "safeAreaInsetBottom" | "show" | "lazyRender" | "closeOnClickOverlay" | "position" | "closeOnPopstate" | "safeAreaInsetTop" | "firstDayOfWeek" | "switchMode" | "readonly" | "poppable" | "maxRange" | "showMark" | "showConfirm" | "allowSameDay" | "showSubtitle" | "showRangePrompt"> & import('vue').ShallowUnwrapRef<() => import("vue/jsx-runtime").JSX.Element> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
706
706
|
$props: {
|
|
707
707
|
onClick
|
|
708
708
|
/**
|