Browse Source

fix: lint errors

pull/7298/head
Ramesh Mane 6 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
  13. 2
      packages/nc-gui/pages/forgot-password.vue
  14. 2
      packages/nc-gui/pages/signup/[[token]].vue

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

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

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

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

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

@ -1,6 +1,6 @@
<script lang="ts" setup>
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 {
modelValue?: string | null

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -5,12 +5,12 @@ import type { Ref } from 'vue'
import {
CellValueInj,
ColumnInj,
IsExpandedFormOpenInj,
computed,
inject,
renderValue,
replaceUrlsWithLink,
useBase,
IsExpandedFormOpenInj,
} from '#imports'
// 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,
CellValueInj,
ColumnInj,
IsExpandedFormOpenInj,
IsUnderLookupInj,
inject,
useSelectedCellKeyupListener,
IsExpandedFormOpenInj,
} from '#imports'
const value = inject(CellValueInj, ref(0))

2
packages/nc-gui/pages/forgot-password.vue

@ -29,7 +29,7 @@ const formRules = {
validator: (_: unknown, v: string) => {
return new Promise((resolve, reject) => {
if (!v?.length || validateEmail(v)) return resolve()
reject(new Error(t('msg.error.signUpRules.emailInvalid')))
})
},

2
packages/nc-gui/pages/signup/[[token]].vue

@ -50,7 +50,7 @@ const formRules = {
validator: (_: unknown, v: string) => {
return new Promise((resolve, reject) => {
if (!v?.length || validateEmail(v)) return resolve()
reject(new Error(t('msg.error.signUpRules.emailInvalid')))
})
},

Loading…
Cancel
Save