Browse Source

fix: lint errors

pull/7298/head
Ramesh Mane 9 months ago
parent
commit
e3e3e7d73e
  1. 2
      packages/nc-gui/components/cell/DatePicker.vue
  2. 2
      packages/nc-gui/components/cell/DateTimePicker.vue
  3. 2
      packages/nc-gui/components/cell/GeoData.vue
  4. 2
      packages/nc-gui/components/cell/MultiSelect.vue
  5. 2
      packages/nc-gui/components/cell/Rating.vue
  6. 2
      packages/nc-gui/components/cell/SingleSelect.vue
  7. 2
      packages/nc-gui/components/cell/TimePicker.vue
  8. 2
      packages/nc-gui/components/cell/User.vue
  9. 2
      packages/nc-gui/components/cell/YearPicker.vue
  10. 2
      packages/nc-gui/components/project/AccessSettings.vue
  11. 2
      packages/nc-gui/components/virtual-cell/Formula.vue
  12. 2
      packages/nc-gui/components/virtual-cell/Links.vue

2
packages/nc-gui/components/cell/DatePicker.vue

@ -7,6 +7,7 @@ import {
ColumnInj, ColumnInj,
EditColumnInj, EditColumnInj,
EditModeInj, EditModeInj,
IsExpandedFormOpenInj,
ReadonlyInj, ReadonlyInj,
computed, computed,
inject, inject,
@ -20,7 +21,6 @@ import {
useI18n, useI18n,
useSelectedCellKeyupListener, useSelectedCellKeyupListener,
watch, watch,
IsExpandedFormOpenInj,
} from '#imports' } from '#imports'
interface Props { interface Props {

2
packages/nc-gui/components/cell/DateTimePicker.vue

@ -6,6 +6,7 @@ import {
CellClickHookInj, CellClickHookInj,
ColumnInj, ColumnInj,
EditColumnInj, EditColumnInj,
IsExpandedFormOpenInj,
ReadonlyInj, ReadonlyInj,
inject, inject,
isDrawerOrModalExist, isDrawerOrModalExist,
@ -14,7 +15,6 @@ import {
useBase, useBase,
useSelectedCellKeyupListener, useSelectedCellKeyupListener,
watch, watch,
IsExpandedFormOpenInj,
} from '#imports' } from '#imports'
interface Props { interface Props {

2
packages/nc-gui/components/cell/GeoData.vue

@ -1,6 +1,6 @@
<script lang="ts" setup> <script lang="ts" setup>
import type { GeoLocationType } from 'nocodb-sdk' import type { GeoLocationType } from 'nocodb-sdk'
import { Modal as AModal, iconMap, latLongToJoinedString, useVModel, IsExpandedFormOpenInj } from '#imports' import { Modal as AModal, IsExpandedFormOpenInj, iconMap, latLongToJoinedString, useVModel } from '#imports'
interface Props { interface Props {
modelValue?: string | null modelValue?: string | null

2
packages/nc-gui/components/cell/MultiSelect.vue

@ -8,6 +8,7 @@ import {
ColumnInj, ColumnInj,
EditColumnInj, EditColumnInj,
EditModeInj, EditModeInj,
IsExpandedFormOpenInj,
IsKanbanInj, IsKanbanInj,
ReadonlyInj, ReadonlyInj,
RowHeightInj, RowHeightInj,
@ -27,7 +28,6 @@ import {
useRoles, useRoles,
useSelectedCellKeyupListener, useSelectedCellKeyupListener,
watch, watch,
IsExpandedFormOpenInj,
} from '#imports' } from '#imports'
import MdiCloseCircle from '~icons/mdi/close-circle' import MdiCloseCircle from '~icons/mdi/close-circle'

2
packages/nc-gui/components/cell/Rating.vue

@ -2,11 +2,11 @@
import { import {
ActiveCellInj, ActiveCellInj,
ColumnInj, ColumnInj,
IsExpandedFormOpenInj,
computed, computed,
inject, inject,
parseProp, parseProp,
useSelectedCellKeyupListener, useSelectedCellKeyupListener,
IsExpandedFormOpenInj,
} from '#imports' } from '#imports'
interface Props { interface Props {

2
packages/nc-gui/components/cell/SingleSelect.vue

@ -8,6 +8,7 @@ import {
ColumnInj, ColumnInj,
EditColumnInj, EditColumnInj,
EditModeInj, EditModeInj,
IsExpandedFormOpenInj,
IsFormInj, IsFormInj,
IsKanbanInj, IsKanbanInj,
ReadonlyInj, ReadonlyInj,
@ -23,7 +24,6 @@ import {
useRoles, useRoles,
useSelectedCellKeyupListener, useSelectedCellKeyupListener,
watch, watch,
IsExpandedFormOpenInj,
} from '#imports' } from '#imports'
interface Props { interface Props {

2
packages/nc-gui/components/cell/TimePicker.vue

@ -3,13 +3,13 @@ import dayjs from 'dayjs'
import { import {
ActiveCellInj, ActiveCellInj,
EditColumnInj, EditColumnInj,
IsExpandedFormOpenInj,
ReadonlyInj, ReadonlyInj,
inject, inject,
onClickOutside, onClickOutside,
useBase, useBase,
useSelectedCellKeyupListener, useSelectedCellKeyupListener,
watch, watch,
IsExpandedFormOpenInj,
} from '#imports' } from '#imports'
interface Props { interface Props {

2
packages/nc-gui/components/cell/User.vue

@ -9,6 +9,7 @@ import {
ColumnInj, ColumnInj,
EditColumnInj, EditColumnInj,
EditModeInj, EditModeInj,
IsExpandedFormOpenInj,
IsKanbanInj, IsKanbanInj,
ReadonlyInj, ReadonlyInj,
RowHeightInj, RowHeightInj,
@ -22,7 +23,6 @@ import {
useRoles, useRoles,
useSelectedCellKeyupListener, useSelectedCellKeyupListener,
watch, watch,
IsExpandedFormOpenInj,
} from '#imports' } from '#imports'
import MdiCloseCircle from '~icons/mdi/close-circle' import MdiCloseCircle from '~icons/mdi/close-circle'

2
packages/nc-gui/components/cell/YearPicker.vue

@ -3,6 +3,7 @@ import dayjs from 'dayjs'
import { import {
ActiveCellInj, ActiveCellInj,
EditColumnInj, EditColumnInj,
IsExpandedFormOpenInj,
ReadonlyInj, ReadonlyInj,
computed, computed,
inject, inject,
@ -10,7 +11,6 @@ import {
ref, ref,
useSelectedCellKeyupListener, useSelectedCellKeyupListener,
watch, watch,
IsExpandedFormOpenInj,
} from '#imports' } from '#imports'
interface Props { interface Props {

2
packages/nc-gui/components/project/AccessSettings.vue

@ -5,8 +5,8 @@ import {
ProjectRoles, ProjectRoles,
WorkspaceRolesToProjectRoles, WorkspaceRolesToProjectRoles,
extractRolesObj, extractRolesObj,
timeAgo,
parseStringDateTime, parseStringDateTime,
timeAgo,
} from 'nocodb-sdk' } from 'nocodb-sdk'
import type { WorkspaceUserRoles } from 'nocodb-sdk' import type { WorkspaceUserRoles } from 'nocodb-sdk'
import { isEeUI, storeToRefs } from '#imports' import { isEeUI, storeToRefs } from '#imports'

2
packages/nc-gui/components/virtual-cell/Formula.vue

@ -5,12 +5,12 @@ import type { Ref } from 'vue'
import { import {
CellValueInj, CellValueInj,
ColumnInj, ColumnInj,
IsExpandedFormOpenInj,
computed, computed,
inject, inject,
renderValue, renderValue,
replaceUrlsWithLink, replaceUrlsWithLink,
useBase, useBase,
IsExpandedFormOpenInj,
} from '#imports' } from '#imports'
// todo: column type doesn't have required property `error` - throws in typecheck // todo: column type doesn't have required property `error` - throws in typecheck

2
packages/nc-gui/components/virtual-cell/Links.vue

@ -7,10 +7,10 @@ import {
ActiveCellInj, ActiveCellInj,
CellValueInj, CellValueInj,
ColumnInj, ColumnInj,
IsExpandedFormOpenInj,
IsUnderLookupInj, IsUnderLookupInj,
inject, inject,
useSelectedCellKeyupListener, useSelectedCellKeyupListener,
IsExpandedFormOpenInj,
} from '#imports' } from '#imports'
const value = inject(CellValueInj, ref(0)) const value = inject(CellValueInj, ref(0))

Loading…
Cancel
Save