2019-02-18 17:49:32 +03:00
|
|
|
const DialogModal = {
|
|
|
|
|
props: {
|
|
|
|
|
darkOverlay: {
|
|
|
|
|
default: true,
|
2026-01-06 16:22:52 +02:00
|
|
|
type: Boolean,
|
2019-02-18 17:49:32 +03:00
|
|
|
},
|
|
|
|
|
onCancel: {
|
2026-01-06 17:32:22 +02:00
|
|
|
default: () => {
|
|
|
|
|
/* no-op */
|
|
|
|
|
},
|
2026-01-06 16:22:52 +02:00
|
|
|
type: Function,
|
|
|
|
|
},
|
2025-01-07 22:08:12 +02:00
|
|
|
},
|
|
|
|
|
computed: {
|
2026-01-06 16:22:52 +02:00
|
|
|
mobileCenter() {
|
2025-01-07 22:08:12 +02:00
|
|
|
return this.$store.getters.mergedConfig.modalMobileCenter
|
2026-01-06 16:22:52 +02:00
|
|
|
},
|
|
|
|
|
},
|
2019-02-18 17:49:32 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default DialogModal
|