123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- import { defineMixin } from '../../libs/vue'
- import defProps from '../../libs/config/props.js'
- export const props = defineMixin({
- props: {
-
- adjustPosition: {
- type: Boolean,
- default: () => defProps.codeInput.adjustPosition
- },
-
- maxlength: {
- type: [String, Number],
- default: () => defProps.codeInput.maxlength
- },
-
- dot: {
- type: Boolean,
- default: () => defProps.codeInput.dot
- },
-
- mode: {
- type: String,
- default: () => defProps.codeInput.mode
- },
-
- hairline: {
- type: Boolean,
- default: () => defProps.codeInput.hairline
- },
-
- space: {
- type: [String, Number],
- default: () => defProps.codeInput.space
- },
-
-
- modelValue: {
- type: [String, Number],
- default: () => defProps.codeInput.value
- },
-
-
-
- value: {
- type: [String, Number],
- default: () => defProps.codeInput.value
- },
-
-
- focus: {
- type: Boolean,
- default: () => defProps.codeInput.focus
- },
-
- bold: {
- type: Boolean,
- default: () => defProps.codeInput.bold
- },
-
- color: {
- type: String,
- default: () => defProps.codeInput.color
- },
-
- fontSize: {
- type: [String, Number],
- default: () => defProps.codeInput.fontSize
- },
-
- size: {
- type: [String, Number],
- default: () => defProps.codeInput.size
- },
-
- disabledKeyboard: {
- type: Boolean,
- default: () => defProps.codeInput.disabledKeyboard
- },
-
- borderColor: {
- type: String,
- default: () => defProps.codeInput.borderColor
- },
-
- disabledDot: {
- type: Boolean,
- default: () => defProps.codeInput.disabledDot
- }
- }
- })
|