mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Address: rename [Show|Edit]AddressPane files
This commit is contained in:
parent
6e42b08627
commit
4bafa83b65
@ -24,14 +24,14 @@
|
||||
</template>
|
||||
|
||||
<template v-slot:body>
|
||||
<show-address-pane
|
||||
<show-pane
|
||||
v-bind:context="this.context"
|
||||
v-bind:options="this.options"
|
||||
v-bind:default="this.default"
|
||||
v-bind:entity="this.entity"
|
||||
v-bind:flag="this.flag"
|
||||
ref="showAddress">
|
||||
</show-address-pane>
|
||||
</show-pane>
|
||||
</template>
|
||||
|
||||
<template v-slot:footer>
|
||||
@ -49,7 +49,7 @@
|
||||
</teleport>
|
||||
<div class="mt-4" v-else>
|
||||
|
||||
<show-address-pane v-if="flag.showPane"
|
||||
<show-pane v-if="flag.showPane"
|
||||
v-bind:context="this.context"
|
||||
v-bind:options="this.options"
|
||||
v-bind:default="this.default"
|
||||
@ -58,7 +58,7 @@
|
||||
v-bind:insideModal="false"
|
||||
@openEditPane="openEditPane"
|
||||
ref="showAddress">
|
||||
</show-address-pane>
|
||||
</show-pane>
|
||||
</div>
|
||||
|
||||
<!-- step 2 -->
|
||||
@ -77,7 +77,7 @@
|
||||
</template>
|
||||
|
||||
<template v-slot:body>
|
||||
<edit-address-pane
|
||||
<edit-pane
|
||||
v-bind:context="this.context"
|
||||
v-bind:options="this.options"
|
||||
v-bind:default="this.default"
|
||||
@ -85,7 +85,7 @@
|
||||
v-bind:flag="this.flag"
|
||||
@getCities="getCities"
|
||||
@getReferenceAddresses="getReferenceAddresses">
|
||||
</edit-address-pane>
|
||||
</edit-pane>
|
||||
</template>
|
||||
|
||||
<template v-slot:footer>
|
||||
@ -102,7 +102,7 @@
|
||||
</teleport>
|
||||
<div class="mt-4" v-else>
|
||||
|
||||
<edit-address-pane v-if="flag.editPane"
|
||||
<edit-pane v-if="flag.editPane"
|
||||
v-bind:context="this.context"
|
||||
v-bind:options="this.options"
|
||||
v-bind:default="this.default"
|
||||
@ -112,7 +112,7 @@
|
||||
@closeEditPane="closeEditPane"
|
||||
@getCities="getCities"
|
||||
@getReferenceAddresses="getReferenceAddresses">
|
||||
</edit-address-pane>
|
||||
</edit-pane>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
@ -121,16 +121,16 @@
|
||||
import Modal from 'ChillMainAssets/vuejs/_components/Modal';
|
||||
import { getAddress, fetchCountries, fetchCities, fetchReferenceAddresses, patchAddress, postAddress, postPostalCode } from '../api';
|
||||
import { postAddressToPerson, postAddressToHousehold } from "ChillPersonAssets/vuejs/_api/AddAddress.js";
|
||||
import ShowAddressPane from './ShowAddressPane.vue';
|
||||
import EditAddressPane from './EditAddressPane.vue';
|
||||
import ShowPane from './ShowPane.vue';
|
||||
import EditPane from './EditPane.vue';
|
||||
|
||||
export default {
|
||||
name: "AddAddress",
|
||||
props: ['context', 'options', 'addressChangedCallback'],
|
||||
components: {
|
||||
Modal,
|
||||
ShowAddressPane,
|
||||
EditAddressPane,
|
||||
ShowPane,
|
||||
EditPane,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
@ -85,7 +85,7 @@ import AddressMap from './AddAddress/AddressMap';
|
||||
import AddressMore from './AddAddress/AddressMore'
|
||||
|
||||
export default {
|
||||
name: "EditAddressPane",
|
||||
name: "EditPane",
|
||||
components: {
|
||||
CountrySelection,
|
||||
CitySelection,
|
@ -66,7 +66,7 @@ import { dateToISO, ISOToDate, ISOToDatetime } from 'ChillMainAssets/chill/js/da
|
||||
import AddressRenderBox from 'ChillMainAssets/vuejs/_components/Entity/AddressRenderBox.vue';
|
||||
|
||||
export default {
|
||||
name: 'ShowAddressPane',
|
||||
name: 'ShowPane',
|
||||
components: {
|
||||
AddressRenderBox
|
||||
},
|
Loading…
x
Reference in New Issue
Block a user