mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
rename address-render-box component
(cfr b9602aa72 - file had been moved and renamed, now we just rename component name into import and template )
This commit is contained in:
parent
b14b27c110
commit
d8b2d3cd90
@ -11,7 +11,7 @@
|
|||||||
{{ $t(getSuccessText) }}
|
{{ $t(getSuccessText) }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<show-address :address="address"></show-address>
|
<address-render-box :address="address"></address-render-box>
|
||||||
|
|
||||||
<div v-if="showDateFrom" class='address-valid date-since'>
|
<div v-if="showDateFrom" class='address-valid date-since'>
|
||||||
<h3>{{ $t(getValidFromDateText) }}</h3>
|
<h3>{{ $t(getValidFromDateText) }}</h3>
|
||||||
@ -48,12 +48,12 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { dateToISO, ISOToDate, ISOToDatetime } from 'ChillMainAssets/chill/js/date.js';
|
import { dateToISO, ISOToDate, ISOToDatetime } from 'ChillMainAssets/chill/js/date.js';
|
||||||
import ShowAddress from 'ChillMainAssets/vuejs/_components/Entity/AddressRenderBox.vue';
|
import AddressRenderBox from 'ChillMainAssets/vuejs/_components/Entity/AddressRenderBox.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'ShowAddressPane',
|
name: 'ShowAddressPane',
|
||||||
components: {
|
components: {
|
||||||
ShowAddress
|
AddressRenderBox
|
||||||
},
|
},
|
||||||
props: [
|
props: [
|
||||||
'context',
|
'context',
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
<h2 class="modal-title">{{ $t('courselocation.sure') }}</h2>
|
<h2 class="modal-title">{{ $t('courselocation.sure') }}</h2>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:body>
|
<template v-slot:body>
|
||||||
<show-address :address="person.current_household_address"></show-address>
|
<address-render-box :address="person.current_household_address"></address-render-box>
|
||||||
<p>{{ $t('courselocation.sure_description') }}</p>
|
<p>{{ $t('courselocation.sure_description') }}</p>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:footer>
|
<template v-slot:footer>
|
||||||
@ -28,12 +28,12 @@
|
|||||||
<script>
|
<script>
|
||||||
import {mapState} from "vuex";
|
import {mapState} from "vuex";
|
||||||
import Modal from 'ChillMainAssets/vuejs/_components/Modal';
|
import Modal from 'ChillMainAssets/vuejs/_components/Modal';
|
||||||
import ShowAddress from "ChillMainAssets/vuejs/_components/Entity/AddressRenderBox.vue";
|
import AddressRenderBox from "ChillMainAssets/vuejs/_components/Entity/AddressRenderBox.vue";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "ButtonLocation",
|
name: "ButtonLocation",
|
||||||
components: {
|
components: {
|
||||||
ShowAddress,
|
import AddressRenderBox from,
|
||||||
Modal,
|
Modal,
|
||||||
},
|
},
|
||||||
props: ['person'],
|
props: ['person'],
|
||||||
|
@ -17,9 +17,9 @@
|
|||||||
|
|
||||||
<div class="flex-table" v-if="accompanyingCourse.location">
|
<div class="flex-table" v-if="accompanyingCourse.location">
|
||||||
<div class="item-bloc">
|
<div class="item-bloc">
|
||||||
<show-address
|
<address-render-box
|
||||||
:address="accompanyingCourse.location">
|
:address="accompanyingCourse.location">
|
||||||
</show-address>
|
</address-render-box>
|
||||||
|
|
||||||
<div v-if="isPersonLocation" class="alert alert-secondary separator">
|
<div v-if="isPersonLocation" class="alert alert-secondary separator">
|
||||||
<label class="col-form-label">
|
<label class="col-form-label">
|
||||||
@ -63,13 +63,13 @@
|
|||||||
<script>
|
<script>
|
||||||
import { mapState } from "vuex";
|
import { mapState } from "vuex";
|
||||||
import AddAddress from 'ChillMainAssets/vuejs/Address/components/AddAddress.vue';
|
import AddAddress from 'ChillMainAssets/vuejs/Address/components/AddAddress.vue';
|
||||||
import ShowAddress from 'ChillMainAssets/vuejs/_components/Entity/AddressRenderBox.vue';
|
import AddressRenderBox from 'ChillMainAssets/vuejs/_components/Entity/AddressRenderBox.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "CourseLocation",
|
name: "CourseLocation",
|
||||||
components: {
|
components: {
|
||||||
AddAddress,
|
AddAddress,
|
||||||
ShowAddress
|
AddressRenderBox
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
@ -150,7 +150,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<p>{{ handlingThirdParty.text }}</p>
|
<p>{{ handlingThirdParty.text }}</p>
|
||||||
<show-address :address="handlingThirdParty.address"></show-address>
|
<address-render-box :address="handlingThirdParty.address"></address-render-box>
|
||||||
|
|
||||||
<ul class="record_actions">
|
<ul class="record_actions">
|
||||||
<li>
|
<li>
|
||||||
@ -173,7 +173,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li v-for="t in thirdParties">
|
<li v-for="t in thirdParties">
|
||||||
<p>{{ t.text }}</p>
|
<p>{{ t.text }}</p>
|
||||||
<show-address :address="t.address"></show-address>
|
<address-render-box :address="t.address"></address-render-box>
|
||||||
|
|
||||||
<ul class="record_actions">
|
<ul class="record_actions">
|
||||||
<button :title="$t('remove_thirdparty')" class="btn btn-remove"
|
<button :title="$t('remove_thirdparty')" class="btn btn-remove"
|
||||||
@ -231,7 +231,7 @@ import AddResult from './components/AddResult.vue';
|
|||||||
import AddEvaluation from './components/AddEvaluation.vue';
|
import AddEvaluation from './components/AddEvaluation.vue';
|
||||||
import PersonRenderBox from 'ChillPersonAssets/vuejs/_components/Entity/PersonRenderBox.vue';
|
import PersonRenderBox from 'ChillPersonAssets/vuejs/_components/Entity/PersonRenderBox.vue';
|
||||||
import AddPersons from 'ChillPersonAssets/vuejs/_components/AddPersons.vue';
|
import AddPersons from 'ChillPersonAssets/vuejs/_components/AddPersons.vue';
|
||||||
import ShowAddress from 'ChillMainAssets/vuejs/_components/Entity/AddressRenderBox.vue';
|
import AddressRenderBox from 'ChillMainAssets/vuejs/_components/Entity/AddressRenderBox.vue';
|
||||||
|
|
||||||
const i18n = {
|
const i18n = {
|
||||||
messages: {
|
messages: {
|
||||||
@ -275,7 +275,7 @@ export default {
|
|||||||
AddEvaluation,
|
AddEvaluation,
|
||||||
AddPersons,
|
AddPersons,
|
||||||
PersonRenderBox,
|
PersonRenderBox,
|
||||||
ShowAddress,
|
AddressRenderBox,
|
||||||
},
|
},
|
||||||
i18n,
|
i18n,
|
||||||
data() {
|
data() {
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
<div v-if="filterAddressesSuggestion.length > 0" class="flex-table householdAddressSuggestionList">
|
<div v-if="filterAddressesSuggestion.length > 0" class="flex-table householdAddressSuggestionList">
|
||||||
<div v-for="a in filterAddressesSuggestion" class="item-bloc">
|
<div v-for="a in filterAddressesSuggestion" class="item-bloc">
|
||||||
<show-address :address="a"></show-address>
|
<address-render-box :address="a"></address-render-box>
|
||||||
<ul class="record_actions">
|
<ul class="record_actions">
|
||||||
<li>
|
<li>
|
||||||
<button class="btn btn-action" @click="setHouseholdAddress(a)">
|
<button class="btn btn-action" @click="setHouseholdAddress(a)">
|
||||||
@ -125,14 +125,14 @@
|
|||||||
<script>
|
<script>
|
||||||
import { mapGetters, mapState } from 'vuex';
|
import { mapGetters, mapState } from 'vuex';
|
||||||
import HouseholdRenderBox from 'ChillPersonAssets/vuejs/_components/Entity/HouseholdRenderBox.vue';
|
import HouseholdRenderBox from 'ChillPersonAssets/vuejs/_components/Entity/HouseholdRenderBox.vue';
|
||||||
import ShowAddress from 'ChillMainAssets/vuejs/_components/Entity/AddressRenderBox.vue';
|
import AddressRenderBox from 'ChillMainAssets/vuejs/_components/Entity/AddressRenderBox.vue';
|
||||||
import AddAddress from 'ChillMainAssets/vuejs/Address/components/AddAddress.vue';
|
import AddAddress from 'ChillMainAssets/vuejs/Address/components/AddAddress.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Household',
|
name: 'Household',
|
||||||
components: {
|
components: {
|
||||||
HouseholdRenderBox,
|
HouseholdRenderBox,
|
||||||
ShowAddress,
|
AddressRenderBox,
|
||||||
AddAddress,
|
AddAddress,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
<!-- address part -->
|
<!-- address part -->
|
||||||
<li v-if="hasAddress()">
|
<li v-if="hasAddress()">
|
||||||
<show-address :address="household.current_address" :isMultiline="isMultiline"></show-address>
|
<address-render-box :address="household.current_address" :isMultiline="isMultiline"></address-render-box>
|
||||||
</li>
|
</li>
|
||||||
<li v-else>
|
<li v-else>
|
||||||
<span class="chill-no-data-statement">{{ $t('no_current_address') }}</span>
|
<span class="chill-no-data-statement">{{ $t('no_current_address') }}</span>
|
||||||
@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import PersonRenderBox from 'ChillPersonAssets/vuejs/_components/Entity/PersonRenderBox.vue';
|
import PersonRenderBox from 'ChillPersonAssets/vuejs/_components/Entity/PersonRenderBox.vue';
|
||||||
import ShowAddress from 'ChillMainAssets/vuejs/_components/Entity/AddressRenderBox.vue';
|
import AddressRenderBox from 'ChillMainAssets/vuejs/_components/Entity/AddressRenderBox.vue';
|
||||||
|
|
||||||
const i18n = {
|
const i18n = {
|
||||||
"messages": {
|
"messages": {
|
||||||
@ -69,7 +69,7 @@ export default {
|
|||||||
props: ['household', 'isAddressMultiline'],
|
props: ['household', 'isAddressMultiline'],
|
||||||
components: {
|
components: {
|
||||||
PersonRenderBox,
|
PersonRenderBox,
|
||||||
ShowAddress,
|
AddressRenderBox,
|
||||||
},
|
},
|
||||||
i18n,
|
i18n,
|
||||||
computed: {
|
computed: {
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
|
|
||||||
<li v-if="person.current_household_address">
|
<li v-if="person.current_household_address">
|
||||||
<i class="fa fa-li fa-map-marker"></i>
|
<i class="fa fa-li fa-map-marker"></i>
|
||||||
<show-address :address="person.current_household_address" :isMultiline="isMultiline"></show-address>
|
<address-render-box :address="person.current_household_address" :isMultiline="isMultiline"></address-render-box>
|
||||||
</li>
|
</li>
|
||||||
<li v-else-if="options.addNoData">
|
<li v-else-if="options.addNoData">
|
||||||
<i class="fa fa-li fa-map-marker"></i>
|
<i class="fa fa-li fa-map-marker"></i>
|
||||||
@ -109,12 +109,12 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {dateToISO} from 'ChillMainAssets/chill/js/date.js';
|
import {dateToISO} from 'ChillMainAssets/chill/js/date.js';
|
||||||
import ShowAddress from 'ChillMainAssets/vuejs/_components/Entity/AddressRenderBox.vue';
|
import AddressRenderBox from 'ChillMainAssets/vuejs/_components/Entity/AddressRenderBox.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "PersonRenderBox",
|
name: "PersonRenderBox",
|
||||||
components: {
|
components: {
|
||||||
ShowAddress
|
AddressRenderBox
|
||||||
},
|
},
|
||||||
props: ['person', 'options', 'render'],
|
props: ['person', 'options', 'render'],
|
||||||
computed: {
|
computed: {
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
<ul class="list-content fa-ul">
|
<ul class="list-content fa-ul">
|
||||||
<li v-if="thirdparty.address">
|
<li v-if="thirdparty.address">
|
||||||
<i class="fa fa-li fa-map-marker"></i>
|
<i class="fa fa-li fa-map-marker"></i>
|
||||||
<show-address :address="thirdparty.address" :isMultiline="isMultiline"></show-address>
|
<address-render-box :address="thirdparty.address" :isMultiline="isMultiline"></address-render-box>
|
||||||
</li>
|
</li>
|
||||||
<li v-if="thirdparty.telephone">
|
<li v-if="thirdparty.telephone">
|
||||||
<i class="fa fa-li fa-mobile"></i>
|
<i class="fa fa-li fa-mobile"></i>
|
||||||
@ -57,13 +57,13 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ShowAddress from 'ChillMainAssets/vuejs/_components/Entity/AddressRenderBox.vue';
|
import AddressRenderBox from 'ChillMainAssets/vuejs/_components/Entity/AddressRenderBox.vue';
|
||||||
import {dateToISO} from 'ChillMainAssets/chill/js/date.js';
|
import {dateToISO} from 'ChillMainAssets/chill/js/date.js';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "ThirdPartyRenderBox",
|
name: "ThirdPartyRenderBox",
|
||||||
components: {
|
components: {
|
||||||
ShowAddress
|
AddressRenderBox
|
||||||
},
|
},
|
||||||
props: ['thirdparty', 'options'],
|
props: ['thirdparty', 'options'],
|
||||||
computed: {
|
computed: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user