vdrag-topo-ui
Version:
91 lines (90 loc) • 3.26 kB
TypeScript
declare const vtSelectAndInputNumber: import("vdrag-topo-utils/dist/lib/src/withinstall").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
config: {
type: null;
required: true;
default: () => {
label: string;
key: string;
min: number;
max: number;
step: number;
precision: number;
options: {
value: string;
label: string;
}[];
placeholder: string;
unit: string;
};
};
data: {
type: null;
required: true;
};
}>, {
DEFAULT_MIN_VALUE: number;
DEFAULT_MAX_VALUE: number;
DEFAULT_STEP: number;
DEFAULT_PRECISION: number;
props: any;
emit: (event: "changeValue", ...args: any[]) => void;
config: import("vue").Ref<any, any>;
data: import("vue").Ref<any, any>;
selectRef: import("vue").Ref<any, any>;
isShowUnit: import("vue").Ref<boolean, boolean>;
inputNumberValue: import("vue").Ref<any, any>;
optionsIsExistInputNumberValue: () => boolean;
closeDropDown: () => void;
chooseValue: (key: string, value: any) => void;
vtLabel: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
config: {
type: null;
required: true;
default: () => {
label: string;
tip: string;
};
};
}>, {
readonly QuestionFilled: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
config: {
type: null;
required: true;
default: () => {
label: string;
tip: string;
};
};
}>> & Readonly<{}>, {
config: any;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "changeValue"[], "changeValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
config: {
type: null;
required: true;
default: () => {
label: string;
key: string;
min: number;
max: number;
step: number;
precision: number;
options: {
value: string;
label: string;
}[];
placeholder: string;
unit: string;
};
};
data: {
type: null;
required: true;
};
}>> & Readonly<{
onChangeValue?: ((...args: any[]) => any) | undefined;
}>, {
config: any;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
export default vtSelectAndInputNumber;