asp-smart-ui-plus-test
Version:
A Component Library for Vue 3
113 lines (112 loc) • 4.87 kB
TypeScript
export declare const AspH5AddressEdit: {
raw: import("vant/lib/utils").WithInstall<import("vue").DefineComponent<{
areaList: import("vue").PropType<import("vant").AreaList>;
isSaving: BooleanConstructor;
isDeleting: BooleanConstructor;
validator: import("vue").PropType<(key: string, value: string) => string | undefined>;
showArea: {
type: BooleanConstructor;
default: true;
};
showDetail: {
type: BooleanConstructor;
default: true;
};
showDelete: BooleanConstructor;
disableArea: BooleanConstructor;
searchResult: import("vue").PropType<import("vant").AddressEditSearchItem[]>;
telMaxlength: (StringConstructor | NumberConstructor)[];
showSetDefault: BooleanConstructor;
saveButtonText: StringConstructor;
areaPlaceholder: StringConstructor;
deleteButtonText: StringConstructor;
showSearchResult: BooleanConstructor;
detailRows: {
type: (StringConstructor | NumberConstructor)[];
default: number;
};
detailMaxlength: {
type: (StringConstructor | NumberConstructor)[];
default: number;
};
areaColumnsPlaceholder: {
type: import("vue").PropType<string[]>;
default: () => never[];
};
addressInfo: {
type: import("vue").PropType<Partial<import("vant").AddressEditInfo>>;
default: () => import("vant").AddressEditInfo;
};
telValidator: {
type: import("vue").PropType<(val: string) => boolean>;
default: typeof import("vant/lib/utils").isMobile;
};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault")[], "focus" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
areaList: import("vue").PropType<import("vant").AreaList>;
isSaving: BooleanConstructor;
isDeleting: BooleanConstructor;
validator: import("vue").PropType<(key: string, value: string) => string | undefined>;
showArea: {
type: BooleanConstructor;
default: true;
};
showDetail: {
type: BooleanConstructor;
default: true;
};
showDelete: BooleanConstructor;
disableArea: BooleanConstructor;
searchResult: import("vue").PropType<import("vant").AddressEditSearchItem[]>;
telMaxlength: (StringConstructor | NumberConstructor)[];
showSetDefault: BooleanConstructor;
saveButtonText: StringConstructor;
areaPlaceholder: StringConstructor;
deleteButtonText: StringConstructor;
showSearchResult: BooleanConstructor;
detailRows: {
type: (StringConstructor | NumberConstructor)[];
default: number;
};
detailMaxlength: {
type: (StringConstructor | NumberConstructor)[];
default: number;
};
areaColumnsPlaceholder: {
type: import("vue").PropType<string[]>;
default: () => never[];
};
addressInfo: {
type: import("vue").PropType<Partial<import("vant").AddressEditInfo>>;
default: () => import("vant").AddressEditInfo;
};
telValidator: {
type: import("vue").PropType<(val: string) => boolean>;
default: typeof import("vant/lib/utils").isMobile;
};
}>> & {
onFocus?: ((...args: any[]) => any) | undefined;
onSelectSearch?: ((...args: any[]) => any) | undefined;
onSave?: ((...args: any[]) => any) | undefined;
onDelete?: ((...args: any[]) => any) | undefined;
onClickArea?: ((...args: any[]) => any) | undefined;
onChangeArea?: ((...args: any[]) => any) | undefined;
onChangeDetail?: ((...args: any[]) => any) | undefined;
onChangeDefault?: ((...args: any[]) => any) | undefined;
}, {
isSaving: boolean;
isDeleting: boolean;
showArea: boolean;
showDetail: boolean;
showDelete: boolean;
disableArea: boolean;
showSetDefault: boolean;
showSearchResult: boolean;
detailRows: string | number;
detailMaxlength: string | number;
areaColumnsPlaceholder: string[];
addressInfo: Partial<import("vant").AddressEditInfo>;
telValidator: (val: string) => boolean;
}>>;
name: string;
};
export default AspH5AddressEdit;