@ -25,6 +25,8 @@ const { isDataSourceLimitReached } = storeToRefs(basesStore)
const baseStore = useBase ( )
const baseStore = useBase ( )
const { base } = storeToRefs ( baseStore )
const { base } = storeToRefs ( baseStore )
const { isUIAllowed } = useRoles ( )
const { projectPageTab } = storeToRefs ( useConfigStore ( ) )
const { projectPageTab } = storeToRefs ( useConfigStore ( ) )
const { refreshCommandPalette } = useCommandPalette ( )
const { refreshCommandPalette } = useCommandPalette ( )
@ -253,400 +255,239 @@ const isNewBaseModalOpen = computed({
} ,
} ,
} )
} )
const isErdModalOpen = computed ( {
const activeSource = ref < SourceType > ( null )
get : ( ) => {
const openedTab = ref ( 'erd' )
return [ DataSourcesSubTab . ERD ] . includes ( vState . value as any )
} ,
set : ( val ) => {
if ( ! val ) {
vState . value = ''
}
} ,
} )
const isMetaDataModal = computed ( {
get : ( ) => {
return [ DataSourcesSubTab . Metadata ] . includes ( vState . value as any )
} ,
set : ( val ) => {
if ( ! val ) {
vState . value = ''
}
} ,
} )
const isUIAclModalOpen = computed ( {
get : ( ) => {
return [ DataSourcesSubTab . UIAcl ] . includes ( vState . value as any )
} ,
set : ( val ) => {
if ( ! val ) {
vState . value = ''
}
} ,
} )
const isBaseAuditModalOpen = computed ( {
get : ( ) => {
return [ DataSourcesSubTab . Audit ] . includes ( vState . value as any )
} ,
set : ( val ) => {
if ( ! val ) {
vState . value = ''
}
} ,
} )
const isEditBaseModalOpen = computed ( {
get : ( ) => {
return [ DataSourcesSubTab . Edit ] . includes ( vState . value as any )
} ,
set : ( val ) => {
if ( ! val ) {
vState . value = ''
}
} ,
} )
< / script >
< / script >
< template >
< template >
< div class = "flex flex-row w-full h-full nc-data-sources-view" >
< div class = "flex flex-col h-full" >
< div class = "flex flex-col w-full overflow-auto" >
< div class = "px-4 py-2 flex justify-between" >
< div class = "flex flex-row w-full justify-end mt-6.5 mb-2" >
< a -breadcrumb separator = ">" class = "w-full cursor-pointer font-weight-bold" >
< NcButton
< a -breadcrumb -item @ click = "activeSource = null" >
v - if = "!isDataSourceLimitReached"
< a class = "!no-underline" > Data Sources < / a >
size = "large"
< / a - b r e a d c r u m b - i t e m >
class = "z-10 !px-2"
< a -breadcrumb -item v-if ="activeSource" >
type = "primary"
< span class = "capitalize" > { { activeSource . alias || 'Default Source' } } < / span >
@ click = "vState = DataSourcesSubTab.New"
< / a - b r e a d c r u m b - i t e m >
>
< / a - b r e a d c r u m b >
< div class = "flex flex-row items-center w-full gap-x-1" >
< component :is ="iconMap.plus" / >
< NcButton
< div class = "flex" > { { $t ( 'activity.newSource' ) } } < / div >
v - if = "!isDataSourceLimitReached && !activeSource && isUIAllowed('sourceCreate')"
< / div >
size = "large"
< / NcButton >
class = "z-10 !px-2"
< / div >
type = "primary"
< div
@ click = "vState = DataSourcesSubTab.New"
class = "overflow-y-auto nc-scrollbar-md"
: style = " {
maxHeight : 'calc(100vh - 200px)' ,
} "
>
>
< div class = "ds-table-head" >
< div class = "flex flex-row items-center w-full gap-x-1" >
< div class = "ds-table-row" >
< component :is ="iconMap.plus" / >
< div class = "ds-table-col ds-table-enabled cursor-pointer" > { { $t ( 'general.visibility' ) } } < / div >
< div class = "flex" > { { $t ( 'activity.newSource' ) } } < / div >
< div class = "ds-table-col ds-table-name" > { { $t ( 'general.name' ) } } < / div >
< div class = "ds-table-col ds-table-type" > { { $t ( 'general.type' ) } } < / div >
< div class = "ds-table-col ds-table-actions -ml-13" > { { $t ( 'labels.actions' ) } } < / div >
< div class = "ds-table-col ds-table-crud" > < / div >
< / div >
< / div >
< / div >
< div class = "ds-table-body" >
< / NcButton >
< Draggable :list ="sources" item -key = " id " handle = ".ds-table-handle" @end ="moveBase" >
< / div >
< template # header >
< div data -testid = " nc -settings -datasources " class = "flex flex-row w-full nc-data-sources-view flex-grow min-h-0" >
< div v-if ="sources[0]" class="ds-table-row border-gray-200" >
< template v-if ="activeSource" >
< div class = "ds-table-col ds-table-enabled" >
< NcTabs v -model :activeKey ="openedTab" class = "nc-source-tab w-full" >
< div class = "flex items-center gap-1" >
< a -tab -pane key = "erd" >
< div v -if = " sources.length > 2 " class=" ds - table - handle " / >
< template # tab >
< a -tooltip >
< div class = "tab" data -testid = " nc -erd -tab " >
< template # title >
< div > { { $t ( 'title.erdView' ) } } < / div >
< template v-if ="sources[0].enabled" > {{ $ t ( ' activity.hideInUI ' ) }} < / template >
< / div >
< template v-else > {{ $ t ( ' activity.showInUI ' ) }} < / template >
< / template >
< / template >
< div class = "h-full pt-4" >
< a -switch
< LazyDashboardSettingsErd class = "h-full overflow-auto" :source-id ="activeSource.id" :show-all-columns ="false" / >
: checked = "sources[0].enabled ? true : false"
< / div >
class = "cursor-pointer"
< / a - t a b - p a n e >
size = "small"
< a -tab -pane v-if ="sources && activeSource === sources[0]" key="audit" >
@ change = "toggleBase(sources[0], $event)"
< template # tab >
/ >
< div class = "tab" data -testid = " nc -audit -tab " >
< / a - t o o l t i p >
< div > { { $t ( 'title.auditLogs' ) } } < / div >
< / div >
< / div >
< / div >
< / template >
< div class = "ds-table-col ds-table-name font-medium" >
< div class = "p-4 h-full overflow-auto" >
< div class = "flex items-center gap-1" >
< LazyDashboardSettingsBaseAudit :source-id ="activeSource.id" / >
<!-- < GeneralBaseLogo :base-type ="sources[0].type" / > -- >
< / div >
{ { $t ( 'general.default' ) } }
< / a - t a b - p a n e >
< / div >
< a -tab -pane v-if ="!activeSource.is_meta && !activeSource.is_local" key="audit" >
< / div >
< template # tab >
< div class = "tab" data -testid = " nc -connection -tab " >
< div > { { $t ( 'labels.connectionDetails' ) } } < / div >
< / div >
< / template >
< div class = "p-6 mt-4 h-full overflow-auto" >
< LazyDashboardSettingsDataSourcesEditBase
class = "w-600px"
: source - id = "activeSource.id"
@ source - updated = "loadBases(true)"
@ close = "activeSource = null"
/ >
< / div >
< / a - t a b - p a n e >
< div class = "ds-table-col ds-table-type" >
< a -tab -pane key = "acl" >
< div class = "flex items-center gap-1" > - < / div >
< template # tab >
< / div >
< div class = "tab" data -testid = " nc -acl -tab " >
< div > { { $t ( 'labels.uiAcl' ) } } < / div >
< / div >
< / template >
< div class = "ds-table-col ds-table-actions" >
< div class = "pt-4 h-full overflow-auto" >
< div class = "flex items-center gap-2" >
< LazyDashboardSettingsUIAcl :source-id ="activeSource.id" / >
< NcTooltip v-if ="!sources[0].is_meta && !sources[0].is_local" >
< / div >
< template # title >
< / a - t a b - p a n e >
{ { $t ( 'tooltip.metaSync' ) } }
< a -tab -pane v-if ="!activeSource.is_meta && !activeSource.is_local" key="meta-sync" >
< / template >
< template # tab >
< NcButton
< div class = "tab" data -testid = " nc -meta -sync -tab " >
class = "nc-action-btn cursor-pointer outline-0"
< div > { { $t ( 'labels.metaSync' ) } } < / div >
type = "text"
data - testid = "nc-data-sources-view-meta-sync"
size = "small"
@ click = "baseAction(sources[0].id, DataSourcesSubTab.Metadata)"
>
< div class = "flex items-center gap-2 text-gray-600" >
< GeneralIcon icon = "sync" class = "group-hover:text-accent" / >
< / div >
< / NcButton >
< / NcTooltip >
< NcTooltip >
< template # title >
{ { $t ( 'title.relations' ) } }
< / template >
< NcButton
size = "small"
class = "nc-action-btn cursor-pointer outline-0"
type = "text"
data - testid = "nc-data-sources-view-erd"
@ click = "baseAction(sources[0].id, DataSourcesSubTab.ERD)"
>
< div class = "flex items-center gap-2 text-gray-600" >
< GeneralIcon icon = "erd" class = "group-hover:text-accent" / >
< / div >
< / NcButton >
< / NcTooltip >
< NcTooltip >
< template # title >
{ { $t ( 'labels.uiAcl' ) } }
< / template >
< NcButton
size = "small"
class = "nc-action-btn cursor-pointer outline-0"
type = "text"
data - testid = "nc-data-sources-view-ui-acl"
@ click = "baseAction(sources[0].id, DataSourcesSubTab.UIAcl)"
>
< div class = "flex items-center gap-2 text-gray-600" >
< GeneralIcon icon = "acl" class = "group-hover:text-accent" / >
< / div >
< / NcButton >
< / NcTooltip >
< NcTooltip >
< template # title >
{ { $t ( 'title.audit' ) } }
< / template >
< NcButton
size = "small"
class = "nc-action-btn cursor-pointer outline-0"
type = "text"
data - testid = "nc-data-sources-view-audit"
@ click = "baseAction(sources[0].id, DataSourcesSubTab.Audit)"
>
< div class = "flex items-center gap-2 text-gray-600" >
< GeneralIcon icon = "book" class = "group-hover:text-accent" / >
< / div >
< / NcButton >
< / NcTooltip >
< / div >
< / div >
< div class = "ds-table-col ds-table-crud" >
< NcButton
v - if = "!sources[0].is_meta && !sources[0].is_local"
size = "small"
class = "nc-action-btn cursor-pointer outline-0 !w-8 !px-1 !rounded-lg"
type = "text"
@ click = "baseAction(sources[0].id, DataSourcesSubTab.Edit)"
>
< GeneralIcon icon = "edit" class = "text-gray-600" / >
< / NcButton >
< / div >
< / div >
< / div >
< / template >
< / template >
< template # item = "{ element: source, index }" >
< div class = "pt-4 h-full overflow-auto" >
< div v-if ="index !== 0" class="ds-table-row border-gray-200" >
< LazyDashboardSettingsMetadata :source-id ="activeSource.id" @source-synced ="loadBases(true)" / >
< div class = "ds-table-col ds-table-enabled" >
< / div >
< div class = "flex items-center gap-1" >
< / a - t a b - p a n e >
< GeneralIcon v -if = " sources.length > 2 " icon=" dragVertical " small class=" ds - table - handle " / >
< / NcTabs >
< a -tooltip >
< / template >
< template # title >
< div v -else class = "flex flex-col w-full overflow-auto mt-1" >
< template v-if ="source.enabled" > {{ $ t ( ' activity.hideInUI ' ) }} < / template >
< div
< template v-else > {{ $ t ( ' activity.showInUI ' ) }} < / template >
class = "overflow-y-auto nc-scrollbar-md"
< / template >
: style = " {
< a -switch
maxHeight : 'calc(100vh - 200px)' ,
: checked = "source.enabled ? true : false"
} "
class = "cursor-pointer"
>
size = "small"
< div class = "ds-table-head" >
@ change = "toggleBase(source, $event)"
< div class = "ds-table-row" >
/ >
< div class = "ds-table-col ds-table-enabled cursor-pointer" > { { $t ( 'general.visibility' ) } } < / div >
< / a - t o o l t i p >
< div class = "ds-table-col ds-table-name" > { { $t ( 'general.name' ) } } < / div >
< div class = "ds-table-col ds-table-type" > { { $t ( 'general.type' ) } } < / div >
< div class = "ds-table-col ds-table-actions" > { { $t ( 'labels.actions' ) } } < / div >
< / div >
< / div >
< div class = "ds-table-body" >
< Draggable :list ="sources" item -key = " id " handle = ".ds-table-handle" @end ="moveBase" >
< template # header >
< div v-if ="sources[0]" class="ds-table-row border-gray-200 cursor-pointer" @click="activeSource = sources[0]" >
< div class = "ds-table-col ds-table-enabled" >
< div class = "flex items-center gap-1" @ click.stop >
< div v -if = " sources.length > 2 " class=" ds - table - handle " / >
< a -tooltip >
< template # title >
< template v-if ="sources[0].enabled" > {{ $ t ( ' activity.hideInUI ' ) }} < / template >
< template v-else > {{ $ t ( ' activity.showInUI ' ) }} < / template >
< / template >
< a -switch
: checked = "sources[0].enabled ? true : false"
class = "cursor-pointer"
size = "small"
@ change = "toggleBase(sources[0], $event)"
/ >
< / a - t o o l t i p >
< / div >
< / div >
< div class = "ds-table-col ds-table-name font-medium" >
< div class = "flex items-center gap-1" >
<!-- < GeneralBaseLogo :base-type ="sources[0].type" / > -- >
{ { $t ( 'general.default' ) } }
< / div >
< / div >
< / div >
< / div >
< div class = "ds-table-col ds-table-name font-medium w-full" >
< div v-if ="source.is_meta || source.is_local" > - < / div >
< span v -else class = "truncate" >
{ { source . is _meta || source . is _local ? $t ( 'general.base' ) : source . alias } }
< / span >
< / div >
< div class = "ds-table-col ds-table-type" >
< div class = "ds-table-col ds-table-type" >
< div class = "flex items-center gap-2" >
< div class = "flex items-center gap-1" > - < / div >
< GeneralBaseLogo :source-type ="source.type" / >
< / div >
< span class = "text-gray-700 capitalize" > { { source . type } } < / span >
< div class = "ds-table-col ds-table-actions" >
< NcButton
v - if = "!sources[0].is_meta && !sources[0].is_local"
size = "small"
class = "nc-action-btn cursor-pointer outline-0 !w-8 !px-1 !rounded-lg"
type = "text"
@ click . stop = "baseAction(sources[0].id, DataSourcesSubTab.Edit)"
>
< GeneralIcon icon = "edit" class = "text-gray-600" / >
< / NcButton >
< / div >
< / div >
< / div >
< / div >
< / template >
< template # item = "{ element: source, index }" >
< div v-if ="index !== 0" class="ds-table-row border-gray-200 cursor-pointer" @click="activeSource = source" >
< div class = "ds-table-col ds-table-enabled" >
< div class = "flex items-center gap-1" @ click.stop >
< GeneralIcon v -if = " sources.length > 2 " icon=" dragVertical " small class=" ds - table - handle " / >
< a -tooltip >
< template # title >
< template v-if ="source.enabled" > {{ $ t ( ' activity.hideInUI ' ) }} < / template >
< template v-else > {{ $ t ( ' activity.showInUI ' ) }} < / template >
< / template >
< a -switch
: checked = "source.enabled ? true : false"
class = "cursor-pointer"
size = "small"
@ change = "toggleBase(source, $event)"
/ >
< / a - t o o l t i p >
< / div >
< / div >
< div class = "ds-table-col ds-table-name font-medium w-full" >
< div v-if ="source.is_meta || source.is_local" class="h-8 w-1" > - < / div >
< span v -else class = "truncate" >
{ { source . is _meta || source . is _local ? $t ( 'general.base' ) : source . alias } }
< / span >
< / div >
< div class = "ds-table-col ds-table-actions" >
< div class = "ds-table-col ds-table-type" >
< div class = "flex items-center gap-2" >
< div class = "flex items-center gap-2" >
< NcTooltip >
< GeneralBaseLogo :source-type ="source.type" / >
< template # title >
< span class = "text-gray-700 capitalize" > { { source . type } } < / span >
{ { $t ( 'title.relations' ) } }
< / div >
< / template >
< / div >
< NcButton
< div class = "ds-table-col justify-end gap-x-1 ds-table-actions" >
size = "small"
class = "nc-action-btn cursor-pointer outline-0"
type = "text"
data - testid = "nc-data-sources-view-erd"
@ click = "baseAction(source.id, DataSourcesSubTab.ERD)"
>
< div class = "flex items-center gap-2 text-gray-600" >
< GeneralIcon icon = "erd" class = "group-hover:text-accent" / >
< / div >
< / NcButton >
< / NcTooltip >
< NcTooltip >
< template # title >
{ { $t ( 'labels.uiAcl' ) } }
< / template >
< NcButton
size = "small"
type = "text"
class = "nc-action-btn cursor-pointer outline-0"
data - testid = "nc-data-sources-view-ui-acl"
@ click = "baseAction(source.id, DataSourcesSubTab.UIAcl)"
>
< div class = "flex items-center gap-2 text-gray-600" >
< GeneralIcon icon = "acl" class = "group-hover:text-accent" / >
< / div >
< / NcButton >
< / NcTooltip >
< NcTooltip v-if ="!isEeUI" >
< template # title >
{ { $t ( 'title.audit' ) } }
< / template >
< NcButton
size = "small"
class = "nc-action-btn cursor-pointer outline-0"
type = "text"
data - testid = "nc-data-sources-view-audit"
@ click = "baseAction(source.id, DataSourcesSubTab.Audit)"
>
< div class = "flex items-center gap-2 text-gray-600" >
< GeneralIcon icon = "book" class = "group-hover:text-accent" / >
< / div >
< / NcButton >
< / NcTooltip >
< NcTooltip >
< NcTooltip >
< template # title >
< template # title >
{ { $t ( 'tooltip.metaSync ' ) } }
{ { $t ( 'general.remove' ) } }
< / template >
< / template >
< NcButton
< NcButton
v - if = "!source.is_meta && !source.is_local"
v - if = "!source.is_meta && !source.is_local"
size = "small"
size = "small"
class = "nc-action-btn cursor-pointer outline-0 !w-8 !px-1 !rounded-lg"
type = "text"
type = "text"
data - testid = "nc-data-sources-view-meta-sync"
@ click . stop = "openDeleteBase(source)"
class = "nc-action-btn cursor-pointer outline-0"
@ click = "baseAction(source.id, DataSourcesSubTab.Metadata)"
>
>
< div class = "flex items-center gap-2 text-gray-600" >
< GeneralIcon icon = "delete" class = "text-red-500" / >
< GeneralIcon icon = "sync" class = "group-hover:text-accent" / >
< / div >
< / NcButton >
< / NcButton >
< / NcTooltip >
< / NcTooltip >
< / div >
< / div >
< / div >
< / div >
< div class = "ds-table-col ds-table-crud justify-end gap-x-1" >
< / template >
< NcTooltip >
< / Draggable >
< template # title >
< / div >
{ { $t ( 'general.edit' ) } }
< / template >
< NcButton
v - if = "!source.is_meta && !source.is_local"
size = "small"
class = "nc-action-btn cursor-pointer outline-0 !w-8 !px-1 !rounded-lg"
type = "text"
@ click = "baseAction(source.id, DataSourcesSubTab.Edit)"
>
< GeneralIcon icon = "edit" class = "text-gray-600" / >
< / NcButton >
< / NcTooltip >
< NcTooltip >
< template # title >
{ { $t ( 'general.remove' ) } }
< / template >
< NcButton
v - if = "!source.is_meta && !source.is_local"
size = "small"
class = "nc-action-btn cursor-pointer outline-0 !w-8 !px-1 !rounded-lg"
type = "text"
@ click = "openDeleteBase(source)"
>
< GeneralIcon icon = "delete" class = "text-red-500" / >
< / NcButton >
< / NcTooltip >
< / div >
< / div >
< / template >
< / Draggable >
< / div >
< / div >
< LazyDashboardSettingsDataSourcesCreateBase
v - model : open = "isNewBaseModalOpen"
: connection - type = "clientType"
@ source - created = "loadBases(true)"
/ >
< GeneralModal v -model :visible ="isErdModalOpen" size = "large" >
< div class = "h-[80vh]" >
< LazyDashboardSettingsErd :source-id ="activeBaseId" :show-all-columns ="false" / >
< / div >
< / GeneralModal >
< GeneralModal v -model :visible ="isMetaDataModal" size = "medium" >
< div class = "p-6" >
< LazyDashboardSettingsMetadata :source-id ="activeBaseId" @source-synced ="loadBases(true)" / >
< / div >
< / GeneralModal >
< GeneralModal v -model :visible ="isUIAclModalOpen" class = "!w-[60rem]" >
< div class = "p-6" >
< LazyDashboardSettingsUIAcl :source-id ="activeBaseId" / >
< / div >
< / GeneralModal >
< GeneralModal v -model :visible ="isEditBaseModalOpen" closable :mask-closable ="false" size = "medium" >
< div class = "p-6" >
< LazyDashboardSettingsDataSourcesEditBase
: source - id = "activeBaseId"
@ source - updated = "loadBases(true)"
@ close = "isEditBaseModalOpen = false"
/ >
< / div >
< / GeneralModal >
< GeneralModal v -model :visible ="isBaseAuditModalOpen" class = "!w-[70rem]" >
< div class = "p-6" >
< LazyDashboardSettingsBaseAudit :source-id ="activeBaseId" @ close = "isBaseAuditModalOpen = false" / >
< / div >
< / div >
< / GeneralModal >
< LazyDashboardSettingsDataSourcesCreateBase
< GeneralDeleteModal
v - model : open = "isNewBaseModalOpen"
v - model : visible = "isDeleteBaseModalOpen"
: connection - type = "clientType"
: entity - name = "$t('general.datasource')"
@ source - created = "loadBases(true)"
: on - delete = "deleteBase"
/ >
: delete - label = "$t('general.remove')"
< GeneralDeleteModal
>
v - model : visible = "isDeleteBaseModalOpen"
< template # entity -preview >
: entity - name = "$t('general.datasource')"
< div v-if ="toBeDeletedBase" class="flex flex-row items-center py-2 px-3.25 bg-gray-50 rounded-lg text-gray-700 mb-4" >
: on - delete = "deleteBase"
< GeneralBaseLogo :source-type ="toBeDeletedBase.type" / >
: delete - label = "$t('general.remove')"
< div
>
class = "capitalize text-ellipsis overflow-hidden select-none w-full pl-3"
< template # entity -preview >
: style = "{ wordBreak: 'keep-all', whiteSpace: 'nowrap', display: 'inline' }"
< div v-if ="toBeDeletedBase" class="flex flex-row items-center py-2 px-3.25 bg-gray-50 rounded-lg text-gray-700 mb-4" >
>
< GeneralBaseLogo :source-type ="toBeDeletedBase.type" / >
{ { toBeDeletedBase . alias } }
< div
class = "capitalize text-ellipsis overflow-hidden select-none w-full pl-3"
: style = "{ wordBreak: 'keep-all', whiteSpace: 'nowrap', display: 'inline' }"
>
{ { toBeDeletedBase . alias } }
< / div >
< / div >
< / div >
< / div >
< / template >
< / template >
< / GeneralDeleteModal >
< / GeneralDeleteModal >
< / div >
< / div >
< / div >
< / div >
< / div >
< / template >
< / template >
< style >
< style scoped lang = "scss" >
. ds - table - head {
. ds - table - head {
@ apply flex items - center border - 0 text - gray - 500 ;
@ apply flex items - center border - 0 text - gray - 500 ;
}
}
@ -656,7 +497,7 @@ const isEditBaseModalOpen = computed({
}
}
. ds - table - row {
. ds - table - row {
@ apply grid grid - cols - 20 border - b border - gray - 100 w - full h - full ;
@ apply grid grid - cols - 18 border - b border - gray - 100 w - full h - full ;
}
}
. ds - table - col {
. ds - table - col {
@ -676,11 +517,7 @@ const isEditBaseModalOpen = computed({
}
}
. ds - table - actions {
. ds - table - actions {
@ apply col - span - 5 flex w - full justify - end ;
@ apply col - span - 5 flex w - full justify - center ;
}
. ds - table - crud {
@ apply col - span - 2 ;
}
}
. ds - table - col : last - child {
. ds - table - col : last - child {
@ -690,4 +527,15 @@ const isEditBaseModalOpen = computed({
. ds - table - handle {
. ds - table - handle {
@ apply cursor - pointer justify - self - start mr - 2 w - [ 16 px ] ;
@ apply cursor - pointer justify - self - start mr - 2 w - [ 16 px ] ;
}
}
. ds - table - body . ds - table - row : hover {
@ apply bg - gray - 50 / 60 ;
}
: deep ( . ant - tabs - content ) ,
: deep ( . ant - tabs ) {
@ apply ! h - full ;
}
: deep ( . ant - tabs - content - holder ) {
@ apply ! min - h - 0 ! flex - shrink ;
}
< / style >
< / style >