sard 1.0.6 → 1.0.8
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/components/calendar-input/calendar-input.d.ts +2 -2
- package/components/calendar-input/calendar-input.js +2 -2
- package/components/calendar-popout/calendar-popout.d.ts +2 -2
- package/components/calendar-popout/common.d.ts +1 -1
- package/components/cascader-input/cascader-input.d.ts +2 -2
- package/components/cascader-input/cascader-input.js +2 -2
- package/components/cascader-popout/cascader-popout.d.ts +2 -2
- package/components/cascader-popout/common.d.ts +1 -1
- package/components/checkbox-input/checkbox-input.d.ts +2 -2
- package/components/checkbox-input/checkbox-input.js +2 -2
- package/components/checkbox-popout/checkbox-popout.d.ts +2 -2
- package/components/checkbox-popout/common.d.ts +1 -1
- package/components/color-picker-input/color-picker-input.d.ts +2 -2
- package/components/color-picker-input/color-picker-input.js +2 -2
- package/components/color-picker-popout/color-picker-popout.d.ts +2 -2
- package/components/color-picker-popout/common.d.ts +1 -1
- package/components/datetime-picker-input/datetime-picker-input.d.ts +2 -2
- package/components/datetime-picker-input/datetime-picker-input.js +2 -2
- package/components/datetime-picker-popout/common.d.ts +1 -1
- package/components/datetime-picker-popout/datetime-picker-popout.d.ts +2 -2
- package/components/datetime-range-picker-input/datetime-range-picker-input.d.ts +2 -2
- package/components/datetime-range-picker-input/datetime-range-picker-input.js +2 -2
- package/components/datetime-range-picker-popout/common.d.ts +1 -1
- package/components/datetime-range-picker-popout/datetime-range-picker-popout.d.ts +2 -2
- package/components/picker/common.js +15 -3
- package/components/picker-input/picker-input.d.ts +3 -3
- package/components/picker-input/picker-input.js +2 -2
- package/components/picker-popout/common.d.ts +3 -3
- package/components/picker-popout/picker-popout.d.ts +3 -3
- package/components/picker-popout/picker-popout.js +4 -4
- package/components/popout/useFormPopout.d.ts +2 -1
- package/components/popout/useFormPopout.js +5 -2
- package/components/radio-input/radio-input.d.ts +2 -2
- package/components/radio-input/radio-input.js +2 -2
- package/components/radio-popout/common.d.ts +1 -1
- package/components/radio-popout/radio-popout.d.ts +2 -2
- package/components/select-input/select-input.d.ts +2 -2
- package/components/select-input/select-input.js +2 -2
- package/components/select-popout/common.d.ts +1 -1
- package/components/select-popout/select-popout.d.ts +2 -2
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ declare const __VLS_base: import("vue").DefineComponent<CalendarInputProps, {},
|
|
|
14
14
|
"visible-hook": (name: import("../index.ts").MotionHookName, el: Element) => any;
|
|
15
15
|
"update:visible": (visible: boolean) => any;
|
|
16
16
|
"update:modelValue": (value: string | string[] | Date | Date[] | undefined) => any;
|
|
17
|
-
confirm: () => any;
|
|
17
|
+
confirm: (value: string | string[] | Date | Date[] | undefined) => any;
|
|
18
18
|
}, string, import("vue").PublicProps, Readonly<CalendarInputProps> & Readonly<{
|
|
19
19
|
onChange?: ((value: string | string[] | Date | Date[] | undefined) => any) | undefined;
|
|
20
20
|
"onBefore-enter"?: ((el: Element) => any) | undefined;
|
|
@@ -28,7 +28,7 @@ declare const __VLS_base: import("vue").DefineComponent<CalendarInputProps, {},
|
|
|
28
28
|
"onVisible-hook"?: ((name: import("../index.ts").MotionHookName, el: Element) => any) | undefined;
|
|
29
29
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
30
30
|
"onUpdate:modelValue"?: ((value: string | string[] | Date | Date[] | undefined) => any) | undefined;
|
|
31
|
-
onConfirm?: (() => any) | undefined;
|
|
31
|
+
onConfirm?: ((value: string | string[] | Date | Date[] | undefined) => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
33
|
title: string;
|
|
34
34
|
min: Date;
|
|
@@ -175,8 +175,8 @@ var calendar_input_default = /*@__PURE__*/ defineComponent({
|
|
|
175
175
|
watch(innerValue, () => {
|
|
176
176
|
inputValue.value = getInputValue();
|
|
177
177
|
}, { immediate: true });
|
|
178
|
-
const onConfirm = () => {
|
|
179
|
-
emit("confirm");
|
|
178
|
+
const onConfirm = (value) => {
|
|
179
|
+
emit("confirm", value);
|
|
180
180
|
};
|
|
181
181
|
return (_ctx, _cache) => {
|
|
182
182
|
return openBlock(), createBlock(popout_input_default, mergeProps(unref(partitionedProps)[0], {
|
|
@@ -13,7 +13,7 @@ declare const __VLS_base: import("vue").DefineComponent<CalendarPopoutProps, {},
|
|
|
13
13
|
"visible-hook": (name: import("../index.ts").MotionHookName, el: Element) => any;
|
|
14
14
|
"update:visible": (visible: boolean) => any;
|
|
15
15
|
"update:modelValue": (value: string | string[] | Date | Date[] | undefined) => any;
|
|
16
|
-
confirm: () => any;
|
|
16
|
+
confirm: (value: string | string[] | Date | Date[] | undefined) => any;
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<CalendarPopoutProps> & Readonly<{
|
|
18
18
|
onChange?: ((value: string | string[] | Date | Date[] | undefined) => any) | undefined;
|
|
19
19
|
"onBefore-enter"?: ((el: Element) => any) | undefined;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<CalendarPopoutProps, {},
|
|
|
27
27
|
"onVisible-hook"?: ((name: import("../index.ts").MotionHookName, el: Element) => any) | undefined;
|
|
28
28
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
29
29
|
"onUpdate:modelValue"?: ((value: string | string[] | Date | Date[] | undefined) => any) | undefined;
|
|
30
|
-
onConfirm?: (() => any) | undefined;
|
|
30
|
+
onConfirm?: ((value: string | string[] | Date | Date[] | undefined) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
32
|
title: string;
|
|
33
33
|
min: Date;
|
|
@@ -14,7 +14,7 @@ export interface CalendarPopoutEmits extends MotionEmits {
|
|
|
14
14
|
(e: 'update:visible', visible: boolean): void;
|
|
15
15
|
(e: 'update:modelValue', value: Date | Date[] | string | string[] | undefined): void;
|
|
16
16
|
(e: 'change', value: Date | Date[] | string | string[] | undefined): void;
|
|
17
|
-
(e: 'confirm'): void;
|
|
17
|
+
(e: 'confirm', value: Date | Date[] | string | string[] | undefined): void;
|
|
18
18
|
}
|
|
19
19
|
export interface CalendarPopoutExpose {
|
|
20
20
|
}
|
|
@@ -15,7 +15,7 @@ declare const __VLS_base: import("vue").DefineComponent<CascaderInputProps, {},
|
|
|
15
15
|
"visible-hook": (name: import("../index.ts").MotionHookName, el: Element) => any;
|
|
16
16
|
"update:visible": (visible: boolean) => any;
|
|
17
17
|
"update:modelValue": (value: any, selectedOptions: CascaderOption[]) => any;
|
|
18
|
-
confirm: () => any;
|
|
18
|
+
confirm: (value: any, selectedOptions: CascaderOption[]) => any;
|
|
19
19
|
}, string, import("vue").PublicProps, Readonly<CascaderInputProps> & Readonly<{
|
|
20
20
|
onSelect?: ((option: CascaderOption, tabIndex: number) => any) | undefined;
|
|
21
21
|
onChange?: ((value: any, selectedOptions: CascaderOption[]) => any) | undefined;
|
|
@@ -30,7 +30,7 @@ declare const __VLS_base: import("vue").DefineComponent<CascaderInputProps, {},
|
|
|
30
30
|
"onVisible-hook"?: ((name: import("../index.ts").MotionHookName, el: Element) => any) | undefined;
|
|
31
31
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
32
32
|
"onUpdate:modelValue"?: ((value: any, selectedOptions: CascaderOption[]) => any) | undefined;
|
|
33
|
-
onConfirm?: (() => any) | undefined;
|
|
33
|
+
onConfirm?: ((value: any, selectedOptions: CascaderOption[]) => any) | undefined;
|
|
34
34
|
}>, {
|
|
35
35
|
title: string;
|
|
36
36
|
multiple: boolean;
|
|
@@ -184,8 +184,8 @@ var cascader_input_default = /*@__PURE__*/ defineComponent({
|
|
|
184
184
|
watch([innerValue, renderedOptions], () => {
|
|
185
185
|
inputValue.value = getMayMultilineText(getInputValue(renderedOptions.value));
|
|
186
186
|
}, { immediate: true });
|
|
187
|
-
const onConfirm = () => {
|
|
188
|
-
emit("confirm");
|
|
187
|
+
const onConfirm = (value, selectedOptions) => {
|
|
188
|
+
emit("confirm", value, selectedOptions);
|
|
189
189
|
};
|
|
190
190
|
return (_ctx, _cache) => {
|
|
191
191
|
return openBlock(), createBlock(popout_input_default, mergeProps(unref(partitionedProps)[0], {
|
|
@@ -14,7 +14,7 @@ declare const __VLS_base: import("vue").DefineComponent<CascaderPopoutProps, {},
|
|
|
14
14
|
"visible-hook": (name: import("../index.ts").MotionHookName, el: Element) => any;
|
|
15
15
|
"update:visible": (visible: boolean) => any;
|
|
16
16
|
"update:modelValue": (value: any, selectedOptions: import("../index.ts").CascaderOption[]) => any;
|
|
17
|
-
confirm: () => any;
|
|
17
|
+
confirm: (value: any, selectedOptions: import("../index.ts").CascaderOption[]) => any;
|
|
18
18
|
}, string, import("vue").PublicProps, Readonly<CascaderPopoutProps> & Readonly<{
|
|
19
19
|
onSelect?: ((option: import("../index.ts").CascaderOption, tabIndex: number) => any) | undefined;
|
|
20
20
|
onChange?: ((value: any, selectedOptions: import("../index.ts").CascaderOption[]) => any) | undefined;
|
|
@@ -29,7 +29,7 @@ declare const __VLS_base: import("vue").DefineComponent<CascaderPopoutProps, {},
|
|
|
29
29
|
"onVisible-hook"?: ((name: import("../index.ts").MotionHookName, el: Element) => any) | undefined;
|
|
30
30
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
31
31
|
"onUpdate:modelValue"?: ((value: any, selectedOptions: import("../index.ts").CascaderOption[]) => any) | undefined;
|
|
32
|
-
onConfirm?: (() => any) | undefined;
|
|
32
|
+
onConfirm?: ((value: any, selectedOptions: import("../index.ts").CascaderOption[]) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
title: string;
|
|
35
35
|
multiple: boolean;
|
|
@@ -15,7 +15,7 @@ export interface CascaderPopoutEmits extends MotionEmits {
|
|
|
15
15
|
(e: 'update:modelValue', value: any, selectedOptions: CascaderOption[]): void;
|
|
16
16
|
(e: 'change', value: any, selectedOptions: CascaderOption[]): void;
|
|
17
17
|
(e: 'select', option: CascaderOption, tabIndex: number): void;
|
|
18
|
-
(e: 'confirm'): void;
|
|
18
|
+
(e: 'confirm', value: any, selectedOptions: CascaderOption[]): void;
|
|
19
19
|
}
|
|
20
20
|
export interface CascaderPopoutExpose {
|
|
21
21
|
}
|
|
@@ -13,7 +13,7 @@ declare const __VLS_base: import("vue").DefineComponent<CheckboxInputProps, {},
|
|
|
13
13
|
"visible-hook": (name: import("../index.ts").MotionHookName, el: Element) => any;
|
|
14
14
|
"update:visible": (visible: boolean) => any;
|
|
15
15
|
"update:modelValue": (value: any) => any;
|
|
16
|
-
confirm: () => any;
|
|
16
|
+
confirm: (value: any) => any;
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<CheckboxInputProps> & Readonly<{
|
|
18
18
|
onChange?: ((value: any) => any) | undefined;
|
|
19
19
|
"onBefore-enter"?: ((el: Element) => any) | undefined;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<CheckboxInputProps, {},
|
|
|
27
27
|
"onVisible-hook"?: ((name: import("../index.ts").MotionHookName, el: Element) => any) | undefined;
|
|
28
28
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
29
29
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
30
|
-
onConfirm?: (() => any) | undefined;
|
|
30
|
+
onConfirm?: ((value: any) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
32
|
title: string;
|
|
33
33
|
options: import("../checkbox/common.ts").CheckboxGroupOption[];
|
|
@@ -139,8 +139,8 @@ var checkbox_input_default = /*@__PURE__*/ defineComponent({
|
|
|
139
139
|
watch([innerValue, () => props.options], () => {
|
|
140
140
|
inputValue.value = getInputValue();
|
|
141
141
|
}, { immediate: true });
|
|
142
|
-
const onConfirm = () => {
|
|
143
|
-
emit("confirm");
|
|
142
|
+
const onConfirm = (value) => {
|
|
143
|
+
emit("confirm", value);
|
|
144
144
|
};
|
|
145
145
|
return (_ctx, _cache) => {
|
|
146
146
|
return openBlock(), createBlock(popout_input_default, mergeProps(unref(partitionedProps)[0], {
|
|
@@ -13,7 +13,7 @@ declare const __VLS_base: import("vue").DefineComponent<CheckboxPopoutProps, {},
|
|
|
13
13
|
"visible-hook": (name: import("../index.ts").MotionHookName, el: Element) => any;
|
|
14
14
|
"update:visible": (visible: boolean) => any;
|
|
15
15
|
"update:modelValue": (value: any) => any;
|
|
16
|
-
confirm: () => any;
|
|
16
|
+
confirm: (value: any) => any;
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<CheckboxPopoutProps> & Readonly<{
|
|
18
18
|
onChange?: ((value: any) => any) | undefined;
|
|
19
19
|
"onBefore-enter"?: ((el: Element) => any) | undefined;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<CheckboxPopoutProps, {},
|
|
|
27
27
|
"onVisible-hook"?: ((name: import("../index.ts").MotionHookName, el: Element) => any) | undefined;
|
|
28
28
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
29
29
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
30
|
-
onConfirm?: (() => any) | undefined;
|
|
30
|
+
onConfirm?: ((value: any) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
32
|
title: string;
|
|
33
33
|
options: import("../checkbox/common.ts").CheckboxGroupOption[];
|
|
@@ -16,7 +16,7 @@ export interface CheckboxPopoutEmits extends MotionEmits {
|
|
|
16
16
|
(e: 'update:visible', visible: boolean): void;
|
|
17
17
|
(e: 'update:modelValue', value: any): void;
|
|
18
18
|
(e: 'change', value: any): void;
|
|
19
|
-
(e: 'confirm'): void;
|
|
19
|
+
(e: 'confirm', value: any): void;
|
|
20
20
|
}
|
|
21
21
|
export interface CheckboxPopoutExpose {
|
|
22
22
|
}
|
|
@@ -13,7 +13,7 @@ declare const __VLS_base: import("vue").DefineComponent<ColorPickerInputProps, C
|
|
|
13
13
|
"visible-hook": (name: import("../index.ts").MotionHookName, el: Element) => any;
|
|
14
14
|
"update:visible": (visible: boolean) => any;
|
|
15
15
|
"update:modelValue": (value: string) => any;
|
|
16
|
-
confirm: () => any;
|
|
16
|
+
confirm: (value: string) => any;
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<ColorPickerInputProps> & Readonly<{
|
|
18
18
|
onChange?: ((value: string) => any) | undefined;
|
|
19
19
|
"onBefore-enter"?: ((el: Element) => any) | undefined;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<ColorPickerInputProps, C
|
|
|
27
27
|
"onVisible-hook"?: ((name: import("../index.ts").MotionHookName, el: Element) => any) | undefined;
|
|
28
28
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
29
29
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
30
|
-
onConfirm?: (() => any) | undefined;
|
|
30
|
+
onConfirm?: ((value: string) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
32
|
title: string;
|
|
33
33
|
format: import("../index.ts").ColorFormat;
|
|
@@ -118,8 +118,8 @@ var color_picker_input_default = /*@__PURE__*/ defineComponent({
|
|
|
118
118
|
const previewStyle = computed(() => {
|
|
119
119
|
return { background: innerValue.value };
|
|
120
120
|
});
|
|
121
|
-
const onConfirm = () => {
|
|
122
|
-
emit("confirm");
|
|
121
|
+
const onConfirm = (value) => {
|
|
122
|
+
emit("confirm", value);
|
|
123
123
|
};
|
|
124
124
|
__expose({});
|
|
125
125
|
return (_ctx, _cache) => {
|
|
@@ -13,7 +13,7 @@ declare const __VLS_base: import("vue").DefineComponent<ColorPickerPopoutProps,
|
|
|
13
13
|
"visible-hook": (name: import("../index.ts").MotionHookName, el: Element) => any;
|
|
14
14
|
"update:visible": (visible: boolean) => any;
|
|
15
15
|
"update:modelValue": (value: string) => any;
|
|
16
|
-
confirm: () => any;
|
|
16
|
+
confirm: (value: string) => any;
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<ColorPickerPopoutProps> & Readonly<{
|
|
18
18
|
onChange?: ((value: string) => any) | undefined;
|
|
19
19
|
"onBefore-enter"?: ((el: Element) => any) | undefined;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<ColorPickerPopoutProps,
|
|
|
27
27
|
"onVisible-hook"?: ((name: import("../index.ts").MotionHookName, el: Element) => any) | undefined;
|
|
28
28
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
29
29
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
30
|
-
onConfirm?: (() => any) | undefined;
|
|
30
|
+
onConfirm?: ((value: string) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
32
|
title: string;
|
|
33
33
|
format: import("../index.ts").ColorFormat;
|
|
@@ -13,7 +13,7 @@ export interface ColorPickerPopoutEmits extends MotionEmits {
|
|
|
13
13
|
(e: 'update:visible', visible: boolean): void;
|
|
14
14
|
(e: 'update:modelValue', value: string): void;
|
|
15
15
|
(e: 'change', value: string): void;
|
|
16
|
-
(e: 'confirm'): void;
|
|
16
|
+
(e: 'confirm', value: string): void;
|
|
17
17
|
}
|
|
18
18
|
export interface ColorPickerPopoutExpose {
|
|
19
19
|
}
|
|
@@ -13,7 +13,7 @@ declare const __VLS_base: import("vue").DefineComponent<DatetimePickerInputProps
|
|
|
13
13
|
"visible-hook": (name: import("../index.ts").MotionHookName, el: Element) => any;
|
|
14
14
|
"update:visible": (visible: boolean) => any;
|
|
15
15
|
"update:modelValue": (date: string | Date | undefined) => any;
|
|
16
|
-
confirm: () => any;
|
|
16
|
+
confirm: (date: string | Date | undefined) => any;
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<DatetimePickerInputProps> & Readonly<{
|
|
18
18
|
onChange?: ((date: string | Date | undefined) => any) | undefined;
|
|
19
19
|
"onBefore-enter"?: ((el: Element) => any) | undefined;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<DatetimePickerInputProps
|
|
|
27
27
|
"onVisible-hook"?: ((name: import("../index.ts").MotionHookName, el: Element) => any) | undefined;
|
|
28
28
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
29
29
|
"onUpdate:modelValue"?: ((date: string | Date | undefined) => any) | undefined;
|
|
30
|
-
onConfirm?: (() => any) | undefined;
|
|
30
|
+
onConfirm?: ((date: string | Date | undefined) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
32
|
filter: (letter: import("../index.ts").DatetimeLetter, value: number, date: Date, index: number) => boolean;
|
|
33
33
|
title: string;
|
|
@@ -131,8 +131,8 @@ var datetime_picker_input_default = /*@__PURE__*/ defineComponent({
|
|
|
131
131
|
watch(innerValue, () => {
|
|
132
132
|
inputValue.value = getInputValue();
|
|
133
133
|
}, { immediate: true });
|
|
134
|
-
const onConfirm = () => {
|
|
135
|
-
emit("confirm");
|
|
134
|
+
const onConfirm = (value) => {
|
|
135
|
+
emit("confirm", value);
|
|
136
136
|
};
|
|
137
137
|
return (_ctx, _cache) => {
|
|
138
138
|
return openBlock(), createBlock(popout_input_default, mergeProps(unref(partitionedProps)[0], {
|
|
@@ -11,7 +11,7 @@ export interface DatetimePickerPopoutEmits extends MotionEmits {
|
|
|
11
11
|
(e: 'update:visible', visible: boolean): void;
|
|
12
12
|
(e: 'update:modelValue', date: Date | string | undefined): void;
|
|
13
13
|
(e: 'change', date: Date | string | undefined): void;
|
|
14
|
-
(e: 'confirm'): void;
|
|
14
|
+
(e: 'confirm', date: Date | string | undefined): void;
|
|
15
15
|
}
|
|
16
16
|
export interface DatetimePickerPopoutExpose {
|
|
17
17
|
}
|
|
@@ -13,7 +13,7 @@ declare const __VLS_base: import("vue").DefineComponent<DatetimePickerPopoutProp
|
|
|
13
13
|
"visible-hook": (name: import("../index.ts").MotionHookName, el: Element) => any;
|
|
14
14
|
"update:visible": (visible: boolean) => any;
|
|
15
15
|
"update:modelValue": (date: string | Date | undefined) => any;
|
|
16
|
-
confirm: () => any;
|
|
16
|
+
confirm: (date: string | Date | undefined) => any;
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<DatetimePickerPopoutProps> & Readonly<{
|
|
18
18
|
onChange?: ((date: string | Date | undefined) => any) | undefined;
|
|
19
19
|
"onBefore-enter"?: ((el: Element) => any) | undefined;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<DatetimePickerPopoutProp
|
|
|
27
27
|
"onVisible-hook"?: ((name: import("../index.ts").MotionHookName, el: Element) => any) | undefined;
|
|
28
28
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
29
29
|
"onUpdate:modelValue"?: ((date: string | Date | undefined) => any) | undefined;
|
|
30
|
-
onConfirm?: (() => any) | undefined;
|
|
30
|
+
onConfirm?: ((date: string | Date | undefined) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
32
|
filter: (letter: import("../index.ts").DatetimeLetter, value: number, date: Date, index: number) => boolean;
|
|
33
33
|
title: string;
|
|
@@ -13,7 +13,7 @@ declare const __VLS_base: import("vue").DefineComponent<DatetimeRangePickerInput
|
|
|
13
13
|
"visible-hook": (name: import("../index.ts").MotionHookName, el: Element) => any;
|
|
14
14
|
"update:visible": (visible: boolean) => any;
|
|
15
15
|
"update:modelValue": (date: (string | Date)[] | undefined) => any;
|
|
16
|
-
confirm: () => any;
|
|
16
|
+
confirm: (date: (string | Date)[] | undefined) => any;
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<DatetimeRangePickerInputProps> & Readonly<{
|
|
18
18
|
onChange?: ((date: (string | Date)[] | undefined) => any) | undefined;
|
|
19
19
|
"onBefore-enter"?: ((el: Element) => any) | undefined;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<DatetimeRangePickerInput
|
|
|
27
27
|
"onVisible-hook"?: ((name: import("../index.ts").MotionHookName, el: Element) => any) | undefined;
|
|
28
28
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
29
29
|
"onUpdate:modelValue"?: ((date: (string | Date)[] | undefined) => any) | undefined;
|
|
30
|
-
onConfirm?: (() => any) | undefined;
|
|
30
|
+
onConfirm?: ((date: (string | Date)[] | undefined) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
32
|
filter: (letter: import("../index.ts").DatetimeLetter, value: number, date: Date, index: number) => boolean;
|
|
33
33
|
title: string;
|
|
@@ -141,8 +141,8 @@ var datetime_range_picker_input_default = /*@__PURE__*/ defineComponent({
|
|
|
141
141
|
watch(innerValue, () => {
|
|
142
142
|
inputValue.value = getInputValue();
|
|
143
143
|
}, { immediate: true });
|
|
144
|
-
const onConfirm = () => {
|
|
145
|
-
emit("confirm");
|
|
144
|
+
const onConfirm = (date) => {
|
|
145
|
+
emit("confirm", date);
|
|
146
146
|
};
|
|
147
147
|
return (_ctx, _cache) => {
|
|
148
148
|
return openBlock(), createBlock(popout_input_default, mergeProps(unref(partitionedProps)[0], {
|
|
@@ -11,7 +11,7 @@ export interface DatetimeRangePickerPopoutEmits extends MotionEmits {
|
|
|
11
11
|
(e: 'update:visible', visible: boolean): void;
|
|
12
12
|
(e: 'update:modelValue', date: (Date | string)[] | undefined): void;
|
|
13
13
|
(e: 'change', date: (Date | string)[] | undefined): void;
|
|
14
|
-
(e: 'confirm'): void;
|
|
14
|
+
(e: 'confirm', date: (Date | string)[] | undefined): void;
|
|
15
15
|
}
|
|
16
16
|
export interface DatetimeRangePickerPopoutExpose {
|
|
17
17
|
}
|
|
@@ -13,7 +13,7 @@ declare const __VLS_base: import("vue").DefineComponent<DatetimeRangePickerPopou
|
|
|
13
13
|
"visible-hook": (name: import("../index.ts").MotionHookName, el: Element) => any;
|
|
14
14
|
"update:visible": (visible: boolean) => any;
|
|
15
15
|
"update:modelValue": (date: (string | Date)[] | undefined) => any;
|
|
16
|
-
confirm: () => any;
|
|
16
|
+
confirm: (date: (string | Date)[] | undefined) => any;
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<DatetimeRangePickerPopoutProps> & Readonly<{
|
|
18
18
|
onChange?: ((date: (string | Date)[] | undefined) => any) | undefined;
|
|
19
19
|
"onBefore-enter"?: ((el: Element) => any) | undefined;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<DatetimeRangePickerPopou
|
|
|
27
27
|
"onVisible-hook"?: ((name: import("../index.ts").MotionHookName, el: Element) => any) | undefined;
|
|
28
28
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
29
29
|
"onUpdate:modelValue"?: ((date: (string | Date)[] | undefined) => any) | undefined;
|
|
30
|
-
onConfirm?: (() => any) | undefined;
|
|
30
|
+
onConfirm?: ((date: (string | Date)[] | undefined) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
32
|
filter: (letter: import("../index.ts").DatetimeLetter, value: number, date: Date, index: number) => boolean;
|
|
33
33
|
title: string;
|
|
@@ -64,12 +64,24 @@ function getInitialValue(columns, optionKeys) {
|
|
|
64
64
|
return option;
|
|
65
65
|
}
|
|
66
66
|
switch (getColumnsType(columns, optionKeys)) {
|
|
67
|
-
case "single": return [
|
|
68
|
-
|
|
67
|
+
case "single": return [
|
|
68
|
+
getValue(columns[0]),
|
|
69
|
+
[columns[0]],
|
|
70
|
+
[0]
|
|
71
|
+
];
|
|
72
|
+
case "multi": return [
|
|
73
|
+
columns.map((column) => getValue(column[0])),
|
|
74
|
+
columns.map((column) => column[0]),
|
|
75
|
+
columns.map(() => 0)
|
|
76
|
+
];
|
|
69
77
|
case "cascader": {
|
|
70
78
|
const options = [];
|
|
71
79
|
recurse(columns, options);
|
|
72
|
-
return [
|
|
80
|
+
return [
|
|
81
|
+
options.map((option) => getValue(option)),
|
|
82
|
+
options,
|
|
83
|
+
options.map(() => 0)
|
|
84
|
+
];
|
|
73
85
|
}
|
|
74
86
|
}
|
|
75
87
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type PickerInputProps, type PickerInputEmits, type PickerInputSlots } from './common';
|
|
2
2
|
declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<PickerInputProps<T> & {
|
|
4
|
-
onChange?: ((value: any) => any) | undefined;
|
|
4
|
+
onChange?: ((value: any, selectedOptions: any[], indexes: number[]) => any) | undefined;
|
|
5
5
|
"onBefore-enter"?: ((el: Element) => any) | undefined;
|
|
6
6
|
onEnter?: ((el: Element) => any) | undefined;
|
|
7
7
|
"onAfter-enter"?: ((el: Element) => any) | undefined;
|
|
@@ -12,8 +12,8 @@ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
|
|
|
12
12
|
"onLeave-cancelled"?: ((el: Element) => any) | undefined;
|
|
13
13
|
"onVisible-hook"?: ((name: import("../index.ts").MotionHookName, el: Element) => any) | undefined;
|
|
14
14
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
15
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
16
|
-
onConfirm?: (() => any) | undefined;
|
|
15
|
+
"onUpdate:modelValue"?: ((value: any, selectedOptions: any[], indexes: number[]) => any) | undefined;
|
|
16
|
+
onConfirm?: ((value: any, selectedOptions: any[], indexes: number[]) => any) | undefined;
|
|
17
17
|
}> & (typeof globalThis extends {
|
|
18
18
|
__VLS_PROPS_FALLBACK: infer P;
|
|
19
19
|
} ? P : {});
|
|
@@ -113,8 +113,8 @@ var picker_input_default = /*@__PURE__*/ defineComponent({
|
|
|
113
113
|
watch([innerValue, () => props.columns], () => {
|
|
114
114
|
inputValue.value = getInputValue();
|
|
115
115
|
}, { immediate: true });
|
|
116
|
-
const onConfirm = () => {
|
|
117
|
-
emit("confirm");
|
|
116
|
+
const onConfirm = (...args) => {
|
|
117
|
+
emit("confirm", ...args);
|
|
118
118
|
};
|
|
119
119
|
return (_ctx, _cache) => {
|
|
120
120
|
return openBlock(), createBlock(popout_input_default, mergeProps(unref(partitionedProps)[0], {
|
|
@@ -9,9 +9,9 @@ export interface PickerPopoutSlots<T> extends PickerSlots<T> {
|
|
|
9
9
|
}
|
|
10
10
|
export interface PickerPopoutEmits extends MotionEmits {
|
|
11
11
|
(e: 'update:visible', visible: boolean): void;
|
|
12
|
-
(e: 'update:modelValue', value: any): void;
|
|
13
|
-
(e: 'change', value: any): void;
|
|
14
|
-
(e: 'confirm'): void;
|
|
12
|
+
(e: 'update:modelValue', value: any, selectedOptions: any[], indexes: number[]): void;
|
|
13
|
+
(e: 'change', value: any, selectedOptions: any[], indexes: number[]): void;
|
|
14
|
+
(e: 'confirm', value: any, selectedOptions: any[], indexes: number[]): void;
|
|
15
15
|
}
|
|
16
16
|
export interface PickerPopoutExpose {
|
|
17
17
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type PickerPopoutProps, type PickerPopoutSlots, type PickerPopoutEmits } from './common';
|
|
2
2
|
declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<PickerPopoutProps<T> & {
|
|
4
|
-
onChange?: ((value: any) => any) | undefined;
|
|
4
|
+
onChange?: ((value: any, selectedOptions: any[], indexes: number[]) => any) | undefined;
|
|
5
5
|
"onBefore-enter"?: ((el: Element) => any) | undefined;
|
|
6
6
|
onEnter?: ((el: Element) => any) | undefined;
|
|
7
7
|
"onAfter-enter"?: ((el: Element) => any) | undefined;
|
|
@@ -12,8 +12,8 @@ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
|
|
|
12
12
|
"onLeave-cancelled"?: ((el: Element) => any) | undefined;
|
|
13
13
|
"onVisible-hook"?: ((name: import("../index.ts").MotionHookName, el: Element) => any) | undefined;
|
|
14
14
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
15
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
16
|
-
onConfirm?: (() => any) | undefined;
|
|
15
|
+
"onUpdate:modelValue"?: ((value: any, selectedOptions: any[], indexes: number[]) => any) | undefined;
|
|
16
|
+
onConfirm?: ((value: any, selectedOptions: any[], indexes: number[]) => any) | undefined;
|
|
17
17
|
}> & (typeof globalThis extends {
|
|
18
18
|
__VLS_PROPS_FALLBACK: infer P;
|
|
19
19
|
} ? P : {});
|
|
@@ -65,11 +65,11 @@ var picker_popout_default = /*@__PURE__*/ defineComponent({
|
|
|
65
65
|
const emit = __emit;
|
|
66
66
|
const optionKeys = useOptionKeys(props);
|
|
67
67
|
const omittedProps = omitFormPopoutProps(props);
|
|
68
|
-
const { innerVisible, innerValue, draftValue, onChange, onConfirm, onVisibleHook } = useFormPopout(props, emit, { onConfirmBefore() {
|
|
69
|
-
if (isEmptyBinding(draftValue.value) || isEmptyArray(draftValue.value)) {
|
|
70
|
-
const [initialValue, selectedOptions] = getInitialValue(props.columns, optionKeys);
|
|
68
|
+
const { hasChange, innerVisible, innerValue, draftValue, onChange, onConfirm, onVisibleHook } = useFormPopout(props, emit, { onConfirmBefore() {
|
|
69
|
+
if (!hasChange.value || isEmptyBinding(draftValue.value) || isEmptyArray(draftValue.value)) {
|
|
70
|
+
const [initialValue, selectedOptions, indexes] = getInitialValue(props.columns, optionKeys);
|
|
71
71
|
draftValue.value = initialValue;
|
|
72
|
-
return [selectedOptions];
|
|
72
|
+
return [selectedOptions, indexes];
|
|
73
73
|
}
|
|
74
74
|
} });
|
|
75
75
|
const onEnter = () => {
|
|
@@ -17,7 +17,7 @@ export interface UseFormPopoutEmits extends MotionEmits {
|
|
|
17
17
|
(e: 'update:visible', visible: boolean): void;
|
|
18
18
|
(e: 'update:modelValue', ...args: any[]): void;
|
|
19
19
|
(e: 'change', ...args: any[]): void;
|
|
20
|
-
(e: 'confirm'): void;
|
|
20
|
+
(e: 'confirm', ...args: any[]): void;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* 表单 Popout 组合式函数
|
|
@@ -34,6 +34,7 @@ export declare function useFormPopout(props: UseFormPopoutProps, emit: UseFormPo
|
|
|
34
34
|
onChange?: (...args: any[]) => void;
|
|
35
35
|
onConfirmBefore?: () => any;
|
|
36
36
|
}): {
|
|
37
|
+
hasChange: import("vue").Ref<boolean, boolean>;
|
|
37
38
|
innerVisible: import("vue").ModelRef<boolean | undefined, PropertyKey, boolean | undefined, boolean | undefined>;
|
|
38
39
|
innerValue: import("vue").Ref<any, any>;
|
|
39
40
|
draftValue: import("vue").Ref<any, any>;
|
|
@@ -35,18 +35,20 @@ function useFormPopout(props, emit, options = {}) {
|
|
|
35
35
|
draftValue.value = innerValue.value;
|
|
36
36
|
});
|
|
37
37
|
let restArgs = [];
|
|
38
|
+
const hasChange = ref(false);
|
|
38
39
|
const onChange = (value, ...args) => {
|
|
40
|
+
hasChange.value = true;
|
|
39
41
|
draftValue.value = value;
|
|
40
42
|
restArgs = args;
|
|
41
43
|
options.onChange?.(value, ...args);
|
|
42
44
|
};
|
|
43
45
|
const onConfirm = (showConfirm = true) => {
|
|
44
|
-
if (showConfirm) emit("confirm");
|
|
45
46
|
const extraArgs = options.onConfirmBefore?.();
|
|
46
47
|
if (extraArgs) restArgs = extraArgs;
|
|
48
|
+
const args = [draftValue.value, ...restArgs];
|
|
49
|
+
if (showConfirm) emit("confirm", ...args);
|
|
47
50
|
if (draftValue.value !== innerValue.value) {
|
|
48
51
|
innerValue.value = draftValue.value;
|
|
49
|
-
const args = [innerValue.value, ...restArgs];
|
|
50
52
|
emit("update:modelValue", ...args);
|
|
51
53
|
emit("change", ...args);
|
|
52
54
|
}
|
|
@@ -57,6 +59,7 @@ function useFormPopout(props, emit, options = {}) {
|
|
|
57
59
|
emit(name, el);
|
|
58
60
|
};
|
|
59
61
|
return {
|
|
62
|
+
hasChange,
|
|
60
63
|
innerVisible: visible,
|
|
61
64
|
innerValue,
|
|
62
65
|
draftValue,
|
|
@@ -13,7 +13,7 @@ declare const __VLS_base: import("vue").DefineComponent<RadioInputProps, {}, {},
|
|
|
13
13
|
"visible-hook": (name: import("../index.ts").MotionHookName, el: Element) => any;
|
|
14
14
|
"update:visible": (visible: boolean) => any;
|
|
15
15
|
"update:modelValue": (value: any) => any;
|
|
16
|
-
confirm: () => any;
|
|
16
|
+
confirm: (value: any) => any;
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<RadioInputProps> & Readonly<{
|
|
18
18
|
onChange?: ((value: any) => any) | undefined;
|
|
19
19
|
"onBefore-enter"?: ((el: Element) => any) | undefined;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<RadioInputProps, {}, {},
|
|
|
27
27
|
"onVisible-hook"?: ((name: import("../index.ts").MotionHookName, el: Element) => any) | undefined;
|
|
28
28
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
29
29
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
30
|
-
onConfirm?: (() => any) | undefined;
|
|
30
|
+
onConfirm?: ((value: any) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
32
|
title: string;
|
|
33
33
|
options: import("../radio/common.ts").RadioGroupOption[];
|
|
@@ -136,8 +136,8 @@ var radio_input_default = /*@__PURE__*/ defineComponent({
|
|
|
136
136
|
watch([innerValue, () => props.options], () => {
|
|
137
137
|
inputValue.value = getInputValue();
|
|
138
138
|
}, { immediate: true });
|
|
139
|
-
const onConfirm = () => {
|
|
140
|
-
emit("confirm");
|
|
139
|
+
const onConfirm = (value) => {
|
|
140
|
+
emit("confirm", value);
|
|
141
141
|
};
|
|
142
142
|
return (_ctx, _cache) => {
|
|
143
143
|
return openBlock(), createBlock(popout_input_default, mergeProps(unref(partitionedProps)[0], {
|
|
@@ -15,7 +15,7 @@ export interface RadioPopoutEmits extends MotionEmits {
|
|
|
15
15
|
(e: 'update:visible', visible: boolean): void;
|
|
16
16
|
(e: 'update:modelValue', value: any): void;
|
|
17
17
|
(e: 'change', value: any): void;
|
|
18
|
-
(e: 'confirm'): void;
|
|
18
|
+
(e: 'confirm', value: any): void;
|
|
19
19
|
}
|
|
20
20
|
export interface RadioPopoutExpose {
|
|
21
21
|
}
|
|
@@ -13,7 +13,7 @@ declare const __VLS_base: import("vue").DefineComponent<RadioPopoutProps, {}, {}
|
|
|
13
13
|
"visible-hook": (name: import("../index.ts").MotionHookName, el: Element) => any;
|
|
14
14
|
"update:visible": (visible: boolean) => any;
|
|
15
15
|
"update:modelValue": (value: any) => any;
|
|
16
|
-
confirm: () => any;
|
|
16
|
+
confirm: (value: any) => any;
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<RadioPopoutProps> & Readonly<{
|
|
18
18
|
onChange?: ((value: any) => any) | undefined;
|
|
19
19
|
"onBefore-enter"?: ((el: Element) => any) | undefined;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<RadioPopoutProps, {}, {}
|
|
|
27
27
|
"onVisible-hook"?: ((name: import("../index.ts").MotionHookName, el: Element) => any) | undefined;
|
|
28
28
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
29
29
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
30
|
-
onConfirm?: (() => any) | undefined;
|
|
30
|
+
onConfirm?: ((value: any) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
32
|
title: string;
|
|
33
33
|
options: import("../radio/common.ts").RadioGroupOption[];
|
|
@@ -13,7 +13,7 @@ declare const __VLS_base: import("vue").DefineComponent<SelectInputProps, Select
|
|
|
13
13
|
"visible-hook": (name: import("../index.ts").MotionHookName, el: Element) => any;
|
|
14
14
|
"update:visible": (visible: boolean) => any;
|
|
15
15
|
"update:modelValue": (value: any) => any;
|
|
16
|
-
confirm: () => any;
|
|
16
|
+
confirm: (value: any) => any;
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<SelectInputProps> & Readonly<{
|
|
18
18
|
onChange?: ((value: any) => any) | undefined;
|
|
19
19
|
"onBefore-enter"?: ((el: Element) => any) | undefined;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<SelectInputProps, Select
|
|
|
27
27
|
"onVisible-hook"?: ((name: import("../index.ts").MotionHookName, el: Element) => any) | undefined;
|
|
28
28
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
29
29
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
30
|
-
onConfirm?: (() => any) | undefined;
|
|
30
|
+
onConfirm?: ((value: any) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
32
|
title: string;
|
|
33
33
|
multiple: boolean;
|
|
@@ -190,8 +190,8 @@ var select_input_default = /*@__PURE__*/ defineComponent({
|
|
|
190
190
|
], () => {
|
|
191
191
|
inputValue.value = getInputValue();
|
|
192
192
|
}, { immediate: true });
|
|
193
|
-
const onConfirm = () => {
|
|
194
|
-
emit("confirm");
|
|
193
|
+
const onConfirm = (value) => {
|
|
194
|
+
emit("confirm", value);
|
|
195
195
|
};
|
|
196
196
|
__expose({});
|
|
197
197
|
return (_ctx, _cache) => {
|
|
@@ -11,7 +11,7 @@ export interface SelectPopoutEmits extends MotionEmits {
|
|
|
11
11
|
(e: 'update:visible', visible: boolean): void;
|
|
12
12
|
(e: 'update:modelValue', value: any): void;
|
|
13
13
|
(e: 'change', value: any): void;
|
|
14
|
-
(e: 'confirm'): void;
|
|
14
|
+
(e: 'confirm', value: any): void;
|
|
15
15
|
}
|
|
16
16
|
export interface SelectPopoutExpose {
|
|
17
17
|
}
|
|
@@ -13,7 +13,7 @@ declare const __VLS_base: import("vue").DefineComponent<SelectPopoutProps, Selec
|
|
|
13
13
|
"visible-hook": (name: import("../index.ts").MotionHookName, el: Element) => any;
|
|
14
14
|
"update:visible": (visible: boolean) => any;
|
|
15
15
|
"update:modelValue": (value: any) => any;
|
|
16
|
-
confirm: () => any;
|
|
16
|
+
confirm: (value: any) => any;
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<SelectPopoutProps> & Readonly<{
|
|
18
18
|
onChange?: ((value: any) => any) | undefined;
|
|
19
19
|
"onBefore-enter"?: ((el: Element) => any) | undefined;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<SelectPopoutProps, Selec
|
|
|
27
27
|
"onVisible-hook"?: ((name: import("../index.ts").MotionHookName, el: Element) => any) | undefined;
|
|
28
28
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
29
29
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
30
|
-
onConfirm?: (() => any) | undefined;
|
|
30
|
+
onConfirm?: ((value: any) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
32
|
title: string;
|
|
33
33
|
multiple: boolean;
|