12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- import { defineMixin } from '../../libs/vue'
- import defProps from '../../libs/config/props.js'
- export const props = defineMixin({
- props: {
-
- show: {
- type: Boolean,
- default: () => defProps.modal.show
- },
-
- title: {
- type: [String],
- default: () => defProps.modal.title
- },
-
- content: {
- type: String,
- default: () => defProps.modal.content
- },
-
- confirmText: {
- type: String,
- default: () => defProps.modal.confirmText
- },
-
- cancelText: {
- type: String,
- default: () => defProps.modal.cancelText
- },
-
- showConfirmButton: {
- type: Boolean,
- default: () => defProps.modal.showConfirmButton
- },
-
- showCancelButton: {
- type: Boolean,
- default: () => defProps.modal.showCancelButton
- },
-
- confirmColor: {
- type: String,
- default: () => defProps.modal.confirmColor
- },
-
- cancelColor: {
- type: String,
- default: () => defProps.modal.cancelColor
- },
-
- buttonReverse: {
- type: Boolean,
- default: () => defProps.modal.buttonReverse
- },
-
- zoom: {
- type: Boolean,
- default: () => defProps.modal.zoom
- },
-
- asyncClose: {
- type: Boolean,
- default: () => defProps.modal.asyncClose
- },
-
- closeOnClickOverlay: {
- type: Boolean,
- default: () => defProps.modal.closeOnClickOverlay
- },
-
- negativeTop: {
- type: [String, Number],
- default: () => defProps.modal.negativeTop
- },
-
- width: {
- type: [String, Number],
- default: () => defProps.modal.width
- },
-
- confirmButtonShape: {
- type: String,
- default: () => defProps.modal.confirmButtonShape
- },
-
- contentTextAlign: {
- type: String,
- default: () => defProps.modal.contentTextAlign
- },
- }
- })
|