From 01db769ce5d816332d306fcc947e139dc9dc8c28 Mon Sep 17 00:00:00 2001 From: Laura Martinez Garcia Date: Thu, 30 May 2024 10:57:41 +0200 Subject: [PATCH] chore: avoid barrels --- .../history-queries/components/clear-history-queries.vue | 3 ++- .../history-queries/components/history-queries-switch.vue | 4 +++- .../x-modules/history-queries/components/history-queries.vue | 3 ++- .../x-modules/history-queries/components/history-query.vue | 3 ++- .../src/x-modules/history-queries/components/my-history.vue | 3 ++- .../history-queries/components/remove-history-query.vue | 2 +- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/packages/x-components/src/x-modules/history-queries/components/clear-history-queries.vue b/packages/x-components/src/x-modules/history-queries/components/clear-history-queries.vue index ea4a64350a..6c0ca6aef4 100644 --- a/packages/x-components/src/x-modules/history-queries/components/clear-history-queries.vue +++ b/packages/x-components/src/x-modules/history-queries/components/clear-history-queries.vue @@ -18,7 +18,8 @@ import { VueCSSClasses } from '../../../utils/types'; import { XEventsTypes } from '../../../wiring/events.types'; import { historyQueriesXModule } from '../x-module'; - import { useRegisterXModule, useState } from '../../../composables/index'; + import { useRegisterXModule } from '../../../composables/use-register-x-module'; + import { useState } from '../../../composables/use-state'; /** * A button that when is pressed, emits the diff --git a/packages/x-components/src/x-modules/history-queries/components/history-queries-switch.vue b/packages/x-components/src/x-modules/history-queries/components/history-queries-switch.vue index 7ea07c5739..965d4c979d 100644 --- a/packages/x-components/src/x-modules/history-queries/components/history-queries-switch.vue +++ b/packages/x-components/src/x-modules/history-queries/components/history-queries-switch.vue @@ -7,7 +7,9 @@ import BaseSwitch from '../../../components/base-switch.vue'; import { historyQueriesXModule } from '../x-module'; import { isArrayEmpty } from '../../../utils/array'; - import { use$x, useRegisterXModule, useState } from '../../../composables/index'; + import { use$x } from '../../../composables/use-$x'; + import { useRegisterXModule } from '../../../composables/use-register-x-module'; + import { useState } from '../../../composables/use-state'; /** * History Queries Switch is a component to activate or deactivate the history queries. diff --git a/packages/x-components/src/x-modules/history-queries/components/history-queries.vue b/packages/x-components/src/x-modules/history-queries/components/history-queries.vue index 6979a83cb6..2d5a9f365d 100644 --- a/packages/x-components/src/x-modules/history-queries/components/history-queries.vue +++ b/packages/x-components/src/x-modules/history-queries/components/history-queries.vue @@ -50,7 +50,8 @@ import { defineComponent } from 'vue'; import BaseSuggestions from '../../../components/suggestions/base-suggestions.vue'; import { historyQueriesXModule } from '../x-module'; - import { useGetter, useRegisterXModule } from '../../../composables/index'; + import { useRegisterXModule } from '../../../composables/use-register-x-module'; + import { useGetter } from '../../../composables/use-getter'; import HistoryQuery from './history-query.vue'; /** diff --git a/packages/x-components/src/x-modules/history-queries/components/history-query.vue b/packages/x-components/src/x-modules/history-queries/components/history-query.vue index 98e897c1d7..95d5fb33dd 100644 --- a/packages/x-components/src/x-modules/history-queries/components/history-query.vue +++ b/packages/x-components/src/x-modules/history-queries/components/history-query.vue @@ -44,7 +44,8 @@ import BaseSuggestion from '../../../components/suggestions/base-suggestion.vue'; import { XEventsTypes } from '../../../wiring/events.types'; import { historyQueriesXModule } from '../x-module'; - import { useGetter, useRegisterXModule } from '../../../composables/index'; + import { useGetter } from '../../../composables/use-getter'; + import { useRegisterXModule } from '../../../composables/use-register-x-module'; import RemoveHistoryQuery from './remove-history-query.vue'; /** diff --git a/packages/x-components/src/x-modules/history-queries/components/my-history.vue b/packages/x-components/src/x-modules/history-queries/components/my-history.vue index c1a7c3fe4b..6bbb82084a 100644 --- a/packages/x-components/src/x-modules/history-queries/components/my-history.vue +++ b/packages/x-components/src/x-modules/history-queries/components/my-history.vue @@ -65,7 +65,8 @@ import { SnippetConfig } from '../../../x-installer/api/api.types'; import { historyQueriesXModule } from '../x-module'; import { AnimationProp } from '../../../types/index'; - import { useRegisterXModule, useState } from '../../../composables/index'; + import { useState } from '../../../composables/use-state'; + import { useRegisterXModule } from '../../../composables/use-register-x-module'; import HistoryQueryComponent from './history-query.vue'; /** diff --git a/packages/x-components/src/x-modules/history-queries/components/remove-history-query.vue b/packages/x-components/src/x-modules/history-queries/components/remove-history-query.vue index 30e2de8467..019d2edb3d 100644 --- a/packages/x-components/src/x-modules/history-queries/components/remove-history-query.vue +++ b/packages/x-components/src/x-modules/history-queries/components/remove-history-query.vue @@ -15,7 +15,7 @@ import BaseEventButton from '../../../components/base-event-button.vue'; import { XEventsTypes } from '../../../wiring/events.types'; import { historyQueriesXModule } from '../x-module'; - import { useRegisterXModule } from '../../../composables/index'; + import { useRegisterXModule } from '../../../composables/use-register-x-module'; /** * Button that when it is pressed emits the