Add BufferDialog component to multiple Vue files
This commit is contained in:
		| @@ -256,6 +256,7 @@ | ||||
|       </template> | ||||
|     </DxDataGrid> | ||||
|   </div> | ||||
|   <BufferDialog v-if="loadingData || loadingSubData" /> | ||||
| </template> | ||||
|  | ||||
| <script setup lang="ts"> | ||||
| @@ -288,6 +289,7 @@ import { formatNumber, formatPercentage, isNumber } from '@/utils/numbers' | ||||
| import { getMonthName } from '@/utils/texts' | ||||
| import { apolloClient } from '@/utils/api/api.graphql' | ||||
| import { provideApolloClient } from '@vue/apollo-composable' | ||||
| import BufferDialog from '@/components/Dialogs/BufferDialog.vue' | ||||
|  | ||||
| const client = apolloClient() | ||||
| provideApolloClient(client) | ||||
|   | ||||
| @@ -268,6 +268,7 @@ | ||||
|       </template> | ||||
|     </DxDataGrid> | ||||
|   </div> | ||||
|   <BufferDialog v-if="loadingData || loadingSubData" /> | ||||
| </template> | ||||
|  | ||||
| <script setup lang="ts"> | ||||
| @@ -300,6 +301,7 @@ import { getMonthNameShort } from '@/utils/texts' | ||||
| import { formatNumber, formatPercentage, isNumber } from '@/utils/numbers' | ||||
| import { apolloClient } from '@/utils/api/api.graphql' | ||||
| import { provideApolloClient } from '@vue/apollo-composable' | ||||
| import BufferDialog from '@/components/Dialogs/BufferDialog.vue' | ||||
|  | ||||
| const client = apolloClient() | ||||
| provideApolloClient(client) | ||||
|   | ||||
| @@ -340,6 +340,7 @@ | ||||
|       </template> | ||||
|     </DxDataGrid> | ||||
|   </div> | ||||
|   <BufferDialog v-if="loadingData || loadingSubData" /> | ||||
| </template> | ||||
|  | ||||
| <script setup lang="ts"> | ||||
| @@ -370,6 +371,7 @@ import { useQuery } from '@vue/apollo-composable' | ||||
| import { queries, requestGraphQl } from '@/utils/api/api.graphql' | ||||
| import { getMonthName, getMonthNameShort } from '@/utils/texts' | ||||
| import { formatNumber, formatPercentage, isNumber } from '@/utils/numbers' | ||||
| import BufferDialog from '@/components/Dialogs/BufferDialog.vue' | ||||
|  | ||||
| const position = { of: '#data' } | ||||
| const showIndicator = ref(true) | ||||
|   | ||||
| @@ -256,6 +256,7 @@ | ||||
|       </template> | ||||
|     </DxDataGrid> | ||||
|   </div> | ||||
|   <BufferDialog v-if="loadingData || loadingSubData" /> | ||||
| </template> | ||||
|  | ||||
| <script setup lang="ts"> | ||||
| @@ -288,6 +289,7 @@ import { getMonthName } from '@/utils/texts' | ||||
| import { formatNumber, formatPercentage, isNumber } from '@/utils/numbers' | ||||
| import { apolloClient } from '@/utils/api/api.graphql' | ||||
| import { provideApolloClient } from '@vue/apollo-composable' | ||||
| import BufferDialog from '@/components/Dialogs/BufferDialog.vue' | ||||
|  | ||||
| const client = apolloClient() | ||||
| provideApolloClient(client) | ||||
|   | ||||
| @@ -268,6 +268,7 @@ | ||||
|       </template> | ||||
|     </DxDataGrid> | ||||
|   </div> | ||||
|   <BufferDialog v-if="loadingData || loadingSubData" /> | ||||
| </template> | ||||
|  | ||||
| <script setup lang="ts"> | ||||
| @@ -300,6 +301,7 @@ import { getMonthNameShort } from '@/utils/texts' | ||||
| import { formatNumber, formatPercentage, isNumber } from '@/utils/numbers' | ||||
| import { apolloClient } from '@/utils/api/api.graphql' | ||||
| import { provideApolloClient } from '@vue/apollo-composable' | ||||
| import BufferDialog from '@/components/Dialogs/BufferDialog.vue' | ||||
|  | ||||
| const client = apolloClient() | ||||
| provideApolloClient(client) | ||||
|   | ||||
| @@ -715,6 +715,7 @@ | ||||
|       </template> | ||||
|     </DxDataGrid> | ||||
|   </div> | ||||
|   <BufferDialog v-if="loadingData || loadingSubData" /> | ||||
| </template> | ||||
|  | ||||
| <script setup lang="ts"> | ||||
| @@ -747,6 +748,7 @@ import { queries, requestGraphQl } from '@/utils/api/api.graphql' | ||||
| import { formatNumber, formatPercentage, isNumber } from '@/utils/numbers' | ||||
| import { apolloClient } from '@/utils/api/api.graphql' | ||||
| import { provideApolloClient } from '@vue/apollo-composable' | ||||
| import BufferDialog from '@/components/Dialogs/BufferDialog.vue' | ||||
|  | ||||
| const client = apolloClient() | ||||
| provideApolloClient(client) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user