mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-05-29 22:49:00 +00:00
Ditch global components
This commit is contained in:
@@ -5,6 +5,7 @@ import DashboardTable from '../dashboard/DashboardTable.vue'
|
||||
import { useUserStore } from '@/scripts/admin/stores/user'
|
||||
import { onMounted } from 'vue'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import BasePage from '@/scripts/components/base/BasePage.vue'
|
||||
|
||||
const route = useRoute()
|
||||
const userStore = useUserStore()
|
||||
|
||||
@@ -157,6 +157,9 @@ import ChartPlaceholder from './DashboardChartPlaceholder.vue'
|
||||
import abilities from '@/scripts/admin/stub/abilities'
|
||||
import { useUserStore } from '@/scripts/admin/stores/user'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import BaseFormatMoney from '@/scripts/components/base/BaseFormatMoney.vue'
|
||||
import BaseMultiselect from '@/scripts/components/base-select/BaseMultiselect.vue'
|
||||
import BaseIcon from '@/scripts/components/base/BaseIcon.vue'
|
||||
|
||||
const dashboardStore = useDashboardStore()
|
||||
const companyStore = useCompanyStore()
|
||||
|
||||
@@ -86,3 +86,8 @@
|
||||
</div>
|
||||
</BaseContentPlaceholders>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import BaseContentPlaceholdersText from '@/scripts/components/base/BaseContentPlaceholdersText.vue'
|
||||
import BaseContentPlaceholdersBox from '@/scripts/components/base/BaseContentPlaceholdersBox.vue'
|
||||
import BaseContentPlaceholders from '@/scripts/components/base/BaseContentPlaceholders.vue'
|
||||
</script>
|
||||
|
||||
@@ -62,6 +62,7 @@ import { inject } from 'vue'
|
||||
import { useDashboardStore } from '@/scripts/admin/stores/dashboard'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import { useUserStore } from '@/scripts/admin/stores/user'
|
||||
import BaseFormatMoney from '@/scripts/components/base/BaseFormatMoney.vue'
|
||||
|
||||
const utils = inject('utils')
|
||||
|
||||
|
||||
@@ -18,3 +18,8 @@
|
||||
</div>
|
||||
</BaseContentPlaceholders>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import BaseContentPlaceholdersBox from '@/scripts/components/base/BaseContentPlaceholdersBox.vue'
|
||||
import BaseContentPlaceholdersText from '@/scripts/components/base/BaseContentPlaceholdersText.vue'
|
||||
import BaseContentPlaceholders from '@/scripts/components/base/BaseContentPlaceholders.vue'
|
||||
</script>
|
||||
|
||||
@@ -29,3 +29,8 @@
|
||||
</div>
|
||||
</BaseContentPlaceholders>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import BaseContentPlaceholdersBox from '@/scripts/components/base/BaseContentPlaceholdersBox.vue'
|
||||
import BaseContentPlaceholdersText from '@/scripts/components/base/BaseContentPlaceholdersText.vue'
|
||||
import BaseContentPlaceholders from '@/scripts/components/base/BaseContentPlaceholders.vue'
|
||||
</script>
|
||||
|
||||
@@ -111,6 +111,9 @@ import { useUserStore } from '@/scripts/admin/stores/user'
|
||||
import abilities from '@/scripts/admin/stub/abilities'
|
||||
import InvoiceDropdown from '@/scripts/admin/components/dropdowns/InvoiceIndexDropdown.vue'
|
||||
import EstimateDropdown from '@/scripts/admin/components/dropdowns/EstimateIndexDropdown.vue'
|
||||
import BaseFormatMoney from '@/scripts/components/base/BaseFormatMoney.vue'
|
||||
import BaseTable from '@/scripts/components/base/base-table/BaseTable.vue'
|
||||
import BaseButton from '@/scripts/components/base/BaseButton.vue'
|
||||
|
||||
const dashboardStore = useDashboardStore()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user