added prettier

This commit is contained in:
Čarodej
2022-02-01 12:21:38 +01:00
parent 5ae875233b
commit b38b532cbe
284 changed files with 25410 additions and 25338 deletions

View File

@@ -1,26 +1,26 @@
<template>
<PageTab>
<!-- Metered subscription components -->
<div v-if="config.subscriptionType === 'metered'">
<!--Failed Payments-->
<UserFailedPayments />
<!-- Metered subscription components -->
<div v-if="config.subscriptionType === 'metered'">
<!--Failed Payments-->
<UserFailedPayments />
<!--
<!--
...
Charge user and increase his balance
...
Available for PayPal, Paystack
...
-->
<UserBalance/>
<UserBalance />
<!--Usage Estimates-->
<UserUsageEstimates />
<!--Usage Estimates-->
<UserUsageEstimates />
<!--Billing Alert-->
<UserBillingAlerts />
<!--Billing Alert-->
<UserBillingAlerts />
<!--
<!--
...
We can store user credit card and charge for fixed billing and metered billing
This component handle storing and showing payment card UI
@@ -28,21 +28,21 @@
Handle only Stripe
...
-->
<UserStoredPaymentMethods />
<UserStoredPaymentMethods />
<!-- Show all users transactions -->
<UserTransactionsForMeteredBilling />
</div>
<!-- Show all users transactions -->
<UserTransactionsForMeteredBilling />
</div>
<!-- Fixed subscription components -->
<div v-if="config.subscriptionType === 'fixed'">
<!-- Empty subscription -->
<UserEmptySubscription />
<!-- Fixed subscription components -->
<div v-if="config.subscriptionType === 'fixed'">
<!-- Empty subscription -->
<UserEmptySubscription />
<!-- Subscription Detail -->
<UserFixedSubscriptionDetail />
<!-- Subscription Detail -->
<UserFixedSubscriptionDetail />
<!--
<!--
...
We can store user credit card and charge for fixed billing and metered billing
This component handle storing and showing payment card UI
@@ -50,9 +50,9 @@
Handle only Stripe
...
-->
<UserStoredPaymentMethods />
<UserStoredPaymentMethods />
<!--
<!--
...
Paystack or PayPal need generate external resources to update payment method.
This component will handle all user cases
@@ -60,53 +60,50 @@
Handle only Paypal, Paystack
...
-->
<UserUpdatePaymentMethodsExternally />
<UserUpdatePaymentMethodsExternally />
<!-- Component for cancel or upgrade subscription plan -->
<UserEditSubscription />
<!-- Show all users transactions -->
<UserTransactionsForFixedBilling />
</div>
<!-- Component for cancel or upgrade subscription plan -->
<UserEditSubscription />
<!-- Show all users transactions -->
<UserTransactionsForFixedBilling />
</div>
</PageTab>
</template>
<script>
import UserUpdatePaymentMethodsExternally from "../../components/Subscription/UserUpdatePaymentMethodsExternally"
import UserTransactionsForMeteredBilling from "../../components/Subscription/UserTransactionsForMeteredBilling"
import UserTransactionsForFixedBilling from "../../components/Subscription/UserTransactionsForFixedBilling"
import UserFixedSubscriptionDetail from "../../components/Subscription/UserFixedSubscriptionDetail"
import UserStoredPaymentMethods from "../../components/Subscription/UserStoredPaymentMethods"
import UserEmptySubscription from "../../components/Subscription/UserEmptySubscription"
import UserEditSubscription from "../../components/Subscription/UserEditSubscription"
import UserFailedPayments from "../../components/Subscription/UserFailedPayments"
import UserUsageEstimates from "../../components/Subscription/UserUsageEstimates"
import UserBillingAlerts from "../../components/Subscription/UserBillingAlerts"
import PageTab from "../../components/Others/Layout/PageTab";
import UserBalance from "../../components/Subscription/UserBalance"
import {mapGetters} from 'vuex'
import UserUpdatePaymentMethodsExternally from '../../components/Subscription/UserUpdatePaymentMethodsExternally'
import UserTransactionsForMeteredBilling from '../../components/Subscription/UserTransactionsForMeteredBilling'
import UserTransactionsForFixedBilling from '../../components/Subscription/UserTransactionsForFixedBilling'
import UserFixedSubscriptionDetail from '../../components/Subscription/UserFixedSubscriptionDetail'
import UserStoredPaymentMethods from '../../components/Subscription/UserStoredPaymentMethods'
import UserEmptySubscription from '../../components/Subscription/UserEmptySubscription'
import UserEditSubscription from '../../components/Subscription/UserEditSubscription'
import UserFailedPayments from '../../components/Subscription/UserFailedPayments'
import UserUsageEstimates from '../../components/Subscription/UserUsageEstimates'
import UserBillingAlerts from '../../components/Subscription/UserBillingAlerts'
import PageTab from '../../components/Others/Layout/PageTab'
import UserBalance from '../../components/Subscription/UserBalance'
import { mapGetters } from 'vuex'
export default {
name: 'Billing',
components: {
UserUpdatePaymentMethodsExternally,
UserTransactionsForMeteredBilling,
UserTransactionsForFixedBilling,
UserFixedSubscriptionDetail,
UserStoredPaymentMethods,
UserEmptySubscription,
UserEditSubscription,
UserFailedPayments,
UserUsageEstimates,
UserBillingAlerts,
UserBalance,
PageTab,
},
computed: {
...mapGetters([
'config',
]),
},
}
export default {
name: 'Billing',
components: {
UserUpdatePaymentMethodsExternally,
UserTransactionsForMeteredBilling,
UserTransactionsForFixedBilling,
UserFixedSubscriptionDetail,
UserStoredPaymentMethods,
UserEmptySubscription,
UserEditSubscription,
UserFailedPayments,
UserUsageEstimates,
UserBillingAlerts,
UserBalance,
PageTab,
},
computed: {
...mapGetters(['config']),
},
}
</script>