12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- import { defineMixin } from '../../libs/vue'
- import defProps from '../../libs/config/props.js'
- export const props = defineMixin({
- props: {
-
- isDot: {
- type: Boolean,
- default: () => defProps.badge.isDot
- },
-
- value: {
- type: [Number, String],
- default: () => defProps.badge.value
- },
-
- modelValue: {
- type: [Number, String],
- default: () => defProps.badge.modelValue
- },
-
- show: {
- type: Boolean,
- default: () => defProps.badge.show
- },
-
- max: {
- type: [Number, String],
- default: () => defProps.badge.max
- },
-
- type: {
- type: String,
- default: () => defProps.badge.type
- },
-
- showZero: {
- type: Boolean,
- default: () => defProps.badge.showZero
- },
-
- bgColor: {
- type: [String, null],
- default: () => defProps.badge.bgColor
- },
-
- color: {
- type: [String, null],
- default: () => defProps.badge.color
- },
-
- shape: {
- type: String,
- default: () => defProps.badge.shape
- },
-
-
-
-
- numberType: {
- type: String,
- default: () => defProps.badge.numberType
- },
-
- offset: {
- type: Array,
- default: () => defProps.badge.offset
- },
-
- inverted: {
- type: Boolean,
- default: () => defProps.badge.inverted
- },
-
- absolute: {
- type: Boolean,
- default: () => defProps.badge.absolute
- }
- }
- })
|