From df9fb1f3ee367ec632235f67653d296349b8ac75 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Thu, 11 Aug 2022 01:46:56 +0530 Subject: [PATCH] chore(gui-v2): lint Signed-off-by: Pranav C --- packages/nc-gui-v2/components.d.ts | 1 + .../components/smartsheet/expanded-form/index.vue | 1 - .../components/virtual-cell/BelongsTo.vue | 3 +-- .../nc-gui-v2/components/virtual-cell/HasMany.vue | 3 +-- .../components/virtual-cell/ManyToMany.vue | 3 +-- .../virtual-cell/components/ItemChip.vue | 5 ++--- .../virtual-cell/components/ListChildItems.vue | 3 +-- .../virtual-cell/components/ListItems.vue | 4 +--- .../nc-gui-v2/composables/useExpandedFormStore.ts | 15 ++++++++++----- .../composables/useSmartsheetRowStore.ts | 9 +++------ 10 files changed, 21 insertions(+), 26 deletions(-) diff --git a/packages/nc-gui-v2/components.d.ts b/packages/nc-gui-v2/components.d.ts index 1b40185183..66d7e13522 100644 --- a/packages/nc-gui-v2/components.d.ts +++ b/packages/nc-gui-v2/components.d.ts @@ -90,6 +90,7 @@ declare module '@vue/runtime-core' { MdiCheck: typeof import('~icons/mdi/check')['default'] MdiChevronDown: typeof import('~icons/mdi/chevron-down')['default'] MdiCloseCircle: typeof import('~icons/mdi/close-circle')['default'] + MdiCloseThick: typeof import('~icons/mdi/close-thick')['default'] MdiContentCopy: typeof import('~icons/mdi/content-copy')['default'] MdiContentSave: typeof import('~icons/mdi/content-save')['default'] MdiDatabase: typeof import('~icons/mdi/database')['default'] diff --git a/packages/nc-gui-v2/components/smartsheet/expanded-form/index.vue b/packages/nc-gui-v2/components/smartsheet/expanded-form/index.vue index 07e23bb93c..e9aa0a1782 100644 --- a/packages/nc-gui-v2/components/smartsheet/expanded-form/index.vue +++ b/packages/nc-gui-v2/components/smartsheet/expanded-form/index.vue @@ -17,7 +17,6 @@ interface Props { state?: Record | null meta: TableType loadRow?: boolean - useMetaFields?: boolean } diff --git a/packages/nc-gui-v2/components/virtual-cell/BelongsTo.vue b/packages/nc-gui-v2/components/virtual-cell/BelongsTo.vue index 58dbc63748..90eab444a0 100644 --- a/packages/nc-gui-v2/components/virtual-cell/BelongsTo.vue +++ b/packages/nc-gui-v2/components/virtual-cell/BelongsTo.vue @@ -3,8 +3,7 @@ import type { ColumnType } from 'nocodb-sdk' import type { Ref } from 'vue' import ItemChip from './components/ItemChip.vue' import ListItems from './components/ListItems.vue' -import { useSmartsheetRowStoreOrThrow } from '~/composables/useSmartsheetRowStore' -import { inject, ref, useProvideLTARStore } from '#imports' +import { inject, ref, useProvideLTARStore, useSmartsheetRowStoreOrThrow } from '#imports' import { CellValueInj, ColumnInj, ReloadViewDataHookInj, RowInj } from '~/context' const column = inject(ColumnInj) diff --git a/packages/nc-gui-v2/components/virtual-cell/HasMany.vue b/packages/nc-gui-v2/components/virtual-cell/HasMany.vue index 44e81dfe9a..ae69d0f2e9 100644 --- a/packages/nc-gui-v2/components/virtual-cell/HasMany.vue +++ b/packages/nc-gui-v2/components/virtual-cell/HasMany.vue @@ -4,8 +4,7 @@ import type { Ref } from 'vue' import ItemChip from './components/ItemChip.vue' import ListChildItems from './components/ListChildItems.vue' import ListItems from './components/ListItems.vue' -import { useSmartsheetRowStoreOrThrow } from '~/composables/useSmartsheetRowStore' -import { computed, inject, ref, useProvideLTARStore } from '#imports' +import { computed, inject, ref, useProvideLTARStore, useSmartsheetRowStoreOrThrow } from '#imports' import { CellValueInj, ColumnInj, IsFormInj, ReloadViewDataHookInj, RowInj } from '~/context' const column = inject(ColumnInj)! diff --git a/packages/nc-gui-v2/components/virtual-cell/ManyToMany.vue b/packages/nc-gui-v2/components/virtual-cell/ManyToMany.vue index 74da7c9476..5275a8d3ba 100644 --- a/packages/nc-gui-v2/components/virtual-cell/ManyToMany.vue +++ b/packages/nc-gui-v2/components/virtual-cell/ManyToMany.vue @@ -4,8 +4,7 @@ import type { Ref } from 'vue' import ItemChip from './components/ItemChip.vue' import ListChildItems from './components/ListChildItems.vue' import ListItems from './components/ListItems.vue' -import { useSmartsheetRowStoreOrThrow } from '~/composables/useSmartsheetRowStore' -import { computed, inject, ref, useProvideLTARStore } from '#imports' +import { computed, inject, ref, useProvideLTARStore, useSmartsheetRowStoreOrThrow } from '#imports' import { CellValueInj, ColumnInj, IsFormInj, ReloadViewDataHookInj, RowInj } from '~/context' const column = inject(ColumnInj)! diff --git a/packages/nc-gui-v2/components/virtual-cell/components/ItemChip.vue b/packages/nc-gui-v2/components/virtual-cell/components/ItemChip.vue index b9efafd542..e7f0a5a7f7 100644 --- a/packages/nc-gui-v2/components/virtual-cell/components/ItemChip.vue +++ b/packages/nc-gui-v2/components/virtual-cell/components/ItemChip.vue @@ -1,7 +1,6 @@