@ebfe/vant-kit 0.0.14 → 0.0.16
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/DatePicker/DatePicker.vue.d.ts +3 -1
- package/dist/DateRangePicker/DateRangePicker.vue.d.ts +3 -1
- package/dist/FieldDatePicker/FieldDatePicker.vue.d.ts +5 -1
- package/dist/FieldDateRangePicker/FieldDateRangePicker.vue.d.ts +5 -1
- package/dist/FieldMultiPicker/FieldMultiPicker.vue.d.ts +7 -1
- package/dist/FieldSinglePicker/FieldSinglePicker.vue.d.ts +92 -2
- package/dist/MultiPicker/MultiPicker.vue.d.ts +4 -0
- package/dist/SinglePicker/SinglePicker.vue.d.ts +6 -2
- package/dist/vant-kit.css +1 -1
- package/dist/vant-kit.es.js +3896 -3882
- package/dist/vant-kit.umd.js +12 -12
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DatePickerProps } from 'vant';
|
|
1
|
+
import { DatePickerProps, PopupProps } from 'vant';
|
|
2
2
|
export type TDatePickerConfirmPayload = {
|
|
3
3
|
selectedValues: string[];
|
|
4
4
|
selectedOptions: Array<{
|
|
@@ -10,10 +10,12 @@ export type TDatePickerConfirmPayload = {
|
|
|
10
10
|
export type TDatePickerProps = {
|
|
11
11
|
modelValue: string | undefined;
|
|
12
12
|
pickerProps?: Partial<DatePickerProps>;
|
|
13
|
+
popupProps?: Partial<PopupProps>;
|
|
13
14
|
showValueFormatter?: (date?: Date) => string | undefined;
|
|
14
15
|
};
|
|
15
16
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TDatePickerProps, {
|
|
16
17
|
setPickerRealtimeDate: (newValue: string | undefined) => void;
|
|
18
|
+
handleCancel: () => void;
|
|
17
19
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
18
20
|
confirm: (option: TDatePickerConfirmPayload) => any;
|
|
19
21
|
"update:modelValue": (value: string) => any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DatePickerProps, PickerGroupProps } from 'vant';
|
|
1
|
+
import { DatePickerProps, PickerGroupProps, PopupProps } from 'vant';
|
|
2
2
|
export type TDateRangePickerConfirmPayload = {
|
|
3
3
|
values: TDateRangePickerProps['modelValue'];
|
|
4
4
|
};
|
|
@@ -13,6 +13,7 @@ export type TDRPickerShowValueFormatterPayload = {
|
|
|
13
13
|
export type TDateRangePickerProps = {
|
|
14
14
|
modelValue: string[];
|
|
15
15
|
pickerProps?: Partial<DatePickerProps>;
|
|
16
|
+
popupProps?: Partial<PopupProps>;
|
|
16
17
|
startPickerProps?: Partial<DatePickerProps>;
|
|
17
18
|
endPickerProps?: Partial<DatePickerProps>;
|
|
18
19
|
pickerGroupProps?: Partial<PickerGroupProps>;
|
|
@@ -22,6 +23,7 @@ export type TDateRangePickerProps = {
|
|
|
22
23
|
};
|
|
23
24
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TDateRangePickerProps, {
|
|
24
25
|
setPickerRealtimeDate(p: TSetDRPickerRealtimeDatePayload): void;
|
|
26
|
+
handleCancel: () => void;
|
|
25
27
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
26
28
|
confirm: (p: TDateRangePickerConfirmPayload) => any;
|
|
27
29
|
"update:modelValue": (value: string[]) => any;
|
|
@@ -5,6 +5,7 @@ export type TFieldDatePickerProps = TDatePickerProps & {
|
|
|
5
5
|
};
|
|
6
6
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TFieldDatePickerProps, {
|
|
7
7
|
setPickerRealtimeDate: import('vue').ComputedRef<((newValue: string | undefined) => void) | undefined>;
|
|
8
|
+
handleCancel: import('vue').ComputedRef<(() => void) | undefined>;
|
|
8
9
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
9
10
|
confirm: (option: TDatePickerConfirmPayload) => any;
|
|
10
11
|
"update:modelValue": (value: string) => any;
|
|
@@ -18,6 +19,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TF
|
|
|
18
19
|
$props: {
|
|
19
20
|
readonly modelValue: string | undefined;
|
|
20
21
|
readonly pickerProps?: Partial<import('vant').DatePickerProps> | undefined;
|
|
22
|
+
readonly popupProps?: Partial<import('vant').PopupProps> | undefined;
|
|
21
23
|
readonly showValueFormatter?: ((date?: Date) => string | undefined) | undefined;
|
|
22
24
|
readonly onConfirm?: ((option: TDatePickerConfirmPayload) => any) | undefined;
|
|
23
25
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
@@ -41,6 +43,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TF
|
|
|
41
43
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
42
44
|
}>, {
|
|
43
45
|
setPickerRealtimeDate: (newValue: string | undefined) => void;
|
|
46
|
+
handleCancel: () => void;
|
|
44
47
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
45
48
|
confirm: (option: TDatePickerConfirmPayload) => any;
|
|
46
49
|
"update:modelValue": (value: string) => any;
|
|
@@ -67,8 +70,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TF
|
|
|
67
70
|
} & Readonly<{}> & Omit<Readonly<TDatePickerProps> & Readonly<{
|
|
68
71
|
onConfirm?: ((option: TDatePickerConfirmPayload) => any) | undefined;
|
|
69
72
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
70
|
-
}>, "setPickerRealtimeDate"> & import('vue').ShallowUnwrapRef<{
|
|
73
|
+
}>, "handleCancel" | "setPickerRealtimeDate"> & import('vue').ShallowUnwrapRef<{
|
|
71
74
|
setPickerRealtimeDate: (newValue: string | undefined) => void;
|
|
75
|
+
handleCancel: () => void;
|
|
72
76
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
73
77
|
$slots: Partial<Record<number, (_: any) => any>> & {
|
|
74
78
|
trigger?(_: {
|
|
@@ -5,6 +5,7 @@ export type TFieldDateRangePickerProps = TDateRangePickerProps & {
|
|
|
5
5
|
};
|
|
6
6
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TFieldDateRangePickerProps, {
|
|
7
7
|
setPickerRealtimeDate: import('vue').ComputedRef<((p: import('../DateRangePicker/DateRangePicker.vue').TSetDRPickerRealtimeDatePayload) => void) | undefined>;
|
|
8
|
+
handleCancel: import('vue').ComputedRef<(() => void) | undefined>;
|
|
8
9
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
9
10
|
confirm: (p: TDateRangePickerConfirmPayload) => any;
|
|
10
11
|
"update:modelValue": (value: string[]) => any;
|
|
@@ -18,6 +19,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TF
|
|
|
18
19
|
$props: {
|
|
19
20
|
readonly modelValue: string[];
|
|
20
21
|
readonly pickerProps?: Partial<import('vant').DatePickerProps> | undefined;
|
|
22
|
+
readonly popupProps?: Partial<import('vant').PopupProps> | undefined;
|
|
21
23
|
readonly startPickerProps?: Partial<import('vant').DatePickerProps> | undefined;
|
|
22
24
|
readonly endPickerProps?: Partial<import('vant').DatePickerProps> | undefined;
|
|
23
25
|
readonly pickerGroupProps?: Partial<import('vant').PickerGroupProps> | undefined;
|
|
@@ -46,6 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TF
|
|
|
46
48
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
47
49
|
}>, {
|
|
48
50
|
setPickerRealtimeDate(p: import('../DateRangePicker/DateRangePicker.vue').TSetDRPickerRealtimeDatePayload): void;
|
|
51
|
+
handleCancel: () => void;
|
|
49
52
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
50
53
|
confirm: (p: TDateRangePickerConfirmPayload) => any;
|
|
51
54
|
"update:modelValue": (value: string[]) => any;
|
|
@@ -72,8 +75,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TF
|
|
|
72
75
|
} & Readonly<{}> & Omit<Readonly<TDateRangePickerProps> & Readonly<{
|
|
73
76
|
onConfirm?: ((p: TDateRangePickerConfirmPayload) => any) | undefined;
|
|
74
77
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
75
|
-
}>, "setPickerRealtimeDate"> & import('vue').ShallowUnwrapRef<{
|
|
78
|
+
}>, "handleCancel" | "setPickerRealtimeDate"> & import('vue').ShallowUnwrapRef<{
|
|
76
79
|
setPickerRealtimeDate(p: import('../DateRangePicker/DateRangePicker.vue').TSetDRPickerRealtimeDatePayload): void;
|
|
80
|
+
handleCancel: () => void;
|
|
77
81
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
78
82
|
$slots: Partial<Record<number, (_: any) => any>> & Partial<Record<`${number}-start`, (_: any) => any>> & Partial<Record<`${number}-end`, (_: any) => any>> & {
|
|
79
83
|
trigger?(_: {
|
|
@@ -7,6 +7,7 @@ declare const _default: import('vue').DefineComponent<TFieldMultiPickerProps, {
|
|
|
7
7
|
getOptionsIdMapData: import('vue').ComputedRef<(() => {
|
|
8
8
|
[x: string]: any;
|
|
9
9
|
}) | undefined>;
|
|
10
|
+
handleCancel: import('vue').ComputedRef<(() => void) | undefined>;
|
|
10
11
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
11
12
|
search: (value: string) => any;
|
|
12
13
|
confirm: (p: TConfirmEventPayload) => any;
|
|
@@ -33,6 +34,7 @@ declare const _default: import('vue').DefineComponent<TFieldMultiPickerProps, {
|
|
|
33
34
|
readonly showSearch?: boolean | undefined;
|
|
34
35
|
readonly searchDelay?: number | undefined;
|
|
35
36
|
readonly processingFallbackOpts?: ((p: import('../MultiPicker/MultiPicker.vue').TMPProcessingFallbackOptsPayload) => any[]) | undefined;
|
|
37
|
+
readonly popupProps?: Partial<import('vant').PopupProps> | undefined;
|
|
36
38
|
readonly onSearch?: ((value: string) => any) | undefined;
|
|
37
39
|
readonly onConfirm?: ((p: TConfirmEventPayload) => any) | undefined;
|
|
38
40
|
readonly "onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
|
@@ -61,6 +63,7 @@ declare const _default: import('vue').DefineComponent<TFieldMultiPickerProps, {
|
|
|
61
63
|
getOptionsIdMapData(): {
|
|
62
64
|
[x: string]: any;
|
|
63
65
|
};
|
|
66
|
+
handleCancel: () => void;
|
|
64
67
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
65
68
|
search: (value: string) => any;
|
|
66
69
|
confirm: (p: TConfirmEventPayload) => any;
|
|
@@ -68,6 +71,7 @@ declare const _default: import('vue').DefineComponent<TFieldMultiPickerProps, {
|
|
|
68
71
|
toggleCheckbox: (value: any[]) => any;
|
|
69
72
|
}, string, {
|
|
70
73
|
title: string;
|
|
74
|
+
popupProps: Partial<import('vant').PopupProps>;
|
|
71
75
|
showSearch: boolean;
|
|
72
76
|
searchDelay: number;
|
|
73
77
|
fieldNames: {
|
|
@@ -98,6 +102,7 @@ declare const _default: import('vue').DefineComponent<TFieldMultiPickerProps, {
|
|
|
98
102
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
99
103
|
} & Readonly<{
|
|
100
104
|
title: string;
|
|
105
|
+
popupProps: Partial<import('vant').PopupProps>;
|
|
101
106
|
showSearch: boolean;
|
|
102
107
|
searchDelay: number;
|
|
103
108
|
fieldNames: {
|
|
@@ -111,10 +116,11 @@ declare const _default: import('vue').DefineComponent<TFieldMultiPickerProps, {
|
|
|
111
116
|
onConfirm?: ((p: TConfirmEventPayload) => any) | undefined;
|
|
112
117
|
"onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
|
113
118
|
onToggleCheckbox?: ((value: any[]) => any) | undefined;
|
|
114
|
-
}>, "getOptionsIdMapData" | ("title" | "showSearch" | "searchDelay" | "fieldNames" | "tipTxt" | "processingFallbackOpts")> & import('vue').ShallowUnwrapRef<{
|
|
119
|
+
}>, "handleCancel" | "getOptionsIdMapData" | ("title" | "popupProps" | "showSearch" | "searchDelay" | "fieldNames" | "tipTxt" | "processingFallbackOpts")> & import('vue').ShallowUnwrapRef<{
|
|
115
120
|
getOptionsIdMapData(): {
|
|
116
121
|
[x: string]: any;
|
|
117
122
|
};
|
|
123
|
+
handleCancel: () => void;
|
|
118
124
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
119
125
|
$slots: {
|
|
120
126
|
trigger?(_: {
|
|
@@ -3,7 +3,9 @@ import { FieldProps } from 'vant';
|
|
|
3
3
|
export type TFieldSinglePickerProps = TSinglePickerProps & {
|
|
4
4
|
fieldProps: Partial<Omit<FieldProps, 'modelValue'>>;
|
|
5
5
|
};
|
|
6
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TFieldSinglePickerProps, {
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TFieldSinglePickerProps, {
|
|
7
|
+
handleCancel: import('vue').ComputedRef<(() => void) | undefined>;
|
|
8
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
9
|
search: (value: string) => any;
|
|
8
10
|
confirm: (option: any) => any;
|
|
9
11
|
confirmDisabledOption: (p: TSPConfirmDisabledOptionPayload) => any;
|
|
@@ -13,7 +15,95 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TF
|
|
|
13
15
|
onConfirm?: ((option: any) => any) | undefined;
|
|
14
16
|
onConfirmDisabledOption?: ((p: TSPConfirmDisabledOptionPayload) => any) | undefined;
|
|
15
17
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
|
+
SinglePickerRef: ({
|
|
20
|
+
$: import('vue').ComponentInternalInstance;
|
|
21
|
+
$data: {};
|
|
22
|
+
$props: {
|
|
23
|
+
readonly modelValue: any;
|
|
24
|
+
readonly pickerProps: Partial<import('vant').PickerProps>;
|
|
25
|
+
readonly popupProps?: Partial<import('vant').PopupProps> | undefined;
|
|
26
|
+
readonly processingFallbackOpt?: ((p: import('../SinglePicker/SinglePicker.vue').TSPProcessingFallbackOptPayload) => any) | undefined;
|
|
27
|
+
readonly showSearch?: boolean | undefined;
|
|
28
|
+
readonly searchDelay?: number | undefined;
|
|
29
|
+
readonly onSearch?: ((value: string) => any) | undefined;
|
|
30
|
+
readonly onConfirm?: ((option: any) => any) | undefined;
|
|
31
|
+
readonly onConfirmDisabledOption?: ((p: TSPConfirmDisabledOptionPayload) => any) | undefined;
|
|
32
|
+
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
33
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
34
|
+
$attrs: {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
};
|
|
37
|
+
$refs: {
|
|
38
|
+
[x: string]: unknown;
|
|
39
|
+
};
|
|
40
|
+
$slots: Readonly<{
|
|
41
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
42
|
+
}>;
|
|
43
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
44
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
45
|
+
$host: Element | null;
|
|
46
|
+
$emit: ((event: "search", value: string) => void) & ((event: "confirm", option: any) => void) & ((event: "confirmDisabledOption", p: TSPConfirmDisabledOptionPayload) => void) & ((event: "update:modelValue", value: any) => void);
|
|
47
|
+
$el: HTMLDivElement;
|
|
48
|
+
$options: import('vue').ComponentOptionsBase<Readonly<TSinglePickerProps> & Readonly<{
|
|
49
|
+
onSearch?: ((value: string) => any) | undefined;
|
|
50
|
+
onConfirm?: ((option: any) => any) | undefined;
|
|
51
|
+
onConfirmDisabledOption?: ((p: TSPConfirmDisabledOptionPayload) => any) | undefined;
|
|
52
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
53
|
+
}>, {
|
|
54
|
+
handleCancel: () => void;
|
|
55
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
56
|
+
search: (value: string) => any;
|
|
57
|
+
confirm: (option: any) => any;
|
|
58
|
+
confirmDisabledOption: (p: TSPConfirmDisabledOptionPayload) => any;
|
|
59
|
+
"update:modelValue": (value: any) => any;
|
|
60
|
+
}, string, {
|
|
61
|
+
popupProps: Partial<import('vant').PopupProps>;
|
|
62
|
+
processingFallbackOpt: (p: import('../SinglePicker/SinglePicker.vue').TSPProcessingFallbackOptPayload) => any;
|
|
63
|
+
showSearch: boolean;
|
|
64
|
+
searchDelay: number;
|
|
65
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
66
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
67
|
+
created?: (() => void) | (() => void)[];
|
|
68
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
69
|
+
mounted?: (() => void) | (() => void)[];
|
|
70
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
71
|
+
updated?: (() => void) | (() => void)[];
|
|
72
|
+
activated?: (() => void) | (() => void)[];
|
|
73
|
+
deactivated?: (() => void) | (() => void)[];
|
|
74
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
75
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
76
|
+
destroyed?: (() => void) | (() => void)[];
|
|
77
|
+
unmounted?: (() => void) | (() => void)[];
|
|
78
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
79
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
80
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
81
|
+
};
|
|
82
|
+
$forceUpdate: () => void;
|
|
83
|
+
$nextTick: typeof import('vue').nextTick;
|
|
84
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
85
|
+
} & Readonly<{
|
|
86
|
+
popupProps: Partial<import('vant').PopupProps>;
|
|
87
|
+
processingFallbackOpt: (p: import('../SinglePicker/SinglePicker.vue').TSPProcessingFallbackOptPayload) => any;
|
|
88
|
+
showSearch: boolean;
|
|
89
|
+
searchDelay: number;
|
|
90
|
+
}> & Omit<Readonly<TSinglePickerProps> & Readonly<{
|
|
91
|
+
onSearch?: ((value: string) => any) | undefined;
|
|
92
|
+
onConfirm?: ((option: any) => any) | undefined;
|
|
93
|
+
onConfirmDisabledOption?: ((p: TSPConfirmDisabledOptionPayload) => any) | undefined;
|
|
94
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
95
|
+
}>, "handleCancel" | ("popupProps" | "processingFallbackOpt" | "showSearch" | "searchDelay")> & import('vue').ShallowUnwrapRef<{
|
|
96
|
+
handleCancel: () => void;
|
|
97
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
98
|
+
$slots: Partial<Record<number, (_: any) => any>> & {
|
|
99
|
+
trigger?(_: {
|
|
100
|
+
triggerPopupShow: () => void;
|
|
101
|
+
showValue: any;
|
|
102
|
+
selectedOption: any;
|
|
103
|
+
}): any;
|
|
104
|
+
};
|
|
105
|
+
}) | null;
|
|
106
|
+
}, HTMLDivElement>, Partial<Record<number, (_: any) => any>>>;
|
|
17
107
|
export default _default;
|
|
18
108
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
109
|
new (): {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PopupProps } from 'vant';
|
|
1
2
|
type IdMapData = {
|
|
2
3
|
[key in string]: any;
|
|
3
4
|
};
|
|
@@ -17,6 +18,7 @@ export type TMultiPickerProps = {
|
|
|
17
18
|
showSearch?: boolean;
|
|
18
19
|
searchDelay?: number;
|
|
19
20
|
processingFallbackOpts?: (p: TMPProcessingFallbackOptsPayload) => any[];
|
|
21
|
+
popupProps?: Partial<PopupProps>;
|
|
20
22
|
};
|
|
21
23
|
export type TConfirmEventPayload = {
|
|
22
24
|
values: any[];
|
|
@@ -24,6 +26,7 @@ export type TConfirmEventPayload = {
|
|
|
24
26
|
};
|
|
25
27
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TMultiPickerProps, {
|
|
26
28
|
getOptionsIdMapData(): IdMapData;
|
|
29
|
+
handleCancel: () => void;
|
|
27
30
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
28
31
|
search: (value: string) => any;
|
|
29
32
|
confirm: (p: TConfirmEventPayload) => any;
|
|
@@ -36,6 +39,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TM
|
|
|
36
39
|
onToggleCheckbox?: ((value: any[]) => any) | undefined;
|
|
37
40
|
}>, {
|
|
38
41
|
title: string;
|
|
42
|
+
popupProps: Partial<PopupProps>;
|
|
39
43
|
showSearch: boolean;
|
|
40
44
|
searchDelay: number;
|
|
41
45
|
fieldNames: TFieldNames;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { PickerProps } from 'vant';
|
|
1
|
+
import { PickerProps, PopupProps } from 'vant';
|
|
2
2
|
export type TSPProcessingFallbackOptPayload = {
|
|
3
3
|
prePatchValue: any;
|
|
4
4
|
};
|
|
5
5
|
export type TSinglePickerProps = {
|
|
6
6
|
modelValue: any;
|
|
7
7
|
pickerProps: Partial<PickerProps>;
|
|
8
|
+
popupProps?: Partial<PopupProps>;
|
|
8
9
|
processingFallbackOpt?: (p: TSPProcessingFallbackOptPayload) => any;
|
|
9
10
|
showSearch?: boolean;
|
|
10
11
|
searchDelay?: number;
|
|
@@ -13,7 +14,9 @@ export type TSPConfirmDisabledOptionPayload = {
|
|
|
13
14
|
option: any;
|
|
14
15
|
closePopup: () => void;
|
|
15
16
|
};
|
|
16
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TSinglePickerProps, {
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TSinglePickerProps, {
|
|
18
|
+
handleCancel: () => void;
|
|
19
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
20
|
search: (value: string) => any;
|
|
18
21
|
confirm: (option: any) => any;
|
|
19
22
|
confirmDisabledOption: (p: TSPConfirmDisabledOptionPayload) => any;
|
|
@@ -24,6 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TS
|
|
|
24
27
|
onConfirmDisabledOption?: ((p: TSPConfirmDisabledOptionPayload) => any) | undefined;
|
|
25
28
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
26
29
|
}>, {
|
|
30
|
+
popupProps: Partial<PopupProps>;
|
|
27
31
|
processingFallbackOpt: (p: TSPProcessingFallbackOptPayload) => any;
|
|
28
32
|
showSearch: boolean;
|
|
29
33
|
searchDelay: number;
|
package/dist/vant-kit.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.van-popup.van-toast{z-index:999999!important}.coloring-avatar-wrapper[data-v-daeab517]{box-sizing:border-box;width:var(--01db2b7c);height:var(--01db2b7c);overflow:hidden;display:flex;justify-content:center;align-items:center;background:var(--cc225d5a);border-radius:50%;border:.88px solid;border-image:linear-gradient(180deg,#fff,#fff0)}.coloring-avatar-wrapper .sub-name[data-v-daeab517]{color:#fff;font-size:var(--38beb273)}.default-trigger-btn[data-v-a0fe5e36]{width:32px;height:15px;box-sizing:border-box;cursor:pointer;display:flex;justify-content:center;align-items:center;border:.5px solid rgba(0,0,0,.45);border-radius:112px;font-size:10px;color:#333}[data-v-
|
|
1
|
+
.van-popup.van-toast{z-index:999999!important}.coloring-avatar-wrapper[data-v-daeab517]{box-sizing:border-box;width:var(--01db2b7c);height:var(--01db2b7c);overflow:hidden;display:flex;justify-content:center;align-items:center;background:var(--cc225d5a);border-radius:50%;border:.88px solid;border-image:linear-gradient(180deg,#fff,#fff0)}.coloring-avatar-wrapper .sub-name[data-v-daeab517]{color:#fff;font-size:var(--38beb273)}.default-trigger-btn[data-v-a0fe5e36]{width:32px;height:15px;box-sizing:border-box;cursor:pointer;display:flex;justify-content:center;align-items:center;border:.5px solid rgba(0,0,0,.45);border-radius:112px;font-size:10px;color:#333}[data-v-bae41a77] .van-search,.multi-picker-header[data-v-6db95caa] .van-search{flex:1;padding-left:0;padding-right:0}.multi-picker-main[data-v-6db95caa]{min-height:200px;max-height:60vh;overflow:hidden;display:flex;flex-direction:column}.multi-picker-main .multi-picker-tip[data-v-6db95caa]{padding:10px 16px;text-align:center;font-size:13px;color:#666}.multi-picker-main .multi-picker-cell-group[data-v-6db95caa]{overflow-y:auto}.field-mask-txt-wrapper[data-v-278e9330]{width:100%;background-color:var(--van-cell-background)}.field-mask-txt-show-content[data-v-278e9330]{width:100%;display:flex;align-items:center}.field-mask-txt-show-content .view-trigger[data-v-278e9330]{color:unset}.hidden[data-v-278e9330]{display:none}.field-switch-btn-wrapper[data-v-12b4a20e]{width:100%;background-color:var(--van-cell-background)}.field-switch-btn-show-content[data-v-12b4a20e]{width:100%;display:flex}.field-switch-btn-show-content .field-switch-btns-container[data-v-12b4a20e]{flex:1;display:flex;justify-content:flex-end;align-items:center;gap:8px}.field-switch-btn-show-content .field-switch-btn[data-v-12b4a20e]{padding:1px 12px;display:flex;justify-content:center;align-items:center;box-sizing:border-box;border:1px solid var(--van-button-primary-background);border-radius:4px;color:var(--van-button-primary-background);background:#fff;font-size:14px;cursor:pointer}.field-switch-btn-show-content .field-switch-btn-selected[data-v-12b4a20e]{color:#fff;background:var(--van-button-primary-background)}.field-switch-btn-show-content .field-switch-btn-disabled[data-v-12b4a20e]{color:#999;border-color:#9993;background:#9993;cursor:not-allowed}.hidden[data-v-12b4a20e],.hidden[data-v-ab38a555],.hidden[data-v-18b4e420],.hidden[data-v-0e9513a6],.hidden[data-v-d967364f]{display:none}[data-v-6ec0e192] .van-field__label--top{margin-bottom:12px}[data-v-6ec0e192] .van-field__value{background-color:#f8f8f8;border-radius:6px;padding:6px 16px}.mask-txt-wrapper[data-v-e7353b20]{display:flex;align-items:center;gap:8px}.slide_model[data-v-594c23f3]{width:100%;height:100vh;z-index:999;position:fixed;left:0;top:0;background:#0006;display:flex;align-items:center;justify-content:center}.slide_wrapper[data-v-594c23f3]{float:left;z-index:1;position:relative;background-color:#fff;width:335px;padding-top:20px}.canvas_img[data-v-594c23f3]{width:var(--b6aa8880);min-height:150px;position:relative;display:flex;align-items:center;justify-content:center;margin:0 0 20px 20px}.canvas_img img[src=""][data-v-594c23f3],.canvas_img img[data-v-594c23f3]:not([src]){visibility:hidden}.big-img[data-v-594c23f3]{width:100%;height:180px}.slider-img[data-v-594c23f3]{width:55px;height:180px;position:absolute;top:0;left:var(--d7a357ba);z-index:2}.canvas_slide[data-v-594c23f3]{width:295px;height:45px;background:#eee;text-align:center;line-height:40px;margin:0 auto;position:relative;font-size:13px}.canvas_kus[data-v-594c23f3]{width:48px;height:45px;background-color:#fff;font-size:18px;font-weight:700;position:absolute;left:var(--d7a357ba);top:0;border:1px solid #ddd;color:#fff;box-shadow:0 0 10px #0000004d;user-select:none;-webkit-user-select:none;cursor:grab;touch-action:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.canvas_kus .slide-icon[data-v-594c23f3]{width:20px;height:20px;margin-top:10px}.canvas_kus[data-v-594c23f3]:active{cursor:grabbing}.canvas_guil[data-v-594c23f3]{width:100%;border-top:1px solid #f4f4f4;height:50px;display:flex;align-items:center;float:left;font-size:15px;color:#666}.canvas_guil .footer-icon[data-v-594c23f3]{width:25px;height:25px;margin-left:15px}
|