mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-27 17:15:02 +00:00
eslint fixes
This commit is contained in:
@@ -24,9 +24,7 @@
|
|||||||
{{ trans(getTextTitle) }}
|
{{ trans(getTextTitle) }}
|
||||||
<span v-if="flag.loading" class="loading">
|
<span v-if="flag.loading" class="loading">
|
||||||
<i class="fa fa-circle-o-notch fa-spin fa-fw" />
|
<i class="fa fa-circle-o-notch fa-spin fa-fw" />
|
||||||
<span class="sr-only">{{
|
<span class="sr-only">{{ trans(ADDRESS_LOADING) }}</span>
|
||||||
trans(ADDRESS_LOADING)
|
|
||||||
}}</span>
|
|
||||||
</span>
|
</span>
|
||||||
</h2>
|
</h2>
|
||||||
</template>
|
</template>
|
||||||
@@ -90,9 +88,7 @@
|
|||||||
{{ trans(getTextTitle) }}
|
{{ trans(getTextTitle) }}
|
||||||
<span v-if="flag.loading" class="loading">
|
<span v-if="flag.loading" class="loading">
|
||||||
<i class="fa fa-circle-o-notch fa-spin fa-fw" />
|
<i class="fa fa-circle-o-notch fa-spin fa-fw" />
|
||||||
<span class="sr-only">{{
|
<span class="sr-only">{{ trans(ADDRESS_LOADING) }}</span>
|
||||||
trans(ADDRESS_LOADING)
|
|
||||||
}}</span>
|
|
||||||
</span>
|
</span>
|
||||||
</h2>
|
</h2>
|
||||||
</template>
|
</template>
|
||||||
@@ -175,9 +171,7 @@
|
|||||||
{{ trans(getTextTitle) }}
|
{{ trans(getTextTitle) }}
|
||||||
<span v-if="flag.loading" class="loading">
|
<span v-if="flag.loading" class="loading">
|
||||||
<i class="fa fa-circle-o-notch fa-spin fa-fw" />
|
<i class="fa fa-circle-o-notch fa-spin fa-fw" />
|
||||||
<span class="sr-only">{{
|
<span class="sr-only">{{ trans(ADDRESS_LOADING) }}</span>
|
||||||
trans(ADDRESS_LOADING)
|
|
||||||
}}</span>
|
|
||||||
</span>
|
</span>
|
||||||
</h2>
|
</h2>
|
||||||
</template>
|
</template>
|
||||||
@@ -274,7 +268,8 @@ export default {
|
|||||||
PREVIOUS,
|
PREVIOUS,
|
||||||
NEXT,
|
NEXT,
|
||||||
};
|
};
|
||||||
},props: ["context", "options", "addressChangedCallback"],
|
},
|
||||||
|
props: ["context", "options", "addressChangedCallback"],
|
||||||
components: {
|
components: {
|
||||||
Modal,
|
Modal,
|
||||||
ShowPane,
|
ShowPane,
|
||||||
|
@@ -55,9 +55,7 @@
|
|||||||
:placeholder="trans(ADDRESS_BUILDING_NAME)"
|
:placeholder="trans(ADDRESS_BUILDING_NAME)"
|
||||||
v-model="buildingName"
|
v-model="buildingName"
|
||||||
/>
|
/>
|
||||||
<label for="buildingName">{{
|
<label for="buildingName">{{ trans(ADDRESS_BUILDING_NAME) }}</label>
|
||||||
trans(ADDRESS_BUILDING_NAME)
|
|
||||||
}}</label>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-floating my-1">
|
<div class="form-floating my-1">
|
||||||
<input
|
<input
|
||||||
@@ -79,9 +77,7 @@
|
|||||||
:placeholder="trans(ADDRESS_DISTRIBUTION)"
|
:placeholder="trans(ADDRESS_DISTRIBUTION)"
|
||||||
v-model="distribution"
|
v-model="distribution"
|
||||||
/>
|
/>
|
||||||
<label for="distribution">{{
|
<label for="distribution">{{ trans(ADDRESS_DISTRIBUTION) }}</label>
|
||||||
trans(ADDRESS_DISTRIBUTION)
|
|
||||||
}}</label>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -117,7 +113,8 @@ export default {
|
|||||||
ADDRESS_FILL_AN_ADDRESS,
|
ADDRESS_FILL_AN_ADDRESS,
|
||||||
trans,
|
trans,
|
||||||
};
|
};
|
||||||
},props: ["entity", "isNoAddress"],
|
},
|
||||||
|
props: ["entity", "isNoAddress"],
|
||||||
computed: {
|
computed: {
|
||||||
floor: {
|
floor: {
|
||||||
set(value) {
|
set(value) {
|
||||||
|
@@ -57,9 +57,7 @@
|
|||||||
:placeholder="trans(ADDRESS_STREET_NUMBER)"
|
:placeholder="trans(ADDRESS_STREET_NUMBER)"
|
||||||
v-model="streetNumber"
|
v-model="streetNumber"
|
||||||
/>
|
/>
|
||||||
<label for="streetNumber">{{
|
<label for="streetNumber">{{ trans(ADDRESS_STREET_NUMBER) }}</label>
|
||||||
trans(ADDRESS_STREET_NUMBER)
|
|
||||||
}}</label>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -96,7 +94,8 @@ export default {
|
|||||||
ADDRESS_CREATE_ADDRESS,
|
ADDRESS_CREATE_ADDRESS,
|
||||||
trans,
|
trans,
|
||||||
};
|
};
|
||||||
},props: ["entity", "context", "updateMapCenter", "flag", "checkErrors"],
|
},
|
||||||
|
props: ["entity", "context", "updateMapCenter", "flag", "checkErrors"],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
value: this.context.edit ? this.entity.address.addressReference : null,
|
value: this.context.edit ? this.entity.address.addressReference : null,
|
||||||
|
@@ -85,7 +85,8 @@ export default {
|
|||||||
ADDRESS_CREATE_POSTAL_CODE,
|
ADDRESS_CREATE_POSTAL_CODE,
|
||||||
trans,
|
trans,
|
||||||
};
|
};
|
||||||
},props: [
|
},
|
||||||
|
props: [
|
||||||
"entity",
|
"entity",
|
||||||
"context",
|
"context",
|
||||||
"focusOnAddress",
|
"focusOnAddress",
|
||||||
|
@@ -44,7 +44,8 @@ export default {
|
|||||||
ADDRESS_SELECT_COUNTRY,
|
ADDRESS_SELECT_COUNTRY,
|
||||||
trans,
|
trans,
|
||||||
};
|
};
|
||||||
},props: ["context", "entity", "flag", "checkErrors"],
|
},
|
||||||
|
props: ["context", "entity", "flag", "checkErrors"],
|
||||||
emits: ["getCities"],
|
emits: ["getCities"],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
@@ -129,7 +129,8 @@ export default {
|
|||||||
ADDRESS_IS_CONFIDENTIAL,
|
ADDRESS_IS_CONFIDENTIAL,
|
||||||
ADDRESS_IS_NO_ADDRESS,
|
ADDRESS_IS_NO_ADDRESS,
|
||||||
};
|
};
|
||||||
},props: [
|
},
|
||||||
|
props: [
|
||||||
"context",
|
"context",
|
||||||
"options",
|
"options",
|
||||||
"defaultz",
|
"defaultz",
|
||||||
|
@@ -11,9 +11,7 @@
|
|||||||
|
|
||||||
<div v-if="flag.success" class="alert alert-success">
|
<div v-if="flag.success" class="alert alert-success">
|
||||||
{{ trans(getSuccessText) }}
|
{{ trans(getSuccessText) }}
|
||||||
<span v-if="forceRedirect">{{
|
<span v-if="forceRedirect">{{ trans(ADDRESS_WAIT_REDIRECTION) }}</span>
|
||||||
trans(ADDRESS_WAIT_REDIRECTION)
|
|
||||||
}}</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
@@ -113,7 +111,8 @@ import {
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "ShowPane",
|
name: "ShowPane",
|
||||||
methods: {},components: {
|
methods: {},
|
||||||
|
components: {
|
||||||
AddressRenderBox,
|
AddressRenderBox,
|
||||||
ActionButtons,
|
ActionButtons,
|
||||||
},
|
},
|
||||||
@@ -128,7 +127,8 @@ export default {
|
|||||||
ADDRESS_ADDRESS_NEW_SUCCESS,
|
ADDRESS_ADDRESS_NEW_SUCCESS,
|
||||||
ADDRESS_ADDRESS_EDIT_SUCCESS,
|
ADDRESS_ADDRESS_EDIT_SUCCESS,
|
||||||
};
|
};
|
||||||
},props: [
|
},
|
||||||
|
props: [
|
||||||
"context",
|
"context",
|
||||||
"defaultz",
|
"defaultz",
|
||||||
"options",
|
"options",
|
||||||
@@ -179,7 +179,9 @@ export default {
|
|||||||
: this.defaultz.button.text.create;
|
: this.defaultz.button.text.create;
|
||||||
},
|
},
|
||||||
getSuccessText() {
|
getSuccessText() {
|
||||||
return this.context.edit ? ADDRESS_ADDRESS_EDIT_SUCCESS : ADDRESS_ADDRESS_NEW_SUCCESS;
|
return this.context.edit
|
||||||
|
? ADDRESS_ADDRESS_EDIT_SUCCESS
|
||||||
|
: ADDRESS_ADDRESS_NEW_SUCCESS;
|
||||||
},
|
},
|
||||||
onlyButton() {
|
onlyButton() {
|
||||||
return typeof this.options.onlyButton !== "undefined"
|
return typeof this.options.onlyButton !== "undefined"
|
||||||
|
Reference in New Issue
Block a user