mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 10:05:03 +00:00
slot buttons up from actionButtons to addAddress
This commit is contained in:
@@ -1,33 +1,30 @@
|
||||
<template>
|
||||
<template>step1
|
||||
|
||||
<div v-if="insideModal === false" class="loading">
|
||||
<i v-if="flag.loading" class="fa fa-circle-o-notch fa-spin fa-2x fa-fw"></i>
|
||||
<span class="sr-only">{{ $t('loading') }}</span>
|
||||
</div>
|
||||
|
||||
<div v-if="errorMsg && errorMsg.length > 0" class="alert alert-danger">
|
||||
{{ errorMsg }}
|
||||
</div>
|
||||
<div v-if="errorMsg && errorMsg.length > 0" class="alert alert-danger">{{ errorMsg }}</div>
|
||||
|
||||
<div v-if="flag.success" class="alert alert-success">
|
||||
{{ $t(getSuccessText) }}
|
||||
</div>
|
||||
<div v-if="flag.success" class="alert alert-success">{{ $t(getSuccessText) }}</div>
|
||||
|
||||
suggestions
|
||||
<h3>{{ $t('address_suggestions') }}</h3>
|
||||
|
||||
<action-buttons v-if="insideModal === false"
|
||||
:flag="this.flag"
|
||||
:options="this.options"
|
||||
:default="this.default">
|
||||
:defaultz="this.defaultz">
|
||||
<template v-slot:before>
|
||||
<slot name="before"></slot>
|
||||
</template>
|
||||
<template v-slot:action>
|
||||
<li>
|
||||
<a @click.prevent="$emit('openEditPane')"
|
||||
class="btn btn-update">
|
||||
{{ $t('action.edit')}}
|
||||
</a>
|
||||
</li>
|
||||
<slot name="action"></slot>
|
||||
</template>
|
||||
<template v-slot:after>
|
||||
<slot name="after"></slot>
|
||||
</template>
|
||||
</action-buttons>
|
||||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -43,21 +40,13 @@ export default {
|
||||
props: [
|
||||
'context',
|
||||
'options',
|
||||
'default',
|
||||
'defaultz',
|
||||
'flag',
|
||||
'entity',
|
||||
'errorMsg',
|
||||
'insideModal'
|
||||
],
|
||||
emits: ['openEditPane'],
|
||||
computed: {
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
computed: {},
|
||||
methods: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user