import { $t } from '@vben/locales';
|
|
export const popupSelectProps = {
|
allowClear: { default: true, type: Boolean },
|
columnOptions: { default: () => [], type: Array },
|
disabled: { default: false, type: Boolean },
|
extraOptions: { default: () => [], type: Array },
|
field: { default: '', type: String },
|
formData: { type: Object },
|
hasPage: { default: false, type: Boolean },
|
interfaceId: { default: '', type: String },
|
multiple: { default: false, type: Boolean },
|
pageSize: { default: 20, type: Number },
|
placeholder: { default: () => $t('common.chooseText'), type: String },
|
popupTitle: { default: () => $t('component.jnpf.popupSelect.modalTitle'), type: String },
|
popupType: { default: 'dialog', type: String },
|
popupWidth: { default: '800px', type: String },
|
propsValue: { default: 'id', type: String },
|
relationField: { default: 'fullName', type: String },
|
rowIndex: { default: null },
|
size: { default: 'default', type: String },
|
templateJson: { default: () => [], type: Array },
|
value: [String, Number, Array] as PropType<[string, number][] | number | number[] | string | string[]>,
|
};
|