Lint fixes
parent
9d526e16a2
commit
35d2e8b94b
|
@ -96,8 +96,8 @@ export default {
|
||||||
},
|
},
|
||||||
getButtonClass(option, i) {
|
getButtonClass(option, i) {
|
||||||
return ['p-button p-component', {
|
return ['p-button p-component', {
|
||||||
'p-highlight': this.isSelected(option),
|
'p-highlight': this.isSelected(option),
|
||||||
'p-disabled': this.isOptionDisabled(option),
|
'p-disabled': this.isOptionDisabled(option),
|
||||||
'p-focus': (i === this.focusedIndex)
|
'p-focus': (i === this.focusedIndex)
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
|
|
@ -120,7 +120,7 @@
|
||||||
|
|
||||||
<Dialog :visible.sync="deleteProductDialog" :style="{width: '450px'}" header="Confirm" :modal="true">
|
<Dialog :visible.sync="deleteProductDialog" :style="{width: '450px'}" header="Confirm" :modal="true">
|
||||||
<div class="confirmation-content">
|
<div class="confirmation-content">
|
||||||
<i class="pi pi-exclamation-triangle p-mr-3" style="font-size: 2rem" />
|
<i class="pi pi-exclamation-triangle p-mr-3" style="font-size: 2rem" />
|
||||||
<span v-if="product">Are you sure you want to delete <b>{{product.name}}</b>?</span>
|
<span v-if="product">Are you sure you want to delete <b>{{product.name}}</b>?</span>
|
||||||
</div>
|
</div>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
|
@ -131,7 +131,7 @@
|
||||||
|
|
||||||
<Dialog :visible.sync="deleteProductsDialog" :style="{width: '450px'}" header="Confirm" :modal="true">
|
<Dialog :visible.sync="deleteProductsDialog" :style="{width: '450px'}" header="Confirm" :modal="true">
|
||||||
<div class="confirmation-content">
|
<div class="confirmation-content">
|
||||||
<i class="pi pi-exclamation-triangle p-mr-3" style="font-size: 2rem" />
|
<i class="pi pi-exclamation-triangle p-mr-3" style="font-size: 2rem" />
|
||||||
<span v-if="product">Are you sure you want to delete the selected products?</span>
|
<span v-if="product">Are you sure you want to delete the selected products?</span>
|
||||||
</div>
|
</div>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
|
@ -257,7 +257,7 @@
|
||||||
|
|
||||||
<Dialog :visible.sync="deleteProductDialog" :style="{width: '450px'}" header="Confirm" :modal="true">
|
<Dialog :visible.sync="deleteProductDialog" :style="{width: '450px'}" header="Confirm" :modal="true">
|
||||||
<div class="confirmation-content">
|
<div class="confirmation-content">
|
||||||
<i class="pi pi-exclamation-triangle p-mr-3" style="font-size: 2rem" />
|
<i class="pi pi-exclamation-triangle p-mr-3" style="font-size: 2rem" />
|
||||||
<span v-if="product">Are you sure you want to delete <b>{{product.name}}</b>?</span>
|
<span v-if="product">Are you sure you want to delete <b>{{product.name}}</b>?</span>
|
||||||
</div>
|
</div>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
|
@ -268,7 +268,7 @@
|
||||||
|
|
||||||
<Dialog :visible.sync="deleteProductsDialog" :style="{width: '450px'}" header="Confirm" :modal="true">
|
<Dialog :visible.sync="deleteProductsDialog" :style="{width: '450px'}" header="Confirm" :modal="true">
|
||||||
<div class="confirmation-content">
|
<div class="confirmation-content">
|
||||||
<i class="pi pi-exclamation-triangle p-mr-3" style="font-size: 2rem" />
|
<i class="pi pi-exclamation-triangle p-mr-3" style="font-size: 2rem" />
|
||||||
<span v-if="product">Are you sure you want to delete the selected products?</span>
|
<span v-if="product">Are you sure you want to delete the selected products?</span>
|
||||||
</div>
|
</div>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
<Button label="Confirm" icon="pi pi-external-link" @click="openConfirmation" />
|
<Button label="Confirm" icon="pi pi-external-link" @click="openConfirmation" />
|
||||||
<Dialog header="Confirmation" :visible.sync="displayConfirmation" :style="{width: '350px'}" :modal="true">
|
<Dialog header="Confirmation" :visible.sync="displayConfirmation" :style="{width: '350px'}" :modal="true">
|
||||||
<div class="confirmation-content">
|
<div class="confirmation-content">
|
||||||
<i class="pi pi-exclamation-triangle p-mr-3" style="font-size: 2rem" />
|
<i class="pi pi-exclamation-triangle p-mr-3" style="font-size: 2rem" />
|
||||||
<span>Are you sure you want to proceed?</span>
|
<span>Are you sure you want to proceed?</span>
|
||||||
</div>
|
</div>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
|
|
|
@ -294,7 +294,7 @@ export default {
|
||||||
<Button label="Confirm" icon="pi pi-external-link" @click="openConfirmation" />
|
<Button label="Confirm" icon="pi pi-external-link" @click="openConfirmation" />
|
||||||
<Dialog header="Confirmation" :visible.sync="displayConfirmation" :style="{width: '350px'}" :modal="true">
|
<Dialog header="Confirmation" :visible.sync="displayConfirmation" :style="{width: '350px'}" :modal="true">
|
||||||
<div class="confirmation-content">
|
<div class="confirmation-content">
|
||||||
<i class="pi pi-exclamation-triangle p-mr-3" style="font-size: 2rem" />
|
<i class="pi pi-exclamation-triangle p-mr-3" style="font-size: 2rem" />
|
||||||
<span>Are you sure you want to proceed?</span>
|
<span>Are you sure you want to proceed?</span>
|
||||||
</div>
|
</div>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
|
|
|
@ -82,7 +82,7 @@ export default {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
}
|
}
|
||||||
|
|
||||||
.product-category-icon {
|
.product-category-icon {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
margin-right: .5rem;
|
margin-right: .5rem;
|
||||||
|
|
|
@ -235,7 +235,7 @@ export default {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
}
|
}
|
||||||
|
|
||||||
.product-category-icon {
|
.product-category-icon {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
margin-right: .5rem;
|
margin-right: .5rem;
|
||||||
|
|
|
@ -85,7 +85,7 @@ export default {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
}
|
}
|
||||||
|
|
||||||
.product-category-icon {
|
.product-category-icon {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
margin-right: .5rem;
|
margin-right: .5rem;
|
||||||
|
|
|
@ -297,7 +297,7 @@ product-item {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
}
|
}
|
||||||
|
|
||||||
.product-category-icon {
|
.product-category-icon {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
margin-right: .5rem;
|
margin-right: .5rem;
|
||||||
|
|
|
@ -35,7 +35,7 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
value1: 'Off',
|
value1: 'Off',
|
||||||
value2: null,
|
value2: null,
|
||||||
value3: null,
|
value3: null,
|
||||||
options: ['Off', 'On'],
|
options: ['Off', 'On'],
|
||||||
paymentOptions: [
|
paymentOptions: [
|
||||||
|
|
|
@ -180,7 +180,7 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
value1: 'Off',
|
value1: 'Off',
|
||||||
value2: null,
|
value2: null,
|
||||||
value3: null,
|
value3: null,
|
||||||
options: ['Off', 'On'],
|
options: ['Off', 'On'],
|
||||||
paymentOptions: [
|
paymentOptions: [
|
||||||
|
|
Loading…
Reference in New Issue