@ebfe/vant-kit 0.0.4 → 0.0.6
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/CopyTxtTrigger/CopyTxtTrigger.vue.d.ts +16 -0
- package/dist/DatePicker/DatePicker.vue.d.ts +35 -0
- package/dist/DateRangePicker/DateRangePicker.vue.d.ts +40 -0
- package/dist/FieldDatePicker/FieldDatePicker.vue.d.ts +162 -0
- package/dist/FieldDateRangePicker/FieldDateRangePicker.vue.d.ts +166 -0
- package/dist/FieldMaskTxt/FieldMaskTxt.vue.d.ts +25 -0
- package/dist/FieldMultiPicker/FieldMultiPicker.vue.d.ts +14 -14
- package/dist/FieldSinglePicker/FieldSinglePicker.vue.d.ts +2 -2
- package/dist/FieldSwitchBtn/FieldSwitchBtn.vue.d.ts +19 -0
- package/dist/MaskTxt/MaskTxt.vue.d.ts +23 -0
- package/dist/MultiPicker/MultiPicker.vue.d.ts +4 -4
- package/dist/SinglePicker/SinglePicker.vue.d.ts +2 -2
- package/dist/SliderVerify/SliderVerify.vue.d.ts +78 -0
- package/dist/common/constants.d.ts +2 -0
- package/dist/common/hooks/useMaskedFieldLogic.d.ts +32 -0
- package/dist/common/index.d.ts +1 -0
- package/dist/index.d.ts +31 -4
- package/dist/vant-kit.css +1 -1
- package/dist/vant-kit.es.js +6289 -8278
- package/dist/vant-kit.umd.js +19 -23
- package/package.json +6 -5
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type TCopyTxtTriggerProps = {
|
|
2
|
+
txt: string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TCopyTxtTriggerProps, {
|
|
5
|
+
copy: (_text: any) => void;
|
|
6
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TCopyTxtTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
7
|
+
default?(_: {
|
|
8
|
+
copy: (_text: any) => void;
|
|
9
|
+
}): any;
|
|
10
|
+
}>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { DatePickerProps } from 'vant';
|
|
2
|
+
export type TDatePickerConfirmPayload = {
|
|
3
|
+
selectedValues: string[];
|
|
4
|
+
selectedOptions: Array<{
|
|
5
|
+
text: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}>;
|
|
8
|
+
selectedIndexes: number[];
|
|
9
|
+
};
|
|
10
|
+
export type TDatePickerProps = {
|
|
11
|
+
modelValue: string | undefined;
|
|
12
|
+
pickerProps?: Partial<DatePickerProps>;
|
|
13
|
+
showValueFormatter?: (date?: Date) => string | undefined;
|
|
14
|
+
};
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TDatePickerProps, {
|
|
16
|
+
setPickerRealtimeDate: (newValue: string | undefined) => void;
|
|
17
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
18
|
+
confirm: (option: TDatePickerConfirmPayload) => any;
|
|
19
|
+
"update:modelValue": (value: string) => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<TDatePickerProps> & Readonly<{
|
|
21
|
+
onConfirm?: ((option: TDatePickerConfirmPayload) => any) | undefined;
|
|
22
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
23
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, Partial<Record<number, (_: any) => any>> & {
|
|
24
|
+
trigger?(_: {
|
|
25
|
+
triggerPopupShow: () => void;
|
|
26
|
+
showValue: string;
|
|
27
|
+
pickerRealtimeOptions: string[];
|
|
28
|
+
}): any;
|
|
29
|
+
}>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { DatePickerProps, PickerGroupProps } from 'vant';
|
|
2
|
+
export type TDateRangePickerConfirmPayload = {
|
|
3
|
+
values: TDateRangePickerProps['modelValue'];
|
|
4
|
+
};
|
|
5
|
+
export type TSetDRPickerRealtimeDatePayload = {
|
|
6
|
+
start: string;
|
|
7
|
+
end: string;
|
|
8
|
+
};
|
|
9
|
+
export type TDRPickerShowValueFormatterPayload = {
|
|
10
|
+
startDate?: Date;
|
|
11
|
+
endDate?: Date;
|
|
12
|
+
};
|
|
13
|
+
export type TDateRangePickerProps = {
|
|
14
|
+
modelValue: string[];
|
|
15
|
+
pickerProps?: Partial<DatePickerProps>;
|
|
16
|
+
pickerGroupProps?: Partial<PickerGroupProps>;
|
|
17
|
+
showValueFormatter?: (p: TDRPickerShowValueFormatterPayload) => string | undefined;
|
|
18
|
+
beforeConfirm?: (newValues: TDateRangePickerProps['modelValue']) => boolean;
|
|
19
|
+
};
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TDateRangePickerProps, {
|
|
21
|
+
setPickerRealtimeDate(p: TSetDRPickerRealtimeDatePayload): void;
|
|
22
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
23
|
+
confirm: (p: TDateRangePickerConfirmPayload) => any;
|
|
24
|
+
"update:modelValue": (value: string[]) => any;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<TDateRangePickerProps> & Readonly<{
|
|
26
|
+
onConfirm?: ((p: TDateRangePickerConfirmPayload) => any) | undefined;
|
|
27
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
28
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, Partial<Record<number, (_: any) => any>> & Partial<Record<`${number}-start`, (_: any) => any>> & Partial<Record<`${number}-end`, (_: any) => any>> & {
|
|
29
|
+
trigger?(_: {
|
|
30
|
+
showValue: string;
|
|
31
|
+
triggerPopupShow: () => void;
|
|
32
|
+
pickerRealtimeOptions: string[][];
|
|
33
|
+
}): any;
|
|
34
|
+
}>;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { FieldProps } from 'vant';
|
|
2
|
+
import { TDatePickerConfirmPayload, TDatePickerProps } from '../DatePicker/DatePicker.vue';
|
|
3
|
+
type __VLS_Props = TDatePickerProps & {
|
|
4
|
+
fieldProps: Partial<Omit<FieldProps, 'modelValue'>>;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: any;
|
|
9
|
+
refs: {
|
|
10
|
+
DatePickerRef: ({
|
|
11
|
+
$: import('vue').ComponentInternalInstance;
|
|
12
|
+
$data: {};
|
|
13
|
+
$props: {
|
|
14
|
+
readonly modelValue: string | undefined;
|
|
15
|
+
readonly pickerProps?: Partial<import('vant').DatePickerProps> | undefined;
|
|
16
|
+
readonly showValueFormatter?: ((date?: Date) => string | undefined) | undefined;
|
|
17
|
+
readonly onConfirm?: ((option: TDatePickerConfirmPayload) => any) | undefined;
|
|
18
|
+
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
19
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
20
|
+
$attrs: {
|
|
21
|
+
[x: string]: unknown;
|
|
22
|
+
};
|
|
23
|
+
$refs: {
|
|
24
|
+
[x: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
$slots: Readonly<{
|
|
27
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
28
|
+
}>;
|
|
29
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
30
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
31
|
+
$host: Element | null;
|
|
32
|
+
$emit: ((event: "confirm", option: TDatePickerConfirmPayload) => void) & ((event: "update:modelValue", value: string) => void);
|
|
33
|
+
$el: HTMLDivElement;
|
|
34
|
+
$options: import('vue').ComponentOptionsBase<Readonly<TDatePickerProps> & Readonly<{
|
|
35
|
+
onConfirm?: ((option: TDatePickerConfirmPayload) => any) | undefined;
|
|
36
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
37
|
+
}>, {
|
|
38
|
+
setPickerRealtimeDate: (newValue: string | undefined) => void;
|
|
39
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
40
|
+
confirm: (option: TDatePickerConfirmPayload) => any;
|
|
41
|
+
"update:modelValue": (value: string) => any;
|
|
42
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
43
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
44
|
+
created?: (() => void) | (() => void)[];
|
|
45
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
46
|
+
mounted?: (() => void) | (() => void)[];
|
|
47
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
48
|
+
updated?: (() => void) | (() => void)[];
|
|
49
|
+
activated?: (() => void) | (() => void)[];
|
|
50
|
+
deactivated?: (() => void) | (() => void)[];
|
|
51
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
52
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
53
|
+
destroyed?: (() => void) | (() => void)[];
|
|
54
|
+
unmounted?: (() => void) | (() => void)[];
|
|
55
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
56
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
57
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
58
|
+
};
|
|
59
|
+
$forceUpdate: () => void;
|
|
60
|
+
$nextTick: typeof import('vue').nextTick;
|
|
61
|
+
$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;
|
|
62
|
+
} & Readonly<{}> & Omit<Readonly<TDatePickerProps> & Readonly<{
|
|
63
|
+
onConfirm?: ((option: TDatePickerConfirmPayload) => any) | undefined;
|
|
64
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
65
|
+
}>, "setPickerRealtimeDate"> & import('vue').ShallowUnwrapRef<{
|
|
66
|
+
setPickerRealtimeDate: (newValue: string | undefined) => void;
|
|
67
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
68
|
+
$slots: Partial<Record<number, (_: any) => any>> & {
|
|
69
|
+
trigger?(_: {
|
|
70
|
+
triggerPopupShow: () => void;
|
|
71
|
+
showValue: string;
|
|
72
|
+
pickerRealtimeOptions: string[];
|
|
73
|
+
}): any;
|
|
74
|
+
};
|
|
75
|
+
}) | null;
|
|
76
|
+
};
|
|
77
|
+
rootEl: HTMLDivElement;
|
|
78
|
+
};
|
|
79
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
80
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
81
|
+
setPickerRealtimeDate: import('vue').ComputedRef<((newValue: string | undefined) => void) | undefined>;
|
|
82
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
83
|
+
confirm: (option: TDatePickerConfirmPayload) => any;
|
|
84
|
+
"update:modelValue": (value: string) => any;
|
|
85
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
86
|
+
onConfirm?: ((option: TDatePickerConfirmPayload) => any) | undefined;
|
|
87
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
88
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
89
|
+
DatePickerRef: ({
|
|
90
|
+
$: import('vue').ComponentInternalInstance;
|
|
91
|
+
$data: {};
|
|
92
|
+
$props: {
|
|
93
|
+
readonly modelValue: string | undefined;
|
|
94
|
+
readonly pickerProps?: Partial<import('vant').DatePickerProps> | undefined;
|
|
95
|
+
readonly showValueFormatter?: ((date?: Date) => string | undefined) | undefined;
|
|
96
|
+
readonly onConfirm?: ((option: TDatePickerConfirmPayload) => any) | undefined;
|
|
97
|
+
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
98
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
99
|
+
$attrs: {
|
|
100
|
+
[x: string]: unknown;
|
|
101
|
+
};
|
|
102
|
+
$refs: {
|
|
103
|
+
[x: string]: unknown;
|
|
104
|
+
};
|
|
105
|
+
$slots: Readonly<{
|
|
106
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
107
|
+
}>;
|
|
108
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
109
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
110
|
+
$host: Element | null;
|
|
111
|
+
$emit: ((event: "confirm", option: TDatePickerConfirmPayload) => void) & ((event: "update:modelValue", value: string) => void);
|
|
112
|
+
$el: HTMLDivElement;
|
|
113
|
+
$options: import('vue').ComponentOptionsBase<Readonly<TDatePickerProps> & Readonly<{
|
|
114
|
+
onConfirm?: ((option: TDatePickerConfirmPayload) => any) | undefined;
|
|
115
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
116
|
+
}>, {
|
|
117
|
+
setPickerRealtimeDate: (newValue: string | undefined) => void;
|
|
118
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
119
|
+
confirm: (option: TDatePickerConfirmPayload) => any;
|
|
120
|
+
"update:modelValue": (value: string) => any;
|
|
121
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
122
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
123
|
+
created?: (() => void) | (() => void)[];
|
|
124
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
125
|
+
mounted?: (() => void) | (() => void)[];
|
|
126
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
127
|
+
updated?: (() => void) | (() => void)[];
|
|
128
|
+
activated?: (() => void) | (() => void)[];
|
|
129
|
+
deactivated?: (() => void) | (() => void)[];
|
|
130
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
131
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
132
|
+
destroyed?: (() => void) | (() => void)[];
|
|
133
|
+
unmounted?: (() => void) | (() => void)[];
|
|
134
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
135
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
136
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
137
|
+
};
|
|
138
|
+
$forceUpdate: () => void;
|
|
139
|
+
$nextTick: typeof import('vue').nextTick;
|
|
140
|
+
$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;
|
|
141
|
+
} & Readonly<{}> & Omit<Readonly<TDatePickerProps> & Readonly<{
|
|
142
|
+
onConfirm?: ((option: TDatePickerConfirmPayload) => any) | undefined;
|
|
143
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
144
|
+
}>, "setPickerRealtimeDate"> & import('vue').ShallowUnwrapRef<{
|
|
145
|
+
setPickerRealtimeDate: (newValue: string | undefined) => void;
|
|
146
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
147
|
+
$slots: Partial<Record<number, (_: any) => any>> & {
|
|
148
|
+
trigger?(_: {
|
|
149
|
+
triggerPopupShow: () => void;
|
|
150
|
+
showValue: string;
|
|
151
|
+
pickerRealtimeOptions: string[];
|
|
152
|
+
}): any;
|
|
153
|
+
};
|
|
154
|
+
}) | null;
|
|
155
|
+
}, HTMLDivElement>;
|
|
156
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
157
|
+
export default _default;
|
|
158
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
159
|
+
new (): {
|
|
160
|
+
$slots: S;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { FieldProps } from 'vant';
|
|
2
|
+
import { TDateRangePickerConfirmPayload, TDateRangePickerProps } from '../DateRangePicker/DateRangePicker.vue';
|
|
3
|
+
type __VLS_Props = TDateRangePickerProps & {
|
|
4
|
+
fieldProps: Partial<Omit<FieldProps, 'modelValue'>>;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: any;
|
|
9
|
+
refs: {
|
|
10
|
+
DateRangePickerRef: ({
|
|
11
|
+
$: import('vue').ComponentInternalInstance;
|
|
12
|
+
$data: {};
|
|
13
|
+
$props: {
|
|
14
|
+
readonly modelValue: string[];
|
|
15
|
+
readonly pickerProps?: Partial<import('vant').DatePickerProps> | undefined;
|
|
16
|
+
readonly pickerGroupProps?: Partial<import('vant').PickerGroupProps> | undefined;
|
|
17
|
+
readonly showValueFormatter?: ((p: import('../DateRangePicker/DateRangePicker.vue').TDRPickerShowValueFormatterPayload) => string | undefined) | undefined;
|
|
18
|
+
readonly beforeConfirm?: ((newValues: TDateRangePickerProps["modelValue"]) => boolean) | undefined;
|
|
19
|
+
readonly onConfirm?: ((p: TDateRangePickerConfirmPayload) => any) | undefined;
|
|
20
|
+
readonly "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
21
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
22
|
+
$attrs: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
};
|
|
25
|
+
$refs: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
$slots: Readonly<{
|
|
29
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
30
|
+
}>;
|
|
31
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
32
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
33
|
+
$host: Element | null;
|
|
34
|
+
$emit: ((event: "confirm", p: TDateRangePickerConfirmPayload) => void) & ((event: "update:modelValue", value: string[]) => void);
|
|
35
|
+
$el: HTMLDivElement;
|
|
36
|
+
$options: import('vue').ComponentOptionsBase<Readonly<TDateRangePickerProps> & Readonly<{
|
|
37
|
+
onConfirm?: ((p: TDateRangePickerConfirmPayload) => any) | undefined;
|
|
38
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
39
|
+
}>, {
|
|
40
|
+
setPickerRealtimeDate(p: import('../DateRangePicker/DateRangePicker.vue').TSetDRPickerRealtimeDatePayload): void;
|
|
41
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
42
|
+
confirm: (p: TDateRangePickerConfirmPayload) => any;
|
|
43
|
+
"update:modelValue": (value: string[]) => any;
|
|
44
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
45
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
46
|
+
created?: (() => void) | (() => void)[];
|
|
47
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
48
|
+
mounted?: (() => void) | (() => void)[];
|
|
49
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
50
|
+
updated?: (() => void) | (() => void)[];
|
|
51
|
+
activated?: (() => void) | (() => void)[];
|
|
52
|
+
deactivated?: (() => void) | (() => void)[];
|
|
53
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
54
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
55
|
+
destroyed?: (() => void) | (() => void)[];
|
|
56
|
+
unmounted?: (() => void) | (() => void)[];
|
|
57
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
58
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
59
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
60
|
+
};
|
|
61
|
+
$forceUpdate: () => void;
|
|
62
|
+
$nextTick: typeof import('vue').nextTick;
|
|
63
|
+
$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;
|
|
64
|
+
} & Readonly<{}> & Omit<Readonly<TDateRangePickerProps> & Readonly<{
|
|
65
|
+
onConfirm?: ((p: TDateRangePickerConfirmPayload) => any) | undefined;
|
|
66
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
67
|
+
}>, "setPickerRealtimeDate"> & import('vue').ShallowUnwrapRef<{
|
|
68
|
+
setPickerRealtimeDate(p: import('../DateRangePicker/DateRangePicker.vue').TSetDRPickerRealtimeDatePayload): void;
|
|
69
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
70
|
+
$slots: Partial<Record<number, (_: any) => any>> & Partial<Record<`${number}-start`, (_: any) => any>> & Partial<Record<`${number}-end`, (_: any) => any>> & {
|
|
71
|
+
trigger?(_: {
|
|
72
|
+
showValue: string;
|
|
73
|
+
triggerPopupShow: () => void;
|
|
74
|
+
pickerRealtimeOptions: string[][];
|
|
75
|
+
}): any;
|
|
76
|
+
};
|
|
77
|
+
}) | null;
|
|
78
|
+
};
|
|
79
|
+
rootEl: HTMLDivElement;
|
|
80
|
+
};
|
|
81
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
82
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
83
|
+
setPickerRealtimeDate: import('vue').ComputedRef<((p: import('../DateRangePicker/DateRangePicker.vue').TSetDRPickerRealtimeDatePayload) => void) | undefined>;
|
|
84
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
85
|
+
confirm: (p: TDateRangePickerConfirmPayload) => any;
|
|
86
|
+
"update:modelValue": (value: string[]) => any;
|
|
87
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
88
|
+
onConfirm?: ((p: TDateRangePickerConfirmPayload) => any) | undefined;
|
|
89
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
90
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
91
|
+
DateRangePickerRef: ({
|
|
92
|
+
$: import('vue').ComponentInternalInstance;
|
|
93
|
+
$data: {};
|
|
94
|
+
$props: {
|
|
95
|
+
readonly modelValue: string[];
|
|
96
|
+
readonly pickerProps?: Partial<import('vant').DatePickerProps> | undefined;
|
|
97
|
+
readonly pickerGroupProps?: Partial<import('vant').PickerGroupProps> | undefined;
|
|
98
|
+
readonly showValueFormatter?: ((p: import('../DateRangePicker/DateRangePicker.vue').TDRPickerShowValueFormatterPayload) => string | undefined) | undefined;
|
|
99
|
+
readonly beforeConfirm?: ((newValues: TDateRangePickerProps["modelValue"]) => boolean) | undefined;
|
|
100
|
+
readonly onConfirm?: ((p: TDateRangePickerConfirmPayload) => any) | undefined;
|
|
101
|
+
readonly "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
102
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
103
|
+
$attrs: {
|
|
104
|
+
[x: string]: unknown;
|
|
105
|
+
};
|
|
106
|
+
$refs: {
|
|
107
|
+
[x: string]: unknown;
|
|
108
|
+
};
|
|
109
|
+
$slots: Readonly<{
|
|
110
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
111
|
+
}>;
|
|
112
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
113
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
114
|
+
$host: Element | null;
|
|
115
|
+
$emit: ((event: "confirm", p: TDateRangePickerConfirmPayload) => void) & ((event: "update:modelValue", value: string[]) => void);
|
|
116
|
+
$el: HTMLDivElement;
|
|
117
|
+
$options: import('vue').ComponentOptionsBase<Readonly<TDateRangePickerProps> & Readonly<{
|
|
118
|
+
onConfirm?: ((p: TDateRangePickerConfirmPayload) => any) | undefined;
|
|
119
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
120
|
+
}>, {
|
|
121
|
+
setPickerRealtimeDate(p: import('../DateRangePicker/DateRangePicker.vue').TSetDRPickerRealtimeDatePayload): void;
|
|
122
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
123
|
+
confirm: (p: TDateRangePickerConfirmPayload) => any;
|
|
124
|
+
"update:modelValue": (value: string[]) => any;
|
|
125
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
126
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
127
|
+
created?: (() => void) | (() => void)[];
|
|
128
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
129
|
+
mounted?: (() => void) | (() => void)[];
|
|
130
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
131
|
+
updated?: (() => void) | (() => void)[];
|
|
132
|
+
activated?: (() => void) | (() => void)[];
|
|
133
|
+
deactivated?: (() => void) | (() => void)[];
|
|
134
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
135
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
136
|
+
destroyed?: (() => void) | (() => void)[];
|
|
137
|
+
unmounted?: (() => void) | (() => void)[];
|
|
138
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
139
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
140
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
141
|
+
};
|
|
142
|
+
$forceUpdate: () => void;
|
|
143
|
+
$nextTick: typeof import('vue').nextTick;
|
|
144
|
+
$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;
|
|
145
|
+
} & Readonly<{}> & Omit<Readonly<TDateRangePickerProps> & Readonly<{
|
|
146
|
+
onConfirm?: ((p: TDateRangePickerConfirmPayload) => any) | undefined;
|
|
147
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
148
|
+
}>, "setPickerRealtimeDate"> & import('vue').ShallowUnwrapRef<{
|
|
149
|
+
setPickerRealtimeDate(p: import('../DateRangePicker/DateRangePicker.vue').TSetDRPickerRealtimeDatePayload): void;
|
|
150
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
151
|
+
$slots: Partial<Record<number, (_: any) => any>> & Partial<Record<`${number}-start`, (_: any) => any>> & Partial<Record<`${number}-end`, (_: any) => any>> & {
|
|
152
|
+
trigger?(_: {
|
|
153
|
+
showValue: string;
|
|
154
|
+
triggerPopupShow: () => void;
|
|
155
|
+
pickerRealtimeOptions: string[][];
|
|
156
|
+
}): any;
|
|
157
|
+
};
|
|
158
|
+
}) | null;
|
|
159
|
+
}, HTMLDivElement>;
|
|
160
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
161
|
+
export default _default;
|
|
162
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
163
|
+
new (): {
|
|
164
|
+
$slots: S;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { IUseMaskedFieldOptions } from '../common';
|
|
2
|
+
import { FieldProps } from 'vant';
|
|
3
|
+
export type TFieldMaskTxtProps = {
|
|
4
|
+
maskId: string;
|
|
5
|
+
modelValue: any;
|
|
6
|
+
fieldProps: Partial<Omit<FieldProps, 'modelValue'>>;
|
|
7
|
+
genFieldRules?: (p: {
|
|
8
|
+
isPlaintextVisible: boolean;
|
|
9
|
+
}) => FieldProps['rules'];
|
|
10
|
+
realFieldProps?: Partial<Omit<FieldProps, 'modelValue'>>;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
preset: Omit<IUseMaskedFieldOptions, 'maskId' | 'modelValue' | 'onValueUpdate'>;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import('vue').DefineComponent<TFieldMaskTxtProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
|
+
"update:modelValue": (value: any) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<TFieldMaskTxtProps> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
loading: boolean;
|
|
20
|
+
genFieldRules: (p: {
|
|
21
|
+
isPlaintextVisible: boolean;
|
|
22
|
+
}) => FieldProps["rules"];
|
|
23
|
+
realFieldProps: Partial<Omit<FieldProps, "modelValue">>;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
|
+
export default _default;
|
|
@@ -4,19 +4,19 @@ type __VLS_Props = TMultiPickerProps & {
|
|
|
4
4
|
fieldProps: Partial<Omit<FieldProps, 'modelValue'>>;
|
|
5
5
|
};
|
|
6
6
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
7
|
-
getOptionsIdMapData()
|
|
7
|
+
getOptionsIdMapData: import('vue').ComputedRef<(() => {
|
|
8
8
|
[x: string]: any;
|
|
9
|
-
} | undefined
|
|
9
|
+
}) | undefined>;
|
|
10
10
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
11
11
|
search: (value: string) => any;
|
|
12
|
-
toggleCheckbox: (value: any[]) => any;
|
|
13
12
|
confirm: (p: TConfirmEventPayload) => any;
|
|
14
13
|
"update:modelValue": (value: any[]) => any;
|
|
14
|
+
toggleCheckbox: (value: any[]) => any;
|
|
15
15
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
16
|
onSearch?: ((value: string) => any) | undefined;
|
|
17
|
-
onToggleCheckbox?: ((value: any[]) => any) | undefined;
|
|
18
17
|
onConfirm?: ((p: TConfirmEventPayload) => any) | undefined;
|
|
19
18
|
"onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
|
19
|
+
onToggleCheckbox?: ((value: any[]) => any) | undefined;
|
|
20
20
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
21
21
|
MultiPickerRef: ({
|
|
22
22
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -33,9 +33,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
33
33
|
readonly showSearch?: boolean | undefined;
|
|
34
34
|
readonly searchDelay?: number | undefined;
|
|
35
35
|
readonly onSearch?: ((value: string) => any) | undefined;
|
|
36
|
-
readonly onToggleCheckbox?: ((value: any[]) => any) | undefined;
|
|
37
36
|
readonly onConfirm?: ((p: TConfirmEventPayload) => any) | undefined;
|
|
38
37
|
readonly "onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
|
38
|
+
readonly onToggleCheckbox?: ((value: any[]) => any) | undefined;
|
|
39
39
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
40
40
|
$attrs: {
|
|
41
41
|
[x: string]: unknown;
|
|
@@ -49,31 +49,31 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
49
49
|
$root: import('vue').ComponentPublicInstance | null;
|
|
50
50
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
51
51
|
$host: Element | null;
|
|
52
|
-
$emit: ((event: "search", value: string) => void) & ((event: "
|
|
52
|
+
$emit: ((event: "search", value: string) => void) & ((event: "confirm", p: TConfirmEventPayload) => void) & ((event: "update:modelValue", value: any[]) => void) & ((event: "toggleCheckbox", value: any[]) => void);
|
|
53
53
|
$el: HTMLDivElement;
|
|
54
54
|
$options: import('vue').ComponentOptionsBase<Readonly<TMultiPickerProps> & Readonly<{
|
|
55
55
|
onSearch?: ((value: string) => any) | undefined;
|
|
56
|
-
onToggleCheckbox?: ((value: any[]) => any) | undefined;
|
|
57
56
|
onConfirm?: ((p: TConfirmEventPayload) => any) | undefined;
|
|
58
57
|
"onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
|
58
|
+
onToggleCheckbox?: ((value: any[]) => any) | undefined;
|
|
59
59
|
}>, {
|
|
60
60
|
getOptionsIdMapData(): {
|
|
61
61
|
[x: string]: any;
|
|
62
62
|
};
|
|
63
63
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
64
64
|
search: (value: string) => any;
|
|
65
|
-
toggleCheckbox: (value: any[]) => any;
|
|
66
65
|
confirm: (p: TConfirmEventPayload) => any;
|
|
67
66
|
"update:modelValue": (value: any[]) => any;
|
|
67
|
+
toggleCheckbox: (value: any[]) => any;
|
|
68
68
|
}, string, {
|
|
69
69
|
title: string;
|
|
70
|
+
showSearch: boolean;
|
|
71
|
+
searchDelay: number;
|
|
70
72
|
fieldNames: {
|
|
71
73
|
label: string;
|
|
72
74
|
value: string;
|
|
73
75
|
};
|
|
74
76
|
tipTxt: string;
|
|
75
|
-
showSearch: boolean;
|
|
76
|
-
searchDelay: number;
|
|
77
77
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
78
78
|
beforeCreate?: (() => void) | (() => void)[];
|
|
79
79
|
created?: (() => void) | (() => void)[];
|
|
@@ -96,19 +96,19 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
96
96
|
$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;
|
|
97
97
|
} & Readonly<{
|
|
98
98
|
title: string;
|
|
99
|
+
showSearch: boolean;
|
|
100
|
+
searchDelay: number;
|
|
99
101
|
fieldNames: {
|
|
100
102
|
label: string;
|
|
101
103
|
value: string;
|
|
102
104
|
};
|
|
103
105
|
tipTxt: string;
|
|
104
|
-
showSearch: boolean;
|
|
105
|
-
searchDelay: number;
|
|
106
106
|
}> & Omit<Readonly<TMultiPickerProps> & Readonly<{
|
|
107
107
|
onSearch?: ((value: string) => any) | undefined;
|
|
108
|
-
onToggleCheckbox?: ((value: any[]) => any) | undefined;
|
|
109
108
|
onConfirm?: ((p: TConfirmEventPayload) => any) | undefined;
|
|
110
109
|
"onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
|
111
|
-
|
|
110
|
+
onToggleCheckbox?: ((value: any[]) => any) | undefined;
|
|
111
|
+
}>, "getOptionsIdMapData" | ("title" | "showSearch" | "searchDelay" | "fieldNames" | "tipTxt")> & import('vue').ShallowUnwrapRef<{
|
|
112
112
|
getOptionsIdMapData(): {
|
|
113
113
|
[x: string]: any;
|
|
114
114
|
};
|
|
@@ -13,13 +13,13 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
13
13
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
14
|
search: (value: string) => any;
|
|
15
15
|
confirm: (option: any) => any;
|
|
16
|
-
"update:modelValue": (value: any) => any;
|
|
17
16
|
confirmDisabledOption: (p: TSPConfirmDisabledOptionPayload) => any;
|
|
17
|
+
"update:modelValue": (value: any) => any;
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
19
|
onSearch?: ((value: string) => any) | undefined;
|
|
20
20
|
onConfirm?: ((option: any) => any) | undefined;
|
|
21
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
22
21
|
onConfirmDisabledOption?: ((p: TSPConfirmDisabledOptionPayload) => any) | undefined;
|
|
22
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
23
23
|
}>, {
|
|
24
24
|
showSearch: boolean;
|
|
25
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FieldProps } from 'vant';
|
|
2
|
+
export type TSwitchOption = {
|
|
3
|
+
label: string;
|
|
4
|
+
value: any;
|
|
5
|
+
};
|
|
6
|
+
export type TSwitchOptions = [TSwitchOption, TSwitchOption];
|
|
7
|
+
export type TFieldSwitchBtnProps = {
|
|
8
|
+
modelValue: any;
|
|
9
|
+
fieldProps: Partial<Omit<FieldProps, 'modelValue'>>;
|
|
10
|
+
options?: TSwitchOptions;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import('vue').DefineComponent<TFieldSwitchBtnProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
13
|
+
"update:modelValue": (value: any) => any;
|
|
14
|
+
change: (option: TSwitchOption) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<TFieldSwitchBtnProps> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
17
|
+
onChange?: ((option: TSwitchOption) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IUseMaskedFieldOptions } from '../common';
|
|
2
|
+
export type TMaskTxtProps = {
|
|
3
|
+
maskId: string;
|
|
4
|
+
maskTxt: string;
|
|
5
|
+
iconSize?: string | number;
|
|
6
|
+
preset: Omit<IUseMaskedFieldOptions, 'maskId' | 'modelValue' | 'onValueUpdate'>;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TMaskTxtProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TMaskTxtProps> & Readonly<{}>, {
|
|
9
|
+
iconSize: string | number;
|
|
10
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
11
|
+
default?(_: {
|
|
12
|
+
showValue: string;
|
|
13
|
+
loading: boolean;
|
|
14
|
+
isPlaintextVisible: boolean;
|
|
15
|
+
toggleVisibility: () => Promise<void>;
|
|
16
|
+
}): any;
|
|
17
|
+
}>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -22,20 +22,20 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TM
|
|
|
22
22
|
getOptionsIdMapData(): IdMapData;
|
|
23
23
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
24
24
|
search: (value: string) => any;
|
|
25
|
-
toggleCheckbox: (value: any[]) => any;
|
|
26
25
|
confirm: (p: TConfirmEventPayload) => any;
|
|
27
26
|
"update:modelValue": (value: any[]) => any;
|
|
27
|
+
toggleCheckbox: (value: any[]) => any;
|
|
28
28
|
}, string, import('vue').PublicProps, Readonly<TMultiPickerProps> & Readonly<{
|
|
29
29
|
onSearch?: ((value: string) => any) | undefined;
|
|
30
|
-
onToggleCheckbox?: ((value: any[]) => any) | undefined;
|
|
31
30
|
onConfirm?: ((p: TConfirmEventPayload) => any) | undefined;
|
|
32
31
|
"onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
|
32
|
+
onToggleCheckbox?: ((value: any[]) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
title: string;
|
|
35
|
-
fieldNames: TFieldNames;
|
|
36
|
-
tipTxt: string;
|
|
37
35
|
showSearch: boolean;
|
|
38
36
|
searchDelay: number;
|
|
37
|
+
fieldNames: TFieldNames;
|
|
38
|
+
tipTxt: string;
|
|
39
39
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
40
40
|
trigger?(_: {
|
|
41
41
|
triggerPopupShow: () => void;
|