diff --git a/packages/nc-gui-v2/components/index.ts b/packages/nc-gui-v2/components/index.ts index 263f8ba8c0..173421e011 100644 --- a/packages/nc-gui-v2/components/index.ts +++ b/packages/nc-gui-v2/components/index.ts @@ -1,6 +1,12 @@ -import type { ColumnType, TableType } from 'nocodb-sdk' +import type { ColumnType, PaginatedType, TableType } from 'nocodb-sdk' import type { InjectionKey, Ref } from 'vue' +import type useViewData from '~/composables/useViewData' export const ColumnInj: InjectionKey = Symbol('column-injection') export const MetaInj: InjectionKey> = Symbol('meta-injection') export const TabMetaInj: InjectionKey = Symbol('tab-meta-injection') +export const PaginationDataInj: InjectionKey> = Symbol('pagination-data-injection') +export const ChangePageInj: InjectionKey['changePage']> = Symbol('pagination-data-injection') +export const IsFormInj: InjectionKey = Symbol('is-form-injection') +export const IsGridInj: InjectionKey = Symbol('is-grid-injection') +export const ValueInj: InjectionKey = Symbol('value-injection') diff --git a/packages/nc-gui-v2/components/smartsheet/Grid.vue b/packages/nc-gui-v2/components/smartsheet/Grid.vue index cdd5ae63f4..919f3ffebd 100644 --- a/packages/nc-gui-v2/components/smartsheet/Grid.vue +++ b/packages/nc-gui-v2/components/smartsheet/Grid.vue @@ -1,10 +1,7 @@ diff --git a/packages/nc-gui-v2/components/smartsheet/Pagination.vue b/packages/nc-gui-v2/components/smartsheet/Pagination.vue index 3aa94e6d6c..974cc167b9 100644 --- a/packages/nc-gui-v2/components/smartsheet/Pagination.vue +++ b/packages/nc-gui-v2/components/smartsheet/Pagination.vue @@ -1,17 +1,22 @@