2023-06-06 20:54:52 +08:00
|
|
|
import type * as ep from 'element-plus';
|
|
|
|
declare global {
|
|
|
|
declare type ElTagType = '' | 'success' | 'warning' | 'info' | 'danger' | 'default' | 'primary';
|
2023-12-13 01:01:52 +00:00
|
|
|
declare type ElFormInstance = ep.FormInstance;
|
|
|
|
declare type ElTableInstance = ep.TableInstance;
|
|
|
|
declare type ElUploadInstance = ep.UploadInstance;
|
2023-12-14 08:17:12 +00:00
|
|
|
declare type ElScrollbarInstance = ep.ScrollbarInstance;
|
2023-12-26 10:04:35 +00:00
|
|
|
declare type ElInputInstance = ep.InputInstance;
|
|
|
|
declare type ElInputNumberInstance = ep.InputNumberInstance;
|
|
|
|
declare type ElRadioInstance = ep.RadioInstance;
|
|
|
|
declare type ElRadioGroupInstance = ep.RadioGroupInstance;
|
|
|
|
declare type ElRadioButtonInstance = ep.RadioButtonInstance;
|
|
|
|
declare type ElCheckboxInstance = ep.CheckboxInstance;
|
|
|
|
declare type ElSwitchInstance = ep.SwitchInstance;
|
|
|
|
declare type ElCascaderInstance = ep.CascaderInstance;
|
|
|
|
declare type ElColorPickerInstance = ep.ColorPickerInstance;
|
|
|
|
declare type ElRateInstance = ep.RateInstance;
|
|
|
|
declare type ElSliderInstance = ep.SliderInstance;
|
|
|
|
|
2023-06-06 20:54:52 +08:00
|
|
|
declare type ElTreeInstance = InstanceType<typeof ep.ElTree>;
|
|
|
|
declare type ElTreeSelectInstance = InstanceType<typeof ep.ElTreeSelect>;
|
|
|
|
declare type ElSelectInstance = InstanceType<typeof ep.ElSelect>;
|
|
|
|
declare type ElCardInstance = InstanceType<typeof ep.ElCard>;
|
|
|
|
declare type ElDialogInstance = InstanceType<typeof ep.ElDialog>;
|
|
|
|
declare type ElCheckboxGroupInstance = InstanceType<typeof ep.ElCheckboxGroup>;
|
|
|
|
declare type ElDatePickerInstance = InstanceType<typeof ep.ElDatePicker>;
|
|
|
|
declare type ElTimePickerInstance = InstanceType<typeof ep.ElTimePicker>;
|
|
|
|
declare type ElTimeSelectInstance = InstanceType<typeof ep.ElTimeSelect>;
|
|
|
|
|
2023-06-06 22:52:02 +08:00
|
|
|
declare type TransferKey = ep.TransferKey;
|
2023-06-06 22:20:50 +08:00
|
|
|
declare type CheckboxValueType = ep.CheckboxValueType;
|
2023-06-06 20:54:52 +08:00
|
|
|
declare type ElFormRules = ep.FormRules;
|
|
|
|
declare type DateModelType = ep.DateModelType;
|
2023-12-26 10:04:35 +00:00
|
|
|
declare type UploadFile = ep.UploadFile;
|
|
|
|
|
2023-06-06 20:54:52 +08:00
|
|
|
}
|