tdesign-mobile-vue
Version:
tdesign-mobile-vue
68 lines (67 loc) • 2.48 kB
TypeScript
import { PropType } from 'vue';
declare const _default: {
cancelBtn: {
type: PropType<string | boolean>;
default: string | boolean;
};
columns: {
type: PropType<import("@/components").PickerColumn[] | import("@/components").PickerColumn | ((item: import("@/components").PickerValue[]) => import("@/components").PickerColumn[])>;
default: () => import("@/components").PickerColumn[] | import("@/components").PickerColumn | ((item: import("@/components").PickerValue[]) => import("@/components").PickerColumn[]);
required: boolean;
};
confirmBtn: {
type: PropType<string | boolean>;
default: string | boolean;
};
footer: {
type: PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>;
};
header: {
type: PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>;
};
keys: {
type: PropType<import("@/common").KeysType>;
};
option: {
type: PropType<(option: import("@/components").PickerColumnItem, index: number) => string | Record<string, string | boolean>>;
};
renderLabel: {
type: PropType<(item: import("@/components").PickerColumnItem, index: number) => string>;
};
swipeDuration: {
type: PropType<string | number>;
default: string | number;
};
title: {
type: StringConstructor;
default: string;
};
value: {
type: PropType<import("@/components").PickerValue[]>;
default: import("@/components").PickerValue[];
};
modelValue: {
type: PropType<import("@/components").PickerValue[]>;
default: import("@/components").PickerValue[];
};
defaultValue: {
type: PropType<import("@/components").PickerValue[]>;
};
wheelConfig: {
type: PropType<import("@/components").PickerWheelConfig>;
};
onCancel: PropType<(context: {
e: MouseEvent;
}) => void>;
onChange: PropType<(value: import("@/components").PickerValue[], context: {
columns: import("@/components").PickerContext[];
e: MouseEvent;
}) => void>;
onConfirm: PropType<(value: import("@/components").PickerValue[], context: {
index: number[];
e: MouseEvent;
label: string[];
}) => void>;
onPick: PropType<(value: import("@/components").PickerValue[], context: import("@/components").PickerContext) => void>;
};
export default _default;