Skip to content

Commit

Permalink
Add .vue on all import in src
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathéo Buchart committed Aug 30, 2023
1 parent 162216a commit 66c14f8
Show file tree
Hide file tree
Showing 40 changed files with 85 additions and 85 deletions.
4 changes: 2 additions & 2 deletions src/components/card/DiagramsCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ import { getAllModels } from 'src/composables/Project';
import { getAllTagsByType } from 'src/composables/PluginManager';
import { searchText } from 'src/composables/Filter';
import DiagramTable from 'src/components/table/DiagramTable';
import DiagramGrid from 'src/components/grid/DiagramGrid';
import DiagramTable from 'src/components/table/DiagramTable.vue';
import DiagramGrid from 'src/components/grid/DiagramGrid.vue';
import DiagramFilterCard from 'components/card/DiagramFilterCard.vue';
import DialogEvent from 'src/composables/events/DialogEvent';
Expand Down
2 changes: 1 addition & 1 deletion src/components/card/FileExplorerActionCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<script setup>
import { ref } from 'vue';
import FileExplorerActionMenu from 'components/menu/FileExplorerActionMenu';
import FileExplorerActionMenu from 'components/menu/FileExplorerActionMenu.vue';
const isActionMenuOpen = ref(false);
Expand Down
2 changes: 1 addition & 1 deletion src/components/card/GitBranchCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { useRoute } from 'vue-router';
import { onMounted, onUnmounted, ref } from 'vue';
import GitEvent from 'src/composables/events/GitEvent';
import FileEvent from 'src/composables/events/FileEvent';
import GitBranchMenu from 'components/menu/GitBranchMenu';
import GitBranchMenu from 'components/menu/GitBranchMenu.vue';
let addRemoteSubscription;
let checkoutSubscription;
Expand Down
4 changes: 2 additions & 2 deletions src/components/dialog/CreateFileDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
<script setup>
import { ref, onMounted, onUnmounted } from 'vue';
import DialogEvent from 'src/composables/events/DialogEvent';
import DefaultDialog from 'components/dialog/DefaultDialog';
import CreateFileForm from 'components/form/CreateFileForm';
import DefaultDialog from 'components/dialog/DefaultDialog.vue';
import CreateFileForm from 'components/form/CreateFileForm.vue';
defineProps({
projectName: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/dialog/CreateModelDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</template>

<script setup>
import DefaultDialog from 'components/dialog/DefaultDialog';
import DefaultDialog from 'components/dialog/DefaultDialog.vue';
import CreateModelForm from 'components/form/CreateModelForm.vue';
defineProps({
Expand Down
4 changes: 2 additions & 2 deletions src/components/dialog/CreateProjectDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

<script setup>
import DialogEvent from 'src/composables/events/DialogEvent';
import DefaultDialog from 'src/components/dialog/DefaultDialog';
import CreateProjectForm from 'src/components/form/CreateProjectForm';
import DefaultDialog from 'src/components/dialog/DefaultDialog.vue';
import CreateProjectForm from 'src/components/form/CreateProjectForm.vue';
import { useRouter } from 'vue-router';
import { initProject } from 'src/composables/Project';
import { Notify } from 'quasar';
Expand Down
4 changes: 2 additions & 2 deletions src/components/dialog/CreateProjectTemplateDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@

<script setup>
import DialogEvent from 'src/composables/events/DialogEvent';
import DefaultDialog from 'src/components/dialog/DefaultDialog';
import CreateProjectTemplateForm from 'src/components/form/CreateProjectTemplateForm';
import DefaultDialog from 'src/components/dialog/DefaultDialog.vue';
import CreateProjectTemplateForm from 'src/components/form/CreateProjectTemplateForm.vue';
import { useRouter } from 'vue-router';
import {
onMounted,
Expand Down
4 changes: 2 additions & 2 deletions src/components/dialog/DeleteFileDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ import {
onUnmounted,
} from 'vue';
import DialogEvent from 'src/composables/events/DialogEvent';
import DefaultDialog from 'components/dialog/DefaultDialog';
import DeleteFileForm from 'components/form/DeleteFileForm';
import DefaultDialog from 'components/dialog/DefaultDialog.vue';
import DeleteFileForm from 'components/form/DeleteFileForm.vue';
defineProps({
projectName: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/dialog/DeleteModelDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</template>

<script setup>
import DefaultDialog from 'components/dialog/DefaultDialog';
import DefaultDialog from 'components/dialog/DefaultDialog.vue';
import DeleteModelForm from 'components/form/DeleteModelForm.vue';
import DialogEvent from 'src/composables/events/DialogEvent';
import {
Expand Down
4 changes: 2 additions & 2 deletions src/components/dialog/DeleteProjectDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

<script setup>
import DialogEvent from 'src/composables/events/DialogEvent';
import DefaultDialog from 'src/components/dialog/DefaultDialog';
import DeleteProjectForm from 'src/components/form/DeleteProjectForm';
import DefaultDialog from 'src/components/dialog/DefaultDialog.vue';
import DeleteProjectForm from 'src/components/form/DeleteProjectForm.vue';
import { onMounted, onUnmounted, ref } from 'vue';
const projectId = ref(null);
Expand Down
4 changes: 2 additions & 2 deletions src/components/dialog/GitAddRemoteDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

<script setup>
import DialogEvent from 'src/composables/events/DialogEvent';
import DefaultDialog from 'components/dialog/DefaultDialog';
import GitAddRemoteForm from 'components/form/GitAddRemoteForm';
import DefaultDialog from 'components/dialog/DefaultDialog.vue';
import GitAddRemoteForm from 'components/form/GitAddRemoteForm.vue';
defineProps({
projectName: {
Expand Down
4 changes: 2 additions & 2 deletions src/components/dialog/GitAuthenticationDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

<script setup>
import DialogEvent from 'src/composables/events/DialogEvent';
import DefaultDialog from 'components/dialog/DefaultDialog';
import GitAuthenticationForm from 'components/form/GitAuthenticationForm';
import DefaultDialog from 'components/dialog/DefaultDialog.vue';
import GitAuthenticationForm from 'components/form/GitAuthenticationForm.vue';
defineProps({
projectName: {
Expand Down
4 changes: 2 additions & 2 deletions src/components/dialog/GitCommitDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@
</template>

<script setup>
import DefaultDialog from 'components/dialog/DefaultDialog';
import DefaultDialog from 'components/dialog/DefaultDialog.vue';
import {
onMounted,
onUnmounted,
ref,
} from 'vue';
import DialogEvent from 'src/composables/events/DialogEvent';
import { getStatus } from 'src/composables/Project';
import GitCommitForm from 'components/form/GitCommitForm';
import GitCommitForm from 'components/form/GitCommitForm.vue';
import GitEvent from 'src/composables/events/GitEvent';
const props = defineProps({
Expand Down
2 changes: 1 addition & 1 deletion src/components/dialog/GitLogDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@

<script setup>
import { onMounted, onUnmounted, ref } from 'vue';
import DefaultDialog from 'components/dialog/DefaultDialog';
import DefaultDialog from 'components/dialog/DefaultDialog.vue';
import DialogEvent from 'src/composables/events/DialogEvent';
import { gitLog } from 'src/composables/Project';
Expand Down
4 changes: 2 additions & 2 deletions src/components/dialog/GitNewBranchDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

<script setup>
import DialogEvent from 'src/composables/events/DialogEvent';
import DefaultDialog from 'components/dialog/DefaultDialog';
import GitNewBranchForm from 'components/form/GitNewBranchForm';
import DefaultDialog from 'components/dialog/DefaultDialog.vue';
import GitNewBranchForm from 'components/form/GitNewBranchForm.vue';
import { onMounted, onUnmounted, ref } from 'vue';
defineProps({
Expand Down
4 changes: 2 additions & 2 deletions src/components/dialog/GitPushDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

<script setup>
import DialogEvent from 'src/composables/events/DialogEvent';
import DefaultDialog from 'components/dialog/DefaultDialog';
import GitPushForm from 'components/form/GitPushForm';
import DefaultDialog from 'components/dialog/DefaultDialog.vue';
import GitPushForm from 'components/form/GitPushForm.vue';
import { onMounted, onUnmounted, ref } from 'vue';
defineProps({
Expand Down
2 changes: 1 addition & 1 deletion src/components/dialog/GitStatusDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
</template>

<script setup>
import DefaultDialog from 'components/dialog/DefaultDialog';
import DefaultDialog from 'components/dialog/DefaultDialog.vue';
import {
computed,
onMounted,
Expand Down
4 changes: 2 additions & 2 deletions src/components/dialog/GitUpdateDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

<script setup>
import DialogEvent from 'src/composables/events/DialogEvent';
import DefaultDialog from 'components/dialog/DefaultDialog';
import GitUpdateForm from 'components/form/GitUpdateForm';
import DefaultDialog from 'components/dialog/DefaultDialog.vue';
import GitUpdateForm from 'components/form/GitUpdateForm.vue';
import { onMounted, onUnmounted, ref } from 'vue';
defineProps({
Expand Down
2 changes: 1 addition & 1 deletion src/components/dialog/ImportModelTemplateDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</template>

<script setup>
import DefaultDialog from 'components/dialog/DefaultDialog';
import DefaultDialog from 'components/dialog/DefaultDialog.vue';
import DialogEvent from 'src/composables/events/DialogEvent';
import ImportModelTemplateForm from 'components/form/ImportModelTemplateForm.vue';
import {
Expand Down
4 changes: 2 additions & 2 deletions src/components/dialog/ImportProjectDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

<script setup>
import DialogEvent from 'src/composables/events/DialogEvent';
import DefaultDialog from 'src/components/dialog/DefaultDialog';
import ImportProjectForm from 'src/components/form/ImportProjectForm';
import DefaultDialog from 'src/components/dialog/DefaultDialog.vue';
import ImportProjectForm from 'src/components/form/ImportProjectForm.vue';
import { useRouter } from 'vue-router';
const router = useRouter();
Expand Down
2 changes: 1 addition & 1 deletion src/components/dialog/RenameModelDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</template>

<script setup>
import DefaultDialog from 'components/dialog/DefaultDialog';
import DefaultDialog from 'components/dialog/DefaultDialog.vue';
import RenameModelForm from 'components/form/RenameModelForm.vue';
import DialogEvent from 'src/composables/events/DialogEvent';
import {
Expand Down
4 changes: 2 additions & 2 deletions src/components/dialog/RenameProjectDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

<script setup>
import DialogEvent from 'src/composables/events/DialogEvent';
import DefaultDialog from 'src/components/dialog/DefaultDialog';
import RenameProjectForm from 'src/components/form/RenameProjectForm';
import DefaultDialog from 'src/components/dialog/DefaultDialog.vue';
import RenameProjectForm from 'src/components/form/RenameProjectForm.vue';
import { onMounted, onUnmounted, ref } from 'vue';
const projectId = ref(null);
Expand Down
4 changes: 2 additions & 2 deletions src/components/drawer/HomeDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
</template>

<script setup>
import DefaultDrawer from 'src/components/drawer/DefaultDrawer';
import ShortProjectsItem from 'src/components/item/ShortProjectsItem';
import DefaultDrawer from 'src/components/drawer/DefaultDrawer.vue';
import ShortProjectsItem from 'src/components/item/ShortProjectsItem.vue';
</script>
2 changes: 1 addition & 1 deletion src/components/drawer/ModelizerTextLeftDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

<script setup>
import FileExplorer from 'src/components/FileExplorer.vue';
import GitBranchCard from 'src/components/card/GitBranchCard';
import GitBranchCard from 'src/components/card/GitBranchCard.vue';
import { computed, ref } from 'vue';
import { useRoute, useRouter } from 'vue-router';
Expand Down
2 changes: 1 addition & 1 deletion src/components/grid/ComponentDefinitionGrid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</template>

<script setup>
import ComponentDefinitionCard from 'src/components/card/ComponentDefinitionCard';
import ComponentDefinitionCard from 'src/components/card/ComponentDefinitionCard.vue';
defineProps({
definitions: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/grid/DiagramGrid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</template>

<script setup>
import ModelCard from 'src/components/card/ModelCard';
import ModelCard from 'src/components/card/ModelCard.vue';
defineEmits(['click:diagram']);
defineProps({
Expand Down
2 changes: 1 addition & 1 deletion src/components/grid/TemplateGrid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<script setup>
import { ref, computed } from 'vue';
import { searchText } from 'src/composables/Filter';
import TemplateCard from 'src/components/card/TemplateCard';
import TemplateCard from 'src/components/card/TemplateCard.vue';
defineEmits(['add:template']);
Expand Down
2 changes: 1 addition & 1 deletion src/components/inputs/AttributesList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

<script setup>
import { reactive, toRef, watch } from 'vue';
import InputWrapper from 'components/inputs/InputWrapper';
import InputWrapper from 'components/inputs/InputWrapper.vue';
import ObjectInput from 'src/components/inputs/ObjectInput.vue';
const emit = defineEmits([
Expand Down
14 changes: 7 additions & 7 deletions src/components/inputs/InputWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,13 @@ const props = defineProps({
});
const inputList = {
Boolean: defineAsyncComponent(() => import('./BooleanInput')),
String: defineAsyncComponent(() => import('./StringInput')),
Number: defineAsyncComponent(() => import('./NumberInput')),
Reference: defineAsyncComponent(() => import('./ReferenceInput')),
Select: defineAsyncComponent(() => import('./SelectInput')),
Link: defineAsyncComponent(() => import('./LinkInput')),
Array: defineAsyncComponent(() => import('./ArrayInput')),
Boolean: defineAsyncComponent(() => import('./BooleanInput.vue')),
String: defineAsyncComponent(() => import('./StringInput.vue')),
Number: defineAsyncComponent(() => import('./NumberInput.vue')),
Reference: defineAsyncComponent(() => import('./ReferenceInput.vue')),
Select: defineAsyncComponent(() => import('./SelectInput.vue')),
Link: defineAsyncComponent(() => import('./LinkInput.vue')),
Array: defineAsyncComponent(() => import('./ArrayInput.vue')),
};
const { t } = useI18n();
Expand Down
2 changes: 1 addition & 1 deletion src/components/list/ComponentDefinitionsList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</template>

<script setup>
import LibraryList from 'src/components/list/LibraryList';
import LibraryList from 'src/components/list/LibraryList.vue';
import { useRouter } from 'vue-router';
const router = useRouter();
Expand Down
4 changes: 2 additions & 2 deletions src/components/list/LibraryList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@

<script setup>
import { ref, computed } from 'vue';
import ComponentDefinitionGrid from 'src/components/grid/ComponentDefinitionGrid';
import LibraryItem from 'src/components/item/LibraryItem';
import ComponentDefinitionGrid from 'src/components/grid/ComponentDefinitionGrid.vue';
import LibraryItem from 'src/components/item/LibraryItem.vue';
import { useI18n } from 'vue-i18n';
import { isMatching } from 'src/composables/Project';
Expand Down
2 changes: 1 addition & 1 deletion src/components/menu/GitBranchItemMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

<script setup>
import GitBranchActionMenu from 'components/menu/GitBranchActionMenu';
import GitBranchActionMenu from 'components/menu/GitBranchActionMenu.vue';
const emit = defineEmits(['action:done']);
Expand Down
6 changes: 3 additions & 3 deletions src/components/menu/GitBranchMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@
</template>

<script setup>
import GitBranchItemMenu from 'components/menu/GitBranchItemMenu';
import GitBranchHeaderMenu from 'components/menu/GitBranchHeaderMenu';
import GitBranchItemMenu from 'components/menu/GitBranchItemMenu.vue';
import GitBranchHeaderMenu from 'components/menu/GitBranchHeaderMenu.vue';
import {
computed,
ref,
Expand All @@ -157,7 +157,7 @@ import {
gitFetch,
getProjectById,
} from 'src/composables/Project';
import GitBranchExpandListMenu from 'components/menu/GitBranchExpandListMenu';
import GitBranchExpandListMenu from 'components/menu/GitBranchExpandListMenu.vue';
import DialogEvent from 'src/composables/events/DialogEvent';
import { searchText } from 'src/composables/Filter';
Expand Down
4 changes: 2 additions & 2 deletions src/layouts/HomeLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@

<script setup>
import DefaultNavigationBar from 'components/DefaultNavigationBar.vue';
import HomeDrawer from 'src/components/drawer/HomeDrawer';
import HomePage from 'src/pages/HomePage';
import HomeDrawer from 'src/components/drawer/HomeDrawer.vue';
import HomePage from 'src/pages/HomePage.vue';
import {
ref,
} from 'vue';
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/LoginLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<script setup>
import DefaultNavigationBar from 'components/DefaultNavigationBar.vue';
import LoginPage from 'src/pages/LoginPage';
import LoginPage from 'src/pages/LoginPage.vue';
import {
ref,
} from 'vue';
Expand Down
Loading

0 comments on commit 66c14f8

Please sign in to comment.