iep-ui
Version:
An enterprise-class UI design language and Vue-based implementation
31 lines (30 loc) • 991 B
JavaScript
import PropTypes from '../_util/vue-types';
export default (function () {
return {
prefixCls: PropTypes.string,
mode: PropTypes.oneOf(['station', 'car', 'meteorologicalPhenomena', 'event', 'custom']).def('station'),
type: PropTypes.oneOf(['air', 'water']).def('air'),
title: PropTypes.string,
sub: PropTypes.string,
address: PropTypes.string,
params: PropTypes.object,
typeName: PropTypes.string,
status: PropTypes.number.def(-1),
carNo: PropTypes.string,
contacts: PropTypes.string,
contactNumber: PropTypes.string,
sn: PropTypes.string,
weatherIcon: PropTypes.string,
weatherDegree: PropTypes.number,
wind: PropTypes.string,
windAngle: PropTypes.number,
dateTime: PropTypes.string,
tag: PropTypes.string,
customTitle: PropTypes.any,
customSubTitle: PropTypes.any,
customMiddle: PropTypes.any,
customRight: PropTypes.any,
icon: PropTypes.string,
customTypeName: PropTypes.string
};
});