From 95797ae54d256157195c20bf5f952ecdb62ff98b Mon Sep 17 00:00:00 2001 From: ctot-nondef Date: Mon, 9 Sep 2024 10:00:32 +0200 Subject: [PATCH] chore: linting/formatting --- src/components/CombinedMapChart.vue | 2 +- src/components/CorpsumDataTable.vue | 14 ++++----- .../DataDisplay/DataDisplayCollocations.vue | 12 ++++---- .../DataDisplayKeywordInContext.vue | 4 +-- .../DataDisplay/DataDisplayMediaSource.vue | 22 +++++++------- .../DataDisplayRegionalFrequencies.vue | 30 +++++++++---------- .../DataDisplay/DataDisplaySourceTable.vue | 2 +- .../DataDisplayWordFormFrequencies.vue | 12 ++++---- .../DataDisplayYearlyFrequencies.vue | 12 ++++---- src/components/Dev.vue | 26 ++++++++-------- src/components/DisplayCard.vue | 2 +- src/components/Facetting/FacettingModal.vue | 6 ++-- .../Facetting/FacettingSelection.vue | 2 +- src/components/KWIC/KWICAttributeSelect.vue | 24 +++++++-------- src/components/Media/MediaStackedBarChart.vue | 2 +- src/components/Search/CorpusSelection.vue | 18 +++++------ src/components/Search/QueryItem.vue | 4 +-- src/components/Search/Search.vue | 10 +++---- src/components/Search/SearchDimensions.vue | 10 +++---- src/components/ui/DataTable.vue | 6 ++-- src/components/ui/badge/index.ts | 2 -- src/components/ui/button/index.ts | 2 -- src/components/ui/checkbox/Checkbox.vue | 2 +- .../DropdownMenuCheckboxItem.vue | 2 +- .../ui/dropdown-menu/DropdownMenuContent.vue | 2 +- .../ui/dropdown-menu/DropdownMenuItem.vue | 2 +- .../dropdown-menu/DropdownMenuRadioItem.vue | 2 +- .../dropdown-menu/DropdownMenuSeparator.vue | 2 +- .../dropdown-menu/DropdownMenuSubContent.vue | 2 +- .../dropdown-menu/DropdownMenuSubTrigger.vue | 2 +- src/components/ui/input/Input.vue | 2 +- src/components/ui/table/TableCaption.vue | 2 +- src/components/ui/table/TableEmpty.vue | 2 +- src/components/ui/table/TableFooter.vue | 2 +- src/components/ui/table/TableHead.vue | 2 +- src/components/ui/table/TableRow.vue | 2 +- src/pages/login.vue | 4 +-- src/plugins/query-client.ts | 6 ++-- src/utils/kwic.ts | 4 ++- 39 files changed, 132 insertions(+), 134 deletions(-) diff --git a/src/components/CombinedMapChart.vue b/src/components/CombinedMapChart.vue index f05c4ea..85c5b76 100644 --- a/src/components/CombinedMapChart.vue +++ b/src/components/CombinedMapChart.vue @@ -36,7 +36,7 @@ const pieInfo: Array = [ const pieInfoWithData: ComputedRef> = computed(() => { return dataByRegion.value.map((regionData) => { const [region] = regionData; - let [_, ...values] = regionData; + const [_, ...values] = regionData; values.pop(); const queryData = props.queries.map((query) => ({ color: query.color, diff --git a/src/components/CorpsumDataTable.vue b/src/components/CorpsumDataTable.vue index 3101d4e..8566c03 100644 --- a/src/components/CorpsumDataTable.vue +++ b/src/components/CorpsumDataTable.vue @@ -43,8 +43,8 @@ const t = useTranslations("Corpsum"); @@ -58,13 +58,13 @@ const t = useTranslations("Corpsum"); :data-state="row.getIsSelected() ? 'selected' : undefined" > - +