@daysnap/horn-ui
Version:
hron ui
48 lines (44 loc) • 774 B
text/typescript
import type { ExtractPropTypes } from 'vue'
import { makeArrayProp, makeBooleanProp, makeStringProp } from '../utils'
export const horLicensePlatePrefixProps = {
expand: makeArrayProp<string>(),
expandNone: makeArrayProp<string>(),
showNone: makeBooleanProp(false),
modelValue: makeStringProp(''),
}
export type HorLicensePlatePrefixProps = ExtractPropTypes<typeof horLicensePlatePrefixProps>
export const platePreSource = [
'京',
'津',
'沪',
'渝',
'冀',
'晋',
'陕',
'鲁',
'豫',
'辽',
'吉',
'黑',
'苏',
'浙',
'皖',
'赣',
'闽',
'鄂',
'湘',
'川',
'贵',
'云',
'粤',
'琼',
'甘',
'青',
'台',
'蒙',
'新',
'藏',
'桂',
'宁',
]
export const platePreSourceNone = ['无车牌']