@dazhicheng/ui 1.5.69 → 1.5.71
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.
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const TtApiComponent: import('../../../../utils/src').SFCWithInstall<(<T extends import('vue').Component>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
2
2
|
attrs: any;
|
|
3
3
|
slots: Partial<Record<string, (_: any) => any>>;
|
|
4
|
-
emit: (((evt: "change", val: unknown, options: import('./types').OptionsItem[]) => void) & ((evt: "optionsChange", args_0: import('./types').OptionsItem[]) => void)) & ((evt: "update:modelValue", value: any) => void);
|
|
4
|
+
emit: (((evt: "change", val: unknown, options: import('./types').OptionsItem[], currentOption: import('./types').OptionsItem | undefined) => void) & ((evt: "optionsChange", args_0: import('./types').OptionsItem[]) => void)) & ((evt: "update:modelValue", value: any) => void);
|
|
5
5
|
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
6
|
props: {
|
|
7
|
-
readonly onChange?: ((val: unknown, options: import('./types').OptionsItem[]) => any) | undefined;
|
|
7
|
+
readonly onChange?: ((val: unknown, options: import('./types').OptionsItem[], currentOption: import('./types').OptionsItem | undefined) => any) | undefined;
|
|
8
8
|
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
9
9
|
readonly onOptionsChange?: ((args_0: import('./types').OptionsItem[]) => any) | undefined;
|
|
10
10
|
modelValue?: any;
|
|
@@ -36,7 +36,7 @@ export declare const TtApiComponent: import('../../../../utils/src').SFCWithInst
|
|
|
36
36
|
}>): void;
|
|
37
37
|
attrs: any;
|
|
38
38
|
slots: Partial<Record<string, (_: any) => any>>;
|
|
39
|
-
emit: (((evt: "change", val: unknown, options: import('./types').OptionsItem[]) => void) & ((evt: "optionsChange", args_0: import('./types').OptionsItem[]) => void)) & ((evt: "update:modelValue", value: any) => void);
|
|
39
|
+
emit: (((evt: "change", val: unknown, options: import('./types').OptionsItem[], currentOption: import('./types').OptionsItem | undefined) => void) & ((evt: "optionsChange", args_0: import('./types').OptionsItem[]) => void)) & ((evt: "update:modelValue", value: any) => void);
|
|
40
40
|
}>) => import('vue').VNode & {
|
|
41
41
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
42
42
|
})> & Record<string, any>;
|
|
@@ -2,7 +2,7 @@ import { Component } from 'vue';
|
|
|
2
2
|
import { Props, OptionsItem } from './types';
|
|
3
3
|
declare const _default: <T extends Component>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
-
readonly onChange?: ((val: unknown, options: OptionsItem[]) => any) | undefined;
|
|
5
|
+
readonly onChange?: ((val: unknown, options: OptionsItem[], currentOption: OptionsItem | undefined) => any) | undefined;
|
|
6
6
|
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
7
7
|
readonly onOptionsChange?: ((args_0: OptionsItem[]) => any) | undefined;
|
|
8
8
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue" | "onOptionsChange"> & ({
|
|
@@ -22,7 +22,7 @@ declare const _default: <T extends Component>(__VLS_props: NonNullable<Awaited<t
|
|
|
22
22
|
}>): void;
|
|
23
23
|
attrs: any;
|
|
24
24
|
slots: Partial<Record<string, (_: any) => any>>;
|
|
25
|
-
emit: (((evt: "change", val: unknown, options: OptionsItem[]) => void) & ((evt: "optionsChange", args_0: OptionsItem[]) => void)) & ((evt: "update:modelValue", value: any) => void);
|
|
25
|
+
emit: (((evt: "change", val: unknown, options: OptionsItem[], currentOption: OptionsItem | undefined) => void) & ((evt: "optionsChange", args_0: OptionsItem[]) => void)) & ((evt: "update:modelValue", value: any) => void);
|
|
26
26
|
}>) => import('vue').VNode & {
|
|
27
27
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
28
28
|
};
|